ERP User GuideMicrosoft Dynamics AX

Microsoft Dynamics AX

Webshop Parameters

In Microsoft Dynamics AX click: Webshop > Setup > Parameters.

Use the Parameters form to enable logging in Microsoft Dynamics AX, enter the time interval when the product can be updated, enable checking of how long it takes Microsoft Dynamics AX to process the request and return the response, configure language mapping between Microsoft Dynamics AX and the Sana Commerce Framework.

On the Parameters form, you can see the version of the Sana add-on installed inside Microsoft Dynamics AX. On the action pane, click About Sana to see the Sana version.

General

The table below provides the description of the Sana webshop parameters.

Parameters Description
Logging Logging in Microsoft Dynamics AX is used to write XML requests to and responses from Microsoft Dynamics AX Web services in run-time.

By default, logging is disabled as it affects performance. Therefore, it is better to use it only for debugging purposes.

Use the Enable logging checkbox to enable or disable logging. In the Logging output directory field, specify the path to the folder where the log files should be stored. The user who runs Application Object Server (AOS) must have "write" permissions to the folder which is specified in the Logging output directory field.
Include request processing duration When this option is enabled, there will be an extra node in the XML response that shows time in milliseconds of how long it takes to process the request in Microsoft Dynamics AX and return the response. This information can be used by system administrators, developers and other IT specialists who are responsible for the Sana webshop maintenance to investigate performance issues, if there are any, and check whether the problem is in Microsoft Dynamics AX or it is somewhere on the network.
Performance Threshold is used to skip the value of the LastModifedDate field for the updated product in a certain period of time (sec.). This setting can be helpful in a very specific scenario, therefore it is recommended to use it only when using batch jobs for updating products information in batches.

For example, when multiple prices are updated in the prices table for one product, the value of the LastModifiedDate field for this product is updated multiple times. This causes unnecessary database activity and logging.

To prevent this, Update product threshold can be used to update the record only if the previous value of the LastModifiedDate filed is older than the one specified in the Update product threshold (sec.) field.
Regional settings Enter the default culture (language culture name) that should be used for communications between the Sana webshop and Microsoft Dynamics AX. The servers on which the Sana webshop, Microsoft Dynamics AX and Web services are installed can have different region/culture settings. This can lead to the problem, for example with date format. The default culture specified in this field will be used in XML requests and responses regardless of the region/culture settings of the servers.

Languages

Language IDs in Microsoft Dynamics AX do not correspond to the Windows language IDs (Locale IDs (LCID)) which are used in the Sana Commerce framework. Language mapping must be configured to convert the language IDs used in Microsoft Dynamics AX to the Windows language IDs format.

To configure language mapping, the languages that are available in your webshop and related Windows language IDs must be added to the Parameters table in Microsoft Dynamics AX.

Step 1: In Microsoft Dynamics AX click: Webshop > Setup > Parameters > Languages.

Step 2: Add languages which are available in your webshop and related Windows language Ids.

The Sana webshop is available only in the English language by default. Any other language can be added by installing the language pack. For more information, see "Supported Languages".

The list of all Windows language IDs can be found here.

ERP User GuideMicrosoft Dynamics AX