Setting up GRANIT Interfaces
The GRANIT Integration allows users to integrate the GRANIT webshop into Microsoft Dynamics 365 Business Central to synchronize and check data such as item catalogs, prices and item availability.
This chapter covers the first setup of the GRANIT Integration after successful installation.
This chapter includes the following topics:
User Setup for GRANIT
The user setup for the GRANIT Integration is the same as the user setup in Microsoft Dynamics 365 Business Central.
For a thorough description of the complete user setup, click
here.
- Use the quick search (ALT+Q) to find the User Setup page where the following fields have been added for the GRANIT Integration:
| Field | Description |
|---|---|
| Fricke Customer No. | Please enter your Fricke customer number here. The customer number entered will be used as a default value in purchase orders, however it can be changed manually. |
| GRANIT Webshop Password | Please enter the password the user uses to log into the GRANIT webshop. Said Password has been sent to you by Fricke. |
| GRANIT Webshop User | Please enter the user name of the user to be used to log into the GRANIT webshop. |
- Fill in the fields as required.
- Your entries will be saved automatically.
You have successfully completed the user setup for the GRANIT Interface.
Setting up GRANIT Interfaces
After the successful installation, the separate interfaces need to be set up.
To set up an interface, please proceed as follows:
- Use the quick search (ALT+Q) to find the Interface List page, and click on the interface you want to set up.
- The corresponding Interface Card is shown.
- The type of interface is shown in the General FastTab.
- Optional Enter a clear description of the interface into the Description field.
- In the General FastTab:
- Activate the Interface Log toggle switch to keep a record of all interface activities via the Log button in the menu bar.
Tip
If needed, enable automatic clearing of lines on the Interface Log page after a specific time by entering a value in the Delete Log Entries After field.
Example: 30D = all log entries older than 30 days are automatically deleted. Information about entering a time frame can be found here.
- Select the authorization type in the Authorization Type field under the Authorization FastTab.
- Select the authorization code in the Authorization Code field.
- The fields in the Parameters and other FastTabs are described separately for the individual interfaces. Please make sure to finalize the following setups before proceeding:
- After successful setup, click on Activate Interface in the menu bar.
- Your entries will be saved automatically.
You have successfully set up the interface.
Setting up GRANIT Price List Parameters
You can set up the following parameters in the Parameters FastTab on the Interface Card of the GRANIT Price List Interface.
Tip
Required fields are displayed in bold, optional fields in italic.
| Parameter | Description |
|---|---|
| AZURE_CONTAINER_NAME | Enter the container name of the selected Azure Blob Storage account. |
| AZURE_SHAREDACCESSKEY | Enter the shared access key of the selected Azure Blob Storage account. |
| AZURE_STORAGE_ACCOUNT | Enter the Azure Blob Storage Account to be used to download GRANIT price files. |
| GRANIT_PriceList_Catalog | Enter the code of the catalog to be used in this interface. |
| GRANIT_Pricelist_CatalogInformationImport | Select which additional catalog information to add to items as an attribute. |
| GRANIT_Pricelist_CatalogNo | Enter the catalog number you want to add to items as an attribute. |
| GRANIT_Pricelist_CatalogPage | Enter the catalog page you want to add to items as an attribute. |
| GRANIT_PriceList_FileFilter | Enter the file filter to filter GRANIT price files from the Azure Blob Storage for automatic processing. |
| GRANIT_Pricelist_Localisation | Select the language code used for the GRANIT Webshop. |
| GRANIT_Pricelist_SpecialCatalog | Enter the GRANIT Special Catalog to be used for this interface. |
| GRANIT_Pricelist_Webshop_URL | Enter the URL of the GRANIT webshop here. |
- Fill out the Value field of each parameter.
- Your entries will be saved automatically.
You have successfully set up the parameters for the interface. Please proceed with the next step in the Setting up GRANIT Interfaces section to activate it.
Setting up GRANIT Price & Availability Parameters
You can set up the following parameters in the Parameters FastTab on the Interface Card of the GRANIT Price & Availability Interface.
Tip
Required fields are displayed in bold, optional fields in italic.
| Parameter | Description |
|---|---|
| GRANIT_CatalogLabel | Enter the code of the catalog to be used in this interface. |
| Localisation | Select the language code used for the GRANIT Webshop. |
| Web-Service URL | Enter the URL to be used for the Price & Availability Check. |
| Web-Service Version | Enter the version of the web service here. |
- Fill out the Value field of each parameter.
- Your entries will be saved automatically.
You have successfully set up the parameters for the interface. Please proceed with the next step in the Setting up GRANIT Interfaces section to activate it.
Setting up GRANIT Smart Orders Parameters
You can set up the following parameters in the Parameters FastTab on the Interface Card of the GRANIT Smart Orders Interface.
Tip
Required fields are displayed in bold, optional fields in italic.
| Parameter | Description |
|---|---|
| GRANIT_SmartOrders_APIKey | Enter the API key of the Fricke HTTP server to be used for uploading orders. |
| GRANIT_SmartOrders_HTTPHost | Enter the HOST URL of the Fricke HTTP server to be used for uploading orders. |
| GRANIT_SmartOrders_Localisation | Select the language code used for the Smart Orders Endpoint. |
| GRANIT_SmartOrders_TestProd | Select if the directory of the Fricke HTTP server is a test or a productive server. |
| GRANIT_SmartOrders_UploadDirectory | Enter the directory of the Fricke HTTP server to be used for uploading orders. |
| GRANIT_SmartOrders_Vendor | Enter the vendor to use in purchase orders at GRANIT. |
- Fill out the Value field of each parameter.
- Your entries will be saved automatically.
You have successfully set up the parameters for the interface. Please proceed with the next step in the Setting up GRANIT Interfaces section to activate it.
Setting up GRANIT OCI Parameters
You can set up the following parameters in the Parameters FastTab on the Interface Card of the GRANIT OCI Interface.
Tip
Required fields are displayed in bold, optional fields in italic.
| Parameter | Description |
|---|---|
| GRANIT_OCI_APIURL | Enter the API URL for creating price lines. |
| GRANIT_OCI_HookURL | Enter the HOOK URL for transferring the shopping cart from the webshop. |
| GRANIT_OCI_Localisation | Select the language code used for the GRANIT Webshop. |
| GRANIT_OCI_Vendor | Enter the vendor to use in purchase orders at GRANIT. |
| GRANIT_OCI_WebshopURL | Enter the URL of the OCI Webshop. |
- Fill out the Value field of each parameter.
- Your entries will be saved automatically.
You have successfully set up the parameters for the interface. Please proceed with the next step in the Setting up GRANIT Interfaces section to activate it.
Setting up GRANIT Customer Sales Order Parameters
You can set up the Customer Sales Order Interface (Partnershop) as follows:
Customer Sales Order Interface Setup
- Open the Interface List page in Microsoft Dynamics 365 Business Central and select the GRANIT Customer Sales Order Interface entry.
- Make sure that the Interface Log toggle switch is activated in the General FastTab.
- Skip the Parameters FastTab as there are no values to set up.
- In the Mapping Setup FastTab, click on the TSRD BPIA Data Mapping entry.
- The Data Mappings table is opened. Please add the corresponding mappings for the GRANIT XML files as per the following table, so that the purchase order file can be processed:
| Column | Description |
|---|---|
| External Code | Enter the XML codes used by GRANIT. At least the following basic values must be created and fully mapped: • RECHNUNG• STK |
| Mapping Table ID | Enter the ID of the relevant table for correct data mapping. For the basic values, the following mapping IDs are valid as of May 2026: • RECHNUNG (invoice) = 289 (Payment Method)• STK (piece) = 204 (Unit of Measure) |
| Mapping Table Caption | reference Shows the name of the relevant mapping table defined in the Mapping Table ID column. |
| Mapping Code | Select the unit to map the corresponding GRANIT value with the value from your company setup. |
| Description | optional Enter a description for your information or reference. |
- Your entries will be saved automatically.
- Close the Data Mappings table.
- If the Finalized checkbox is not yet selected, click on the Finalize Setup button in the menu bar of the Mapping Setup FastTab. The color of the TSRD BPIA Data Mapping entry must be green.
- Proceed with the Business Partner Setup.
Business Partner Setup
It is necessary to map the Microsoft Dynamics 365 Business Central vendor to the actual GRANIT company, or multiple vendors to their corresponding GRANIT companies, in a multi-vendor environment. To set up business partners, please proceed as follows:
- Use the quick search (ALT+Q) to find the Business Partners page.
- Open the GRANIT Integration App entry.
- In the menu bar of the Business Partner page, click on the Relations button.
- In the Business Partner Relations table, proceed as follows:
- In the Relation Type column, select Vendor.
- In the Relation No. column, select the vendor number for the GRANIT business partner.
- The Description column is automatically filled and cannot be changed.
- Repeat these steps for all GRANIT business partners, if applicable.
- Close the Business Partner Relations table.
- Proceed with the Integration Module Setup.
Integration Module Setup
Next, the integration module must be set up for the GRANIT Integration App entry. Please proceed as follows:
- Select the entry and, in the menu bar of the Business Partner page, click on the Integration Modules button.
- Open the CUSTOMERSALESORDER entry.
- On the Integration Module page, proceed as follows:
- In the Interface FastTab, select the following values:
- Interface Type =
GRANIT Customer Sales Order - Storage Type =
Azure Blob Storage
- Interface Type =
- In the Parameters FastTab, enter the following information in the Value field to prepare the interface:
Tip
Required fields are displayed in bold, optional fields in italic.
| Parameter | Description |
|---|---|
| TrackingLinkURL | Enter the GRANIT Webshop base URL for your region. Default value: www.granit-parts.comUsers from Switzerland should enter www.granit-parts.ch as dedicated Webshop URL. |
| AuthType | Select the authentication type for authenticating against the Azure Blob Storage account. Default value: Key |
| AzureStorageAccount | Enter the name of the Azure Blob Storage used for file retrieval. This information is available from your TRASER Software GmbH representative. |
| SharedAccessAuthValue | Enter the name of the Azure Blob Storage used for file retrieval. This information is available from your TRASER Software GmbH representative. |
| StorageContainerName | Enter the name of the Azure Blob Storage container used for file retrieval. This information is available from your TRASER Software GmbH representative. |
| StoragePrefix | Enter the file prefix to filter specific order confirmation records in the the Azure Blob Storage. |
| CatalogIdentifier | Select the catalog set up for your GRANIT catalog items. New (catalog) items will automatically be created if no matching (catalog) item is yet available according to the ItemHandling parameter setup. |
| DropShipmentPostProcessing | Select the drop shipment post-processing action. Possible values: • empty = no drop shipment • Create Drop Shipment Order = drop shipment order is automatically created only; no posting occurs. • Create and Ship Drop Shipment Order = drop shipment order is automatically created and posted. |
| FreightChargeCode | Select the resource number to be used for freight charge lines in sales orders. Only resources marked as Freight Charge are accepted. |
| FreightChargeCodePurchase | Select the resource number to be used for freight charge lines in purchase orders. Only resources marked as Freight Charge are accepted. |
| ItemHandling | Select the item handling mode for unknown items for the catalog defined in the CatalogIdentifier parameter setup. Possible values: • empty = if no item is found, an error message is displayed upon purchase order import. • Create from Catalog Item = missing item is automatically created from matching catalog item. If no catalog item is found, an error message is displayed upon purchase order import. • Create Both = missing catalog item and item are created using the information from the imported purchase order. |
| OrderPostProcessing | Select the post-processing action for orders, except for drop shipments. Possible values: • empty = no automatic post-processing. • Create Purchase Order and Reserve = purchase order and sales order are automatically created, and items are automatically reserved. • Create Special Order = special order is automatically created, no reservation is made. |
| PurchasingCodeDropShipment | mandatory if DropShipmentPostProcessing parameter ≠ empty Specify the purchasing code for drop shipment to apply on sales lines for drop shipment orders. The code must have Drop Shipment enabled. |
| PurchasingCodeSpecialOrder | mandatory if OrderPostProcessing parameter = Create Special Order Specify the purchasing code for special orders to apply on sales lines for special orders. The code must have Special Order enabled. |
- In the menu bar, click on Activate to activate the integration module.
- You can close all pages.
Tip
If you want to change any of the values, the interface or integration module must be deactivated first.
You have successfully set up the mapping, business partner, and integration module for the interface. Please proceed with the next step in the Setting up GRANIT Interfaces section to activate it.