New orders importing to Magento from Netsuite.
This feature makes possible creating the Orders in Magento from the SalesOrders in Netsuite.
The scenario for the feature is next:
- SalesOrder is Created in NetSuite;
- 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 checks that no order with netsuite_internal_id exists in Magento
- if it exists Order Changes Import executed (another feature)
- MS adds the order to the Queue
- MS works with Queue and starts New Order creation
- MS checks that all SalesOrder Items exists in Magento (by their netsuite_internal_id)
- if any of the SalesOrder Items does not exist in Magento - order is not created
- MS creates and set Payment to the order using Payment Method mapping and Fallback Payment Method setting (Magento 2 connector Import Orders User Guide)
- MS checks that Customer exists in Magento
- if no Customer exists in Magento - the customer will be imported from NetSuite
- if Customer import was unsuccessful - error is launched
- MS set Customers Data to the Order
- MS set Store from the configuration setting (Magento 2 connector Import Orders User Guide)
- MS set Shipping Method using the same scenario as for the update - Importing order changes from NetSuite to Magento - Shipping Method
- MS set Shipping Address using the same scenario as for the update - Importing order changes from NetSuite to Magento - Shipping Address
- MS set Billing Address
- MS set Order Items using the same scenario as for the update - Importing order changes from NetSuite to Magento - Order Items
- MS set Totals using the same scenario as for the update - Importing order changes from NetSuite to Magento - Totals Update
- MS set Items Quantities (core feature)
- MS finish the Order Creation
No comments to display
No comments to display