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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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