Add-ons and ModulesOrder Line Import

Order Line Import

Sana Commerce 8.1
Your provider

Configure Order Line Import for AX

The order line import functionality uses the Sana Commerce task scheduler.
The configuration of the order line import is performed in the 'sanaCommerce' section of the backoffice 'web.config' file.

To configure the 'Order Line Import' task:

Step 1: Open the backoffice 'web.config' file.

Step 2: Locate the 'sanaCommerce' configuration section.

Step 3: Locate the 'task' subsection:

<task name="OrderLineImport"
      title="Order line import"
      type="Sana.Commerce.Tasks.OrderLineImport.OrderLineImportTask, Sana.Commerce.Tasks.OrderExport"
      time="9:00am"
      enabled="false"
      sourceOrderProviderId="AXOrderProvider"
      destinationWebsiteCode="B2xSql"
      allowManualStart="true"
      sortNumber="4"/>

Step 4: Check the following configuration nodes and change their values if needed:

Configuration nodes Description
time/interval The daily time or period (in seconds) when the 'Order Line Import' task should be performed. For more information please read this chapter.
sourceOrderProviderId The identifier of the Order provider, which is selected from the 'sanaCommerce' configuration section, 'modules' subsection of the 'web.config' file.
destinationWebsiteCode The webshop where the order statuses will be imported to. It is selected from the 'sanaCommerce' configuration section, 'sites' subsection of the 'web.config' file.
allowManualStart The parameter which specifies that the task can be started manually in the backoffice.
Default value: 'true'
sortNumber The sort order in which the scheduled tasks are arranged in the backoffice.


All configuration nodes are required parameters and should be filled in.

Add-ons and ModulesOrder Line Import