Skip to content

How can I get a list of sales orders? #110

Answered by neclimdul
ataylor32 asked this question in Q&A
Discussion options

You must be logged in to vote

There is a "getAll" method but it only supports a small number of types and if I'm reading things correctly sales orders aren't in that. Probably good since always getting them all is the sort of things that would work at launch and fail a month later :)

From here(at the bottom) looks like you'll want to do one of the Transaction search.
https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2021_1/schema/record/salesorder.html

Searches are a little complicated because they can have multiple pages of results and you have to juggle some things but this might give you a starting point

        $tmp = new TransactionSearchBasic();
        $tmp->dateCreated = new SearchDateField();…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jrebs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants