Hi all,
I'm trying to do a CSV import for Sales Orders, but have two problems:
- When I attempt to set Item Options I receive the error "An Unexpected Error Occurred"
- User Event Scripts are not firing on "Create"
ITEM OPTIONS Details:
The Item options are a link to a Custom Record Called "Auto-Ship Terms", if I do a search and return the items for sales orders with this set I see "Auto Ship Terms: Monthly". I have tried internalID, Name, and "Auto-Ship Terms: Monthly". Same error result.
In the CSV file, if I leave this field blank, the import runs successfully, however with the default Item Option selected, not the one I want.
User Event Scripts Details:
Upon successful creation of the Sales Order, the User Event Script associated with Sales Orders is not firing. In the Deployment I have the Event selection as blank, if I use the UI (delete, edit, create), or creation of a new order via the webstore the user event fires perfectly (the very first line is a DEBUG statement in the Execution Log). It just does not fire during a CSV Import.
Does anyone have any pointers or suggestions for me to look at?