User GuidePromotions

Discount Codes

Sana Commerce 9.1
Your connector

Discounts in AX

This chapter contains only AX Connector specific information related to the discount codes configuration. General information about the discount codes configuration can be found here.

If you select the fixed amount type you should enter amount including tax and amount excluding tax per currency. The appropriate amount is used for the discount depending on the customer's settings in Microsoft Dynamics AX:

  • Set Amount incl. tax - when the Prices incl. sales tax option is enabled on the Customer form.
  • Set Amount excl. tax - when the Prices incl. sales tax option is disabled on the Customer form.
Important: if you use discounts and thus allow your customers to enter a discount code in the shopping basket to get a discount, then one more option should be enabled on the products in Microsoft Dynamics AX. When a discount code is entered in the shopping basket and it is valid it will give a discount on the total order amount of the shopping basket.

To correctly apply the discount code to the total order amount and calculate it, in Microsoft Dynamics AX on the product details form you should select the Total discount check box. Select this check box to include the product when the total discount on the sales order is calculated. This option should be enabled for the products if discount codes are used:

The 'Total discount' Option

The discount code is stored in the sales header table and accessible from the sales orders (sales quotations) forms under the E-Commerce tab.
The discount is calculated in the same way as the invoice discount and is added to the basic invoice discount amount. 

User GuidePromotions