ConfigurationOrder Line Import

Order Line Import

Configure Order Line Import

The order line import functionality uses the Sana Commerce task scheduler. For more information about the task scheduler read this chapter.

The configuration of the order line import is performed in the 'sanaCommerce' configuration section of the backoffice 'web.config' file.

To configure the 'Order line import' task:

  • Open the backoffice 'web.config' file;
  • Locate the 'SanaCommerce' configuration section;
  • Locate the 'tasks' subsection:
<task name="OrderLineImport"
   title="Order lines import"
   type="Sana.Commerce.Tasks.OrderLineImport.OrderLineImportTask, Sana.Commerce.Tasks.OrderExport"
   time="9:00am"
   enabled="false"
   sourceOrderProviderId="Navision2009StandardOrderProvider"
   destinationWebsiteCode="B2xSql"     
   allowManualStart="true"
   sortNumber="7"/>

Check the following configuration nodes and change them if needed:

Configuration nodes Description
time/interval the daily time or period (in seconds) when the 'Order Statuses Import' task should be performed
sourceOrderProviderId the identifier of the order provider, which is selected from the 'Sana Commerce - Modules' configuration section of the 'web.config' file
destinationWebsiteCode   the webshop where the order statuses will be imported to. It is selected from the 'Sana Commerce - Sites' configuration section of the 'web.config' file
allowManualStart   this parameter is 'true' by default and it specifies that the task can be started manually in the backoffice
sortNumber   the sort order in which the scheduled tasks are arranged in the backoffice

All configuration nodes are required parameters and must be filled in.
ConfigurationOrder Line Import