Search code examples
netsuitesuitescripterp

How we can remove/change the label of Sales Order status from top of the record?


I want to either change the sales order status label or remove it from top of the SO through suite script. But still I m not able to figure out how to do it?


Solution

  • You can set/change this field in script with :

    salesOrderRecord.setValue({fieldId: "orderstatus",value: "your value"});
    

    Value possible for SO :

    _pendingApproval
    _pendingFulfillment
    _cancelled
    _partiallyFulfilled
    _pendingBillingPartFulfilled
    _pendingBilling
    _fullyBilled
    _closed
    _undefined