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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Rest API - choosing the right tables for Cost of Goods Account
Hi,
I am trying to figure out which tables to search on for client Cost of Goods Account that starts with 5xxxx. Would it be in the the rest:
- account table or subsidiary table or Vendor - customer or what?
Also I am using the Transaction table and the transactionline or transactionaccountingline table to search. How can I best join them?
Currently i have sql like = SELECT * FROM transaction t, transactionaccountingline tal, account ac WHERE t.id = tal.transaction and t.trandate = '2/1/2021' and ac.id = tal.account
Is this best?
Thanks Dave
Tagged:
0