We don't use Netsuite default Sales Order Approval, so in Accounting Preferences our default Sales Order status is Pending Fulfillment. Recently, I was asked about making a customization so that a select few customers sending sales orders via EDI, would have the order status of Pending Approval. Initially, we tried changing the default sales order status, but that created a log jam of all orders needing approval prior to creating waves/pick tickets so that the qtys would be comitted.
I tried creating a workflow to handle the EDI orders (based on the customer account). This event based workflow is using: On Create with the trigger After Record Submit.
This seemed to work fine for creating orders in the UI, but the EDI orders aren't coming through. I'm getting error with description: 'Code=INVALID_ORD_STATUS Order[] cannot be updated as it is partially or fully fulfilled.' However, I didn't see any instance of the workflow in the order notes (Enable logging was unchecked but Keep Instance and History = Always).
I'm a bit stuck here. I was thinking of changing the default sales order status back to Pending Approval and then rather than include the customer accounts using EDI, I can exclude them using this workflow.