Does anyone know where I can find the list of inte...
# suitescript
y
Does anyone know where I can find the list of internal IDs for the orderstatus field on a sales order? I'm trying to create an SO via SuiteScript, and set the status to "Pending Fulfilment". I have been trying to set it to 'B' thinking that that's the right key, but I keep on seeing "Code: INVALID_KEY_OR_REF Details: Invalid orderstatus reference key B.". Thanks all 🙂
Update for anyone else who comes across this issue: It seems like I cannot: 1. Set the status of an SO to Pending Fulfillment if none of the line items cannot actually be fulfilled (e.g. a service for sale) 2. Set the status of an SO to the same default value that it has under Setup -> Accounting -> Accounting Preferences -> Order Management (tab) -> Default sales order status
j
For future reference:
n
y
Thanks so much guys!! Woah, that's a huge help!
j
hahah @NElliott that’s where I copied the list from 🙂
🤭 1