Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Joining Invoice to Amortization Schedule
I need to find the Amortization Schedule for Invoices. However when I try to join the TRANSACTIONS.TRANSACTION_ID to AMORTIZATION_SCHEDULE_LINES.JOURNAL_ID for Bill/Invoice Transactions, the join doesn't work.
I was looking at the following Netsuite Tables to figure out the Amortization details:
TRANSACTIONS
TRANSACTION_LINES
AMORTIZATION_SCHEDULE_LINES
Based on the Netsuite ER diagram, the TRANSACTION_ID is a Foreign Key in the AMORTIZATION_SCHEDULE_LINES, and it is called the JOURNAL_ID. See here:
However when I join the two tables on TRANSACTIONS.TRANSACTION_ID=AMORTIZATION_SCHEDULE_LINES.JOURNAL_ID, the join doesn't produce any records for the Transaction of Type Bill.
Tagged:
2