IIC Endpoint is key setup table for IIC module. It links to a remote IIC partner, usually, a BC company. It can be located in the same database & service, or different environment.
IIC Endpoint = “Remote Company I will exchange documents with”.
List of available endpoints can be found under: Advanced Intercompany / Administration / Endpoints or searched for IIC Endpoint List.
Not only partner endpoints must be created, but also an own endpoint.
Following fields need to be set up in IIC Endpoint:
No.: Type in Endpoint name.
Description.: Type in Endpoint Description.
Web Services Address: This is the company Web Services address. Example address below:
So, the address contains: http(s)://<server name>:<port number>/<BC instance>/<BC company name>/Codeunit/IICWebService
You can check default Web Services address when setting up Web Services. You only need to remember that in Web Services window, BC will display default Web Services Address for current instance. If you have set up your environment so you have different BC services for client connections and Web Service connections, you will need to adjust this address accordingly.
Authentication Type: Basic or AAD, depending on remote endpoint configuration, next field visibility will change depending on selected option.
When Basic is selected, Web service calls use Basic authentication so BC Instance must be set to accept the NAVUserPassword type. When AAD is selected, the Azure Active Directory authentication must be active, and an application registration must be configured.
See more: How to set up OAuth
Web Services Username: User account that will be used for Basic BC authentication. This should be a separate domain user.
Web Services Password: User password or Web Services Access Key from User Card.
AAD Tenant ID - tenant where the login and access is managed.
AAD Client ID - Application Registration Client ID
AAD Client Secret - Secret created for the application registration.
Once IIC Endpoint(s) are set up, they need to be assigned to Customer and/or Vendor cards (under Communication tab): IIC Endpoint No.. Just after the endpoint number, the document types to exchange can be selected using the Select Document Types field.