Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
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