GRANIT Customer Sales Order Interface

The GRANIT Customer Sales Order Interface can be used to receive purchase orders from partner shops via the GRANIT Webshop and create sales orders for regular shipment and drop shipment including tracking links — customizable and automated.

This chapter includes the following topics:

Receiving and Processing GRANIT Purchase Orders

New purchase orders are automatically retrieved and processed using the TSRD BPIA JobQueueRunner job queues (codeunit 5446134), which are automatically created when activating the GRANIT Customer Sales Order Interface.

In case you want to check for incoming purchase orders on your own and create a sales order, open the Container Contents table as follows:

  • Use the quick search (ALT+Q) to find the Integration Modules page.
  • Open the CUSTOMERSALESORDER entry and make sure it is active.
  • Click on Related > Storage > Browse in the menu bar to open the list of XML files available in the configured Azure Blob Storage.
  • Select the purchase order XML file you want to create a sales order from and click on Import Dataset in the menu bar.
  • Go back to the Integration Module page for CUSTOMERSALESORDER, and click on Related > Log in the menu bar to open the record log.
  • Select the line of the record imported beforehand, and open it by clicking on the No. of Unhandled Document Entries value (value must be 1).

Note

If Status = Erroneous for the entry, please check the Error Message column for more information. After fixing the error, the entry can be processed.

  • Click on Show Detailed Data in the menu bar to see the Sales Document page containing all buffered sales information imported from the XML file.

Important

In case the Sell-to Customer No. value in the General FastTab of the Sales Document page is empty, you need to manually map the corresponding customer by clicking on the Ellipsis button (field with three dots).
Please follow the instructions described here to fill the Sell-to Customer No. value using the Customer Matching window before import.

  • If a new customer was created using the using the Customer Matching window, make sure to define the General > Responsibility Center and Shipping > Location Code values on the Customer Card page before proceeding.
  • Back in the Document Log table, select the line and click on Process Entry to create the sales order.
  • When clicking on GRANIT > Tracking Link in the menu bar of the sales order, a new tab opens in your browser showing the tracking information provided by GRANIT.

You have manually created a customer sales order from a GRANIT purchase order.