Sales Documents

Sana Commerce Cloud supports various sales documents in Microsoft Dynamics AX. Some sales documents can be created by customers and sales agents directly from the Sana webstore online and automatically saved to Microsoft Dynamics AX, such as sales quotations, sales orders and return orders. Other sales documents can be created only in Microsoft Dynamics AX.

Customers can log in to the webstore and see any sales documents supported by Sana on the My account page, both created from the Sana webstore and directly in Microsoft Dynamics AX.

In the table below you can see the Sana sales documents and the corresponding sales documents used in Microsoft Dynamics AX.

Sana sales document Microsoft Dynamics AX sales document
Orders Sales orders
Quotes Sales quotations
Invoices Invoices
Return orders Orders which are created as return orders (the negative quantity)
Return receipts Negative packing slips
Credit notes Invoice for return orders
Posted shipments Packing slips

A webstore administrator can show and hide different sales document types in Sana Admin per customer type. To change the visibility of various sales documents in the Sana webstore, open Sana Admin and click: Setup > Sales documents.

In the Sana webstore customers can search different sales documents either by their number or date. Microsoft Dynamics AX can store original sales documents, such as sales quotations and sales orders, and related documents, such as packing slips and invoices created from sales orders.

Customers can search for the original sales documents in Sana webstore by their numbers.

Related sales documents can be found by their numbers and by the original document number.

For example, if the accountant created the invoice from the sales order in Microsoft Dynamics AX (sales order > invoice), then the customer can find this invoice in the Sana webstore by the invoice number and by the order number from which this invoice was created. But if the invoice was created without relation to the sales order but only to the customer, then the customer can find this invoice in the Sana webstore only by the invoice number, but not the order number.

Visibility of Invoiced Sales Orders in the Sana Webstore

NOTE

Applies to: Sana Commerce Cloud 10.0.38 and higher in Microsoft Dynamics AX.

You can show or hide invoiced sales orders in the order history in the Sana webstore. The invoiced orders do not have totals because when the accountant creates an invoice from a sales order in Microsoft Dynamics AX, the totals are transferred from the order to the invoice.

In Microsoft Dynamics AX click: Webshop > Webshops. Select the necessary webshop and at the top of the window, click Webshop optimization. Use the Show invoiced sales orders checkbox.

  • If the Show invoiced sales orders checkbox is enabled, then invoiced sales orders will be shown to a customer in the order history in the Sana webstore.

  • If the Show invoiced sales orders checkbox is disabled, then invoiced sales orders will not be shown to a customer in the order history in the Sana webstore. Only new sales orders will be shown.

Sales Order with a Sales Category

NOTE

Starting from Sana Commerce Cloud 10.0.51 in Microsoft Dynamics AX, it is possible to use sales categories as products in the Sana webshop and create sales documents with them directly from the Sana webshop.

In the previous releases of Sana Commerce Cloud for Microsoft Dynamics AX, which were 10.0.30, 10.0.38, and 10.0.43, you could only create a sales document with a sales category manually in Microsoft Dynamics AX. A sales category could not be used as a product in the Sana webshop. When a sales document with a sales category was created in Microsoft Dynamics AX, this sales document was shown in the sales history of a customer in the Sana webshop.

Category hierarchies are primarily used for classifying products, vendors, transactions and other data for reporting and analysis. Categories are created to suit the business needs of the company. There are four main category hierarchy types that can be created in Microsoft Dynamics AX: the procurement category hierarchy, sales category hierarchy, commodity code hierarchy, and derived financial hierarchy. Each category hierarchy type serves different purposes.

For more information, refer to the official Microsoft Dynamics AX Guide: About category hierarchies.

Some companies sell different services but not physical products, for example, software licenses and hosting services, insurance, beauty and hairdressing services, security services, repair services, etc. You can use sales categories in Microsoft Dynamics AX for these kinds of non-inventory products. This is the standard Microsoft Dynamics AX functionality.

Sales categories can be shown in the Sana webshop as regular products. Customers can add such sales categories to the shopping cart and create orders with them.

NOTE

Starting from Sana Commerce Cloud 10.0.63 in Microsoft Dynamics AX, if you need to show sales categories as products in the Sana webshop, you can enable them in Microsoft Dynamics AX.

In Microsoft Dynamics AX click: Webshop > Webshops. Open the necessary webshop and click Webshop optimization at the top of the window. Select the Enable categories as products checkbox.

To create a category hierarchy with sales category hierarchy type, in Microsoft Dynamics AX click: Product information management > Setup > Categories > Category hierarchies. At the top of the window, click Category hierarchy. Then, enter the name and description of a category hierarchy. Provide more details about a category hierarchy. Besides name and description, you can also specify the price and set the visibility of a category hierarchy.

Once a category hierarchy is created, you should associate it with the sales category hierarchy type. If you use a sales category hierarchy, note that only one active sales category hierarchy can be defined for an organization.

When a sales category is ready, you need to start the Product import scheduled task in Sana Admin. In the Sana webshop a sales category is shown as a regular product. A customer can see its name, description, price and order it. Besides, a sales category is also shown in the order history. A customer can create other sales documents with sales categories in the Sana webshop.

When a customer creates an order with a sales category in the Sana webshop, it will be saved to Microsoft Dynamics AX. If you open this order in Microsoft Dynamics AX, a sales category will be shown in the order lines, not a product.