Hi, I suspect this is quite a common query, but c...
# suitescript
s
Hi, I suspect this is quite a common query, but couldn't find a post on here. Does anyone know a good way to access the picked and packed quantities at a line level on a sales order from a user event script? (As far as I can see there aren't any accessible fields on the record so is there another way to access them). Many Thanks, Stewart
b
do a search or query on the sales order
s
Thanks @NElliott - looked a bit different to what I was after, but quite interesting. @battk - yes, I was looking at that. There were a couple of snippets in SuiteAnswers but I couldn't get he first one to work. Was wondering if anyone had anything more bulletproof. Cheers.
b
learn how to make the search or query in the ui first
then copy it in script
s
Many thanks - dumb question, how do I run a snippet in the UI?
b
find a page that supports suitescript and use the require function in the console
s
Cheers - appreciate the help🙏