Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
What roles permissions are required to query Vendor Credits via SuiteQL
Hi Team,
What roles permissions are required to get all the Vendor Credits via SuiteQL.
Please note: I am able to fetch 'Vendor Bills' from transaction table.
SELECT transaction.* FROM Transaction INNER JOIN TransactionLine ON (TransactionLine.Transaction = Transaction.ID) where lower(Transaction.Type) IN ( 'vendbill' )
But when I am trying to get 'Vendor Credits', it is not returning any data.
Below is the SQL I am using:
SELECT transaction.* FROM Transaction INNER JOIN TransactionLine ON (TransactionLine.Transaction = Transaction.ID) where lower(Transaction.Type) IN ( 'vendcred' )
I am using the below REST method to fetch the data:
https://xxxxxx.suitetalk.api.netsuite.com/services/rest/query/v1/suiteql