Skip to content

Multi Entity Management

Cross-environment setup

Updated: May 2025 / 7.5.4 - Work in progress


1. Enable RESTful webservice communication

This guide will show how to Setup RESTful communication in both the Subscriber and Publisher Environement

2. Subscriber setup

codeunit 5397805 “XTEMEM Mem Endpoints” Kald denne “MemEndpoints” og aktiver den.

Der er en fejl i BC (som MS ikke har intentioner om at fikse) som gør at den ikke selv kan lave URL’en.

* Hvis miljø er single tenant så undlad ?tenant={Tenant Name}

3. Publisher setup

Forbind til REST subscriber På siden “Subscriber Company List” udfyldes:

6.3. The Subscriber Database is setup with “Windows Authentication”.

  • Setup one Service Tier to handle all users with Windows Authentication.
  • Setup another Service Tier to handle the Webservice access with NavUserPassword.

6.4. SOAP Exception Business Central 16

  • The Cross Database Replication suddenly stop working.
    • 2 example of error messages

  • Solution: Restart of the instance.

6.5. SOAP URL containing “default” more than once.

  • The automatic created SOAP URL contains “default” more than once
    • Example of incorrect url http://<environment_name>-default:7047/BC/WS/DE Subscriber Master/Codeunit/MemSubDataService?tenant=<environment_name>-default

    • Solution change the above url to http://<environment_name>:7047/BC/WS/DE Subscriber Master/Codeunit/MemSubDataService?tenant=default