Importing order changes from NetSuite to Magento - Order Items
This feature is used to synchronizing the NetSuite SalesOrder Items and Magento Order Items. Also, this scenario is used during New Order Creation (New orders importing to Magento from Netsuite.)
The Feature Scenario:
- SalesOrder is Created in NetSuite / Order was Created in Magento and pushed to NetSuite;
- SalesOrder is imported to Magento as Order (New orders importing to Magento from Netsuite.);
- The client changed in NetSuite the qty, price for items (except Tax, Discount Items), adds/remove Items
- Magento System(MS) pulls it from NetSuite via Cron / Admin pulls it via CLI (see CLI command to import order/order changes from NetSuite to Magento);
- MS checking that no Shipping exist in Magento for the Order
- if Shipping exists we do not modify the order
- MS checks that there are Product for Order Items in SalesOrder (mapped by netsuite_iternal_id) that need to be added
- if not exist an error will be thrown and order will not be updated
- MS adds products
- MS update qty for products in the Order
- MS update price/ amount for items in the Order
- MS removes items from the Order and saves it.
No comments to display
No comments to display