Sales Order Data

This article contains the description of the Sana specific sales data which is filled in by a customer in the Sana webshop during the checkout process.

While placing an order in the Sana webshop a customer can select delivery method, payment method, enter reference number, delivery date, comment and apply a discount code. All this information is stored in the sales order in Microsoft Dynamics NAV.

To check the Sana specific sales data in Microsoft Dynamics NAV click: Departments > Sales & Marketing > Order Processing > Lists > Sales Orders. Open the sales order details and click Sana Commerce at the top of the window.

The table below provides the description of the Sana Commerce Cloud sales document fields.

Field

Description

General

Webshop ID

The ID of the Sana webshop from which the order was created. 

Date Received

Date when an order was placed.

Time Received

Time when an order was placed.

Sana Order No.

The ID of the order which was created from the Sana webshop when connection between the webshop and Microsoft Dynamics NAV was lost. In this case, when connection is back and the order is sent to Microsoft Dynamics NAV, it will be checked by this ID not to create the order duplicate.

Sana Customer No.

The ID of the customer who created an order from the webshop.

Shop Account E-Mail

Customer's shop account e-mail from Sana Admin.

Admin User Email

The e-mail address of a webstore administrator.

If customers face some difficulties in the checkout process, a customer service representative can impersonate customers and place the order for them. If a customer service representative impersonates a customer and places an order in the Sana webstore, then the e-mail address of the webstore administrator will be recorded into the sales order.

Using this field, a sales manager in Microsoft Dynamics NAV can easily differentiate sales orders placed by the customer and customer service representative.

For more information, see Shop Accounts.

Shipment Method Name

The name of the delivery method selected by a customer in the Sana webshop while placing an order.

The shipping cost is stored in the sales order lines and is registered on the shipping cost account set in the Webshops table.

Authorization Status

The status of the order after authorization. The order can be approved or declined.

For more information, see Shop Account Roles.

Subscription Order

NOTE

Applies to: Sana Commerce Cloud 10.0.96 and higher in Microsoft Dynamics NAV.

The indicator that distinguishes between orders created manually by customers in the Sana webstore and those generated automatically based on subscriptions.

Payment

Payment Method Name

The name of the payment method selected by a customer in the Sana webshop while placing an order.

The payment cost is stored in the sales order lines and is registered on the payment cost account set in the Webshops table.

Payment Method Status

The status of the payment method.

Payment Transaction Id

The unique payment transaction ID. For more information, see Payment Transaction IDs.

Payment Method Type

NOTE

Applies to: Sana Commerce Cloud 10.0.56 and higher in Microsoft Dynamics NAV.

Sana stores the payment method type that was used by the customer to pay for the order, such as Visa, Mastercard, American Express, etc. This payment method type is sent by the payment service provider used to process payments.

NOTE

Currently, only the payment method type sent by Sana Pay payment provider is stored in this field. Other payment providers do not support this feature for now.

Discounts

  • Promotion / Coupon

If a customer applied a discount from Sana Admin, Sana coupon from Microsoft Dynamics NAV or a coupon from LS Retail to the sales order, information about discount will be available in the Promotion / Coupon section. There you will see the name of the discount / coupon, discount type and amount, etc.

  • Webshop Discount

If a webshop discount from Microsoft Dynamics NAV is applied in the shopping cart, information about this discount will be available in the Webshop Discount section. There you will see the webshop discount title, type and amount.

Pickup Location

Pickup Location Id

Some delivery services support pickup locations, for example nShift. If customers place an order in the Sana webstore and select a shipping carrier which supports pickup locations, they can select a pickup location instead of the shipping address. In this case, the ID and address of the selected pickup location will be stored in these fields. 

Pickup Location Address

Reference Number, Comments and Requested Delivery Date

When customers or sales agents place an order in the Sana webshop, they can enter the reference number, comments (limited to 2048 characters) and requested delivery date on the Order overview step. This information is stored in the sales order in Microsoft Dynamics NAV.

You can show and hide these fields on the last checkout step per customer type and make them optional or required. For more information, see Checkout Header Fields.

The requested delivery date is stored in the Requested delivery date field, on the General FastTab. In Microsoft Dynamics NAV this field is optional. Thus, if a customer does not enter the requested delivery date while placing an order in the webshop, the Requested Delivery Date field will be blank in Microsoft Dynamics NAV and in the order confirmation e-mail.

For more information about the requested delivery date, see Delivery Dates.

The reference number is stored in the External Document No. field, on the General FastTab.

To see the comment, at the top of the sales order click: Related Information > Order > Comments.

Resources

When customers place an order in the Sana webshop, it is automatically saved to Microsoft Dynamics NAV. All products purchased by the customer are stored in Microsoft Dynamics NAV as sales order lines of the Item type.

In Microsoft Dynamics NAV a user can also add resources to the sales order. Resources from Microsoft Dynamics NAV are not shown in the Sana webshop. This means that customers cannot buy resources in the Sana webshop online.

But resources added to the sales order directly in Microsoft Dynamics NAV can be shown to the customers in the order history in the Sana webshop. If there are sales orders for certain customers in Microsoft Dynamics NAV with resources, these customers can log in to the webshop with their shop account, go to the order history and check the details of the sales order. The resources will be shown in the sales order as service lines without quantity.

Resources are not supported when a customer edits order or reorders, creates a return order or converts a quote to a sales order with checkout.

You can control visibility of resources in the order details in the Sana webshop. To show or hide resources in the order details, in Microsoft Dynamics NAV click: Webshop > Webshops. Open the Webshop Card of your webshop and on the Optimization FastTab, enable or disable the option Enable Resources on Document depending on whether you want to show or hide resources in the order details.

Unsupported Sales Order Lines

NOTE

Applies to: Sana Commerce Cloud 10.0.70 and higher in Microsoft Dynamics NAV.

In some cases, sales managers need to add extra lines to sales orders in Microsoft Dynamics NAV to charge extra for certain services. They usually add them using a G/L Account type or other types that are not supported by Sana. Some companies use different add-ons to calculate additional fees, such as for delivery services, which also add extra sales order lines. If such lines are not supported by Sana Commerce Cloud, they are ignored, which may result in displaying totals in the sales order details in the webstore that don’t match the sales order lines.

For the cases like these you can use the Mark as Shipment Cost Line option. If the sales order in Microsoft Dynamics NAV contains a line that is not supported by Sana, you can click: ActionsSana Commerce > Mark as Shipment Cost Line and that line will be marked as a shipping cost line that is supported by Sana. In this case, the correct data will be displayed in the sales order details in the Sana webstore.

This only works for sales orders with the Open status and paid on account.