ERP User GuideMicrosoft Dynamics NAV

Microsoft Dynamics NAV

Sana Commerce Setup

In Microsoft Dynamics NAV click: Departments > Webshop > Administration > Setup.

Use the Sana Commerce Setup window to enable Sana Commerce functionality and logging in Microsoft Dynamics NAV, enter the Sana Commerce specific links to be used in the role center, set up the number of cached records, and currency ISO codes, also enable checking of how long it takes Microsoft Dynamics NAV to process the request and return the response.

The table below provides the description of the Sana Commerce parameters:

Parameters Description
Enable Sana Commerce Use this option to enable or disable Sana Commerce functionality in Microsoft Dynamics NAV.

When Sana Commerce is disabled in Microsoft Dynamics NAV, all fields and settings on the pages added by Sana Commerce become invisible, and the Sana webshop does not work.

For more information, see "Enable Sana Commerce".
Logging     Sana 9.3.3 and higher

Starting from Sana 9.3.3, XML requests and responses are not written to the folder on the server, but you can open them directly from Microsoft Dynamics NAV.

For more information, see "Logging".

    Sana 9.3.0

Logging is used to write XML requests from Sana to Microsoft Dynamics NAV and responses from Microsoft Dynamics NAV to Sana. Sana communicates with Microsoft Dynamics NAV via Web service. XML requests and responses can be used for troubleshooting and debugging.

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 and 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 the Microsoft Dynamics NAV service must have "write" permissions to the folder which is specified in the Logging Output Directory field.
Specific Links On the Specific Links FastTab, you can enter the URLs to Sana Admin, Sana webshop, Sana help website and Sana YouTube channel. These links will be shown in the role centers for Sana Commerce Manager and Sana Commerce System Administrator.
Cache Here you can enter the number of records that can be cached per table.

Default: 500
Performance When the Include Request Processing Duration 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 NAV and return the response. This information can be used by system administrators, developers and other IT specialists who are responsible for Sana webshop maintenance to investigate performance issues, if there are any, and check whether the problem is in Microsoft Dynamics NAV or it is somewhere on the network.
Currency ISO Codes If you create any custom currency (nonstandard) it should be mapped to the ISO Currency Code. Use the Currency ISO Codes table to map the custom currency to the ISO Currency Code that is internationally recognized.

For more information, see "Currencies".
Roles and Permissions You can use Roles and Permissions to enhance Microsoft Dynamics NAV security by importing Sana Commerce roles, including one for each profile in RoleTailored client.

Sana Role imports the SC-SANA role with a permission set (Sana Commerce User) that gives access to all Sana Commerce objects.

Enhanced Roles add three more roles:

  • SC-MANAGER - e-Commerce Manager
  • SC-USER - All Sana Commerce Users
  • SC-SYSADMIN - e-Commerce System Administrator

Each role has its own set of permissions.

For the e-Commerce Manager and e-Commerce System Administrator you can set up a role center. Sana Commerce Manager and Sana Commerce System Administrator profiles are available, if you import the roles.

When Sana Commerce roles are imported, you can open the Permission Sets table and see permissions of each imported role.

ERP User GuideMicrosoft Dynamics NAV