Error message: Unable to sync order ####### to NetSuite when all the items are removed from the Shopify order.
Reason: The order flow is throwing an error when importing an order edit, where all the line items are removed.
Scenario: When a Shopify customer removes all the items in the Shopify order, the flow doesn’t import the sales order to NetSuite, but the billing is created with no fulfillment in NetSuite. The flow doesn’t create a customer deposit or a cash sale in NetSuite for these orders, and cannot auto-refund or cancel until the order is updated manually.
Resolution or workaround: Manually update the NetSuite sales order and proceed with a refund or cancellation in Shopify.