Setting up the GRANIT Interfaces

The GRANIT Interface 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 interface after successful installation.

This chapter includes the following topics:

User Setup for GRANIT

The user setup for the GRANIT interface 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 in Microsoft Dynamics 365 Business Central.
  • The page User Setup is shown.

The following fields have been added to the User Setup page for the GRANIT Interface:

Field Description
GRANIT Webshop User Please enter the user name of the user to be used to log into the GRANIT webshop.
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.
Fricke Customer No. Please enter your Fricke customer number here. The customer number entered here will be used as a default value in purchase orders, however it can be changed manually.
  • 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 Integrations

After the successful installation, the separate integrations need to be set up.
To set up a integration, please proceed as follows:

  • Use the quick search (ALT + Q) to find the page Integration List in Microsoft Dynamics 365 Business Central.
  • The Integration List is shown.
  • Click on the integration you want to set up.
  • The appropriate Integration Card is shown.
  • The type of integration is shown in the General register.
  • Enter a clear description of the integration into the Description field.
  • Activate the Integration Protocol toggle switch if you want an protocol to be created for this integration.
  • Enter the number of days after which protocol entries should be automatically deleted into the Delete Protocol Entries After field.
  • Select the authorization type in the Authorization Type field under the Authorization register.
  • Select the authorization code in the Authorization Code field.
  • The fields in the Parameters register are described seperately for the individual integrations:
  • Click on Activate Integration in the menu bar.
  • Your entries will be saved automatically.

You have successfully set up an integration.

Setting up GRANIT Pricelist Parameters

You can set up the following parameters in the Parameters register on the Integration Card of the GRANIT Pricelist Integration.
Required fields are displayed in bold, optional fields in italic:

Parameter Description
GRANITPricelist_Webshop_URL Enter the URL of the GRANIT webshop here.
GRANITPricelist_SpecialCatalog Enter the GRANIT Special Catalog to be used for this integration.
GRANITPriceList_FileFilter Enter the file filter to filter GRANIT price files from the Azure Blob Storage for automatic processing.
GRANITPricelist_CatalogPage Enter the catalog page you want to add to items as an attribute.
GRANITPricelist_CatalogNo Enter the catalog number you want to add to items as an attribute.
GRANITPricelist_CatalogInformationImport Select which additional catalog information to add to items as an attribute.
GRANITPricelist_Catalog Enter the code of the catalog to be used in this integration.
AZURE_STORAGE_ACCOUNT Enter your Azure Storage Account to be used to download GRANIT price files.
AZURE_SHAREDACCESSKEY Enter the shared access key of the selected Azure storage account.
AZURE_CONTAINER_NAME Enter the container name of the selected Azure storage account.
  • Fill out the Value field of each parameter.
  • Your entries will be saved automatically.

You have successfully set up parameters for an integration.

Setting up GRANIT Price & Availability Parameters

You can set up the following parameters in the Parameters register on the Integration Card of the GRANIT Price & Availability integration.
Required fields are displayed in bold, optional fields in italic:

Parameter Description
Web Service Version Enter the version of the web service here.
Web Service URL Enter the URL to be used for the Price and Availability Check.
GRANIT_CatalogLabel Enter the code of the catalog to be used in this integration.
  • Fill out the Value field of each parameter.
  • Your entries will be saved automatically.

You have successfully set up parameters for an integration.

Setting up GRANIT SMART Orders Parameters

You can set up the following parameters in the Parameters register on the Integration Card of the GRANIT SMART Orders integration.
Required fields are displayed in bold, optional fields in italic:

Parameter Description
GRANIT_SmartOrders_Vendor Enter the vendor to use in purchase orders at GRANIT.
GRANIT_SmartOrders_UploadDirectory Enter the directory of the Fricke HTTP server to be used for uploading orders.
GRANIT_SmartOrders_TestProd Select if the directory of the Fricke HTTP server is a test or a prod server.
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.
  • Fill out the Value field of each parameter.
  • Your entries will be saved automatically.

You have successfully set up parameters for an integration.

Setting up GRANIT OCI Parameters

You can set up the following parameters in the Parameters register on the Integration Card of the GRANIT Pricelist integration.
Required fields are displayed in bold, optional fields in italic:

Parameter Description
GRANIT_OCI_WebshopURL Enter the URL of the OCI Webshop here.
GRANIT_OCI_Vendor Enter the vendor to use in purchase orders at GRANIT.
GRANIT_OCI_HookURL Enter the HOOK URL for transferring the shopping cart from the webshop.
GRANIT_OCI_APIURL Enter the API URL for creating price lines.
  • Fill out the Value field of each parameter.
  • Your entries will be saved automatically.

You have successfully set up parameters for an integration.