hey all - anyone cancelled sales order using scri...
# suitescript
k
hey all - anyone cancelled sales order using script
e
Typically mark all lines as Closed
k
didn't work @erictgrubaugh
I closed all line and whole order shows as closed rather cancelled
e
Yep, that's been the only solution I know for as long as I've been in NetSuite. I'm not aware of a way to specifically cancel a Sales Order via scripting. Doesn't mean it's not out there, I just don't know about it, and I have only ever seen people recommend closing all lines
20122020
b
usual answer is no
in the unusual case that you want to cancel the sales order clientside, then you can do the equivalent of clicking the cancel button in javascript
the safest option is selecting the button and then clicking it
the less safe option is to just visit the url that netsuite uses to cancel sales orders with the correct parameters