ERP User GuideMicrosoft Dynamics AX

Microsoft Dynamics AX

Sana Commerce 9.3
Your connector

Sales Agreements



 NOTE

In Microsoft Dynamics AX versions earlier than 2012, sales agreements were referred to as blanket sales orders.

You cannot use sales agreements together with the Microsoft Dynamics AX Retail discounts. If you enable retail discounts for your Sana webshop, sales agreements will not be available.

A sales agreement is a contract that commits the customer to buy products in a specific quantity or for a specific amount over time, in exchange for special prices or special discounts.

A sales agreement could be used, for example, if a customer places an order of 1000 units of a product, and he or she wants the products to be delivered in 250 units every week over the next month.

Customers can use sales agreements created in Microsoft Dynamics AX in the Sana webshop. Sales agreements can be used in Sana only by B2B customers and sales agents.

On the Sales agreements page, a customer can see all sales agreements available to him or her and create an order based on the agreements that the customer has with the merchant.

A customer can see all the details of the available sales agreements by clicking View details.

This information is taken from the sales agreements in Microsoft Dynamics AX.

 NOTE

The prices and discounts of the sales agreement override the prices and discounts that are stated in any trade agreements that exist.

To allow your customers to create sales orders based on the sales agreements available in Microsoft Dynamics AX, you need to enable the option Sales agreements in Sana Admin: Setup > Ordering & checkout > Ordering.

For more information about how to use sales agreements in the Sana webshop, see "Sales Agreements".

Sales agreement limitations

Here are some limitations that you might need to know if you are going to use sales agreements.

  1. Sales agreements work with the Default order processing strategy only and are not available if you use one of the following strategies:
    • Optimize for fast ordering
    • Optimize for large orders
  2. B2B customers cannot edit sales orders created using sales agreements.
  3. Sales agreements are not supported for quotes.
  4. Sales agreements are not available when Sana is in the maintenance mode.

Create a sales agreement

In Microsoft Dynamics AX click: Accounts receivable > Common > Sales orders > Sales agreements.

When you create a sales agreement, it is necessary to:

  1. Select a Customer account on the General FastTab in the header view with whom you have sales agreements and to whom the products will be shipped. When you enter the customer account, Microsoft Dynamics AX will retrieve information about this customer from the customer form.
  2. In the Default commitment field, select the type of commitment that you and the customer agree on for the sales agreement. The commitment type indicates whether the customer agrees to buy a specific quantity of products or products for a specific amount.
  3. In the Sales agreement lines, create separate lines for each sales agreement you have with your customer (shipment). For instance, if your customer wants 1000 units of a product split out equally between four weeks, you would enter four separate lines of 250 units each.
  4. In the Line details, select or leave the Max is enforced checkbox unselected for each sales agreement line. If this checkbox is selected, then when all agreements stated in the sales agreement lines are completely fulfilled by the customer (all products are shipped), the sales agreement will be closed, and the customer will not be able to create another order based on the sales agreement. If this checkbox is not selected, then even if all agreements stated in the sales agreement lines are completely fulfilled, a customer can still use the sales agreement and create orders using it.

Sales agreement commitment types:

  • Product quantity commitment - The customer agrees to buy a specific quantity of products. The lines that use this commitment type are defined by an item number, quantity and unit that were agreed on. The Amount field is not available.
  • Product value commitment - The customer agrees to buy products for a specific amount. The lines that use this commitment type are defined by an item number and the amount that was agreed on. The Quantity and Unit fields are not available.
  • Product category value commitment - The customer agrees to buy for a specific amount and from a specific sales category. The lines that use this commitment type are defined by a sales category in the hierarchy and an amount. The Quantity and Unit fields are not available.
  • Value commitment - The customer agrees to buy for a specific amount and from a sales category hierarchy. The lines that use this commitment type are defined by the top level of sales categories in the hierarchy and an amount. The Quantity and Unit fields are not available.

You can fill in all other fields of the sales agreement the way you need. For example, you can:

  • Select the Delivery address. It will be used as a default delivery address of a customer. It will be shown in the header of a sales agreement in the Sana webshop. A customer will be able to change it while placing an order based on the sales agreement.
  • Select the Invoice account on the General FastTab and enter payment and delivery information on the Terms FastTab.

When a customer creates a sales order based on the sales agreements, it will contain all the lines from the sales agreement in Microsoft Dynamics AX. There is a link between the sales order and the sales agreement from which it is created.

When the sales order is posted as shipped and/or invoiced in Microsoft Dynamics AX, the remaining, released, delivered, invoiced quantity or amount will be updated in the sales agreement line details, on the Fulfillment tab. Thus, the customer can always see the up to date information of the sales agreement in the Sana webshop.

For more information about how to set up sales agreements, refer to the official Microsoft Dynamics AX Guide: Sales agreements.

Use sales price for sales agreements without price

 NOTE

Applies to: Sana 9.3.3

Different companies set up sales agreements in Microsoft Dynamics AX in different ways. Some companies need to create sales agreement lines for a certain number of products which must be delivered for free. Therefore, they enter 0 price in the sales agreement line. Other companies don't specify a sales agreement price and need to sell a certain number of products but at a price set in the trade agreement instead.

To meet the needs of such customers, there is an extra option in the webshop settings, on the Product information management tab.

If a customer does not set price for a sales agreement and he or she needs to sell a certain number of products at a sales price set in the trade agreement, then the Use price in zero price sales agreements checkbox must be selected.

ERP User GuideMicrosoft Dynamics AX