A script is created in Netsuite for the creation of item fulfillment, Consolidated Fulfillment, and the CSV file from the Sales Order, upon satisfying the following conditions.
- Status = Pending Fulfillment
- Auto Consolidated Fulfill = True
- Is Consignment Loc = False
The shipping country of the sales order is added to the CSV files instead of the Subsidiary country.
But the CSV files should be added to the folder based on the subsidiary instead of a shipping country.