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 🙂