Pulling new orders from Magento into NAV depends on an order status per payment method, and you need to map your shipping methods/service.
Generally the ‘pay by invoice’ type of payment methods will only get to the very first order status named ‘pending’, and at that point you already want to pull them into your ERP system. But with the ‘pay in advance’ or ‘direct transfer’ kind of payment methods, you first want your customer to go from status pending to payment processing to payment authorized or something similar. In other words, in that case, you don’t want to import any orders which weren’t paid for.
Go to NAVcommerce > Administration > Sales > Payment Methods. Here you can configure settings per payment method. The status code you provide in the column New Order Status Code, will be the status code that is used to import those orders in to NAV.
The most common status for ‘pay by invoice’ payment methods is ‘pending’. The most common one for ‘direct transfer’ methods is ‘processing’.
Next step is to go to NAVcommerce > Administration > Sales > Shipping Methods. Here you have to tell NAV which Magento Shipment Method maps to which NAV Shipment Method, Agent and Service. You also have to provide a G/L Account for the shipping cost.
Last step in this process is to create a new order status in Magento called ‘nav_processing’, and go to NAVcommerce > Administration > Setup. Under Order Processing fill in the Order Processed Status Code ‘nav_processing’. This is the code NAV will use to tell Magento ‘i’m now taking care of this order’.
Most common setup. Create new order status (code: nav_processing, label: Processing ERP Back Office) and assign it to state ‘Pending’.
For more help on creating Magento order statuses: https://www.mageplaza.com/kb/how-to-create-custom-order-status-magento-2.html
When both payment methods and shipment methods have been configured you can go to NAVcommerce > Sales > Sales List, and click on ‘Get New Orders’ to import orders according to your setup. Of course, later on, in a production environment you can automate this setup by scheduling code unit 11260683 (NC New Order Mgt.). This will automatically import new orders based on your schedule.