This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Setup and configuration

Set up and configure Pryme Intercompany

Pryme Intercompany enables seamless data sharing between Business Central companies through Messages. This system is based on three core components: Parties, Topics, and Subscriptions.

  • Parties: Business Central companies that exchange data with other companies via Messages.
  • Topics: Messages published by one Party and made available for other Parties to subscribe to.
  • Subscriptions: Mechanisms that allow a Party to receive data from a Topic.

Configuration Differences

Both apps follow the same process for configuring Parties. However, the setup of Topics and Subscriptions differs.

Pryme Intercompany Master Data App

  • Does not include pre-configured templates.
  • Data exchanges require manual configuration of Topics and Subscriptions, offering increased flexibility for custom use cases.

Pryme Intercompany Project App

  • Includes pre-defined templates for Topics and Subscriptions that are tailored to project-related data (e.g., time entries, expenses).
  • Simplifies the setup process and accelerates implementation for project-specific data sharing. Flow

1 - Before you start

Things to do and consider before setting up the Pryme Intercompany app

Before setting up Pryme Intercompany, ensure that the following key considerations are addressed to facilitate smooth implementation and integration.

Party Code

The Party represents Business Central companies that exchange data with other companies through messages.

  • All companies must agree on a unique party code. This code identifies each company in the system.
  • Use a clear and scalable naming convention, example: Instead of “UK,” use “UK10,” “UK11,” ….

Data Conflicts

Ensure there are no data conflicts before setting up the app. Review and update existing entries to prevent issues.

Key Areas to Check:

  • Project numbers
  • Resource codes
  • Other shared references

Master Data

Decide how to manage master data across the group:

  • Will one company provide master data for all?
  • Or will each company manage its own?

If you choose a central provider, pick one company to share master data with the others. Key Considerations:

Tables to transfer:
Decide which tables to share. Ensure all related tables required for importing data are included in the master data setup. This will prevent data errors due to missing or incorrect data and save time during setup.

Restrictions or Filters:
Identify and implement any necessary restrictions, filters, or field-level mappings.

Code Harmonization:
Ensure codes are consistent across companies. Align and update the codes if needed.

If Pryme Intercompany for Projects is installed, exclude projects and resources from the master data, as these are managed by the app.

Ensure that related tables required for importing data are included in the master data setup. This will prevent data errors due to missing or incorrect data and save time during setup.

Transfer Time, Expense, and Item Entries

Pryme intercompany project includes two pre-defined templates for transferring ledger entries. The templates can be used individually or together.

Time entries - Time entries and resources.
Project ledger entries - Time, expenses and item ledger entries.

Before you start setting up the Topics and Subscriptions, decide which transactions you want to transfer, and which templates to use.

Time Entries Template

What it does:

  • Transfers time entries when timesheet is submitted in the performing company.
  • In the “selling company” the project manager can preview, approve and comment the entries until they are posted in the performing company.
  • After posting the time sheet in the performing company, project ledger entries are created in both companies.

Limitations:

  • Only transfers time entries, not expenses or item entries.
  • Entries moved between projects using “Move entries” or entries created in a project journal are not transferred.
  • If you re-open a posted time sheet, the changes are not transferred.

Project Ledger Entries Template

What it does:

  • Transfers posted project ledger entries for time, expense, and item to the project journal.
  • Creates project ledger entries in the selling company.

Limitations:

  • Project managers in the selling company can’t preview time entries before posting.
  • Is not transferring resources.

Combining Templates

To preview time entries (and use the approval flow) and transfer expenses and item entries, use the templates together.

  • Time Entries → Time and Resources
  • Project Ledger Entries → Expenses and Item Entries

2 - Basic setup

Learn about the basic set up that needs to be done before you start setting up parties, topics and subscriptions in Pryme Intercompany

Pryme Intercompany setup

  1. Select the 🔎 icon, enter Pryme Intercompany Setup, and choose the related link.

My Party code
Set up the Party code for this company

Disable changelog
If you disable the Changelog, changes of records will not be stored in the change log, and no data can be sent from the company.

Log Modify on all fields
If you enable the an entry will be created in the changelog even though the field that is changed is not part of included fields for that Topic Table.

Email notification
If you prefer to be notified when subscription processing fails, add a email adress in Failure Email Notification Recipients. Read more about the setup here.

Exclude dimensions

If your company uses local dimensions (dimensions used only within one company), you can exclude them from intercompany messages.

  1. Select the 🔎 icon, enter Dimensions, and choose the related link.
  2. For any dimension you want to exclude, select Skip for Intercompany (IDM).

Transferring expenses

If you are going to transfer project ledger entries for expenses, you must configure do some setup in the companies receiving the expenses:

This prevents expenses from posting to the general ledger during intercompany updates. The G/L posting will happen later when the Purchase Invoice is posted.

Setup expeses

  1. Select the 🔎 icon, enter Expense Payment Type, and choose the related link.
  2. Create a new expense payment type for Intercompany puropse. Set the Expense Payment Function to Company Paid and the Expense Posting to NONE.
  3. Select the 🔎 icon, enter Project Expenses, and choose the related link.
  4. Create a new Project expense for Intercompany purpose.
  5. Select the 🔎 icon, enter Project Expense Posting Setup, and choose the related link.
  6. Set up all combinations of Expense Code and Expense Payment Type.
  7. Complete the necessary fields. Hover over each field for a short description. Note, you only need to add a Debit account.

3 - Step by step

Step by step

Follow a structured approach to configure sending and receiving companies for transferring projects and time entries. The process involves setting up Parties, Topics, and Subscriptions.

Below is a step-by-step guide to help you set up everything in the correct order. After the step-by-step guide you have a detailed description of each step.

Working with intercompany, there is one company sending and one company receiving the data. For two-way data transfer, you must set up the same topic and subscription in both companies.

Before you start setting up the Topics and Subscriptions, you must set up the Parties.

Masterdata

Company ACompany B
Choose the 🔎 icon, enter Topics (IDM), and select the related link.
Create a Topic. Message processing type=Generic
Add the Tables you want to transfer
Review and update the table definitions.
Set status to Ready
Restart the company.
Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
Create a Subscription for Masterdata.
Review and update the Table definitions.

Templates

Working with intercompany, there is one company sending and one company receiving the data. In the description below these are called:

  • Company A -> Sending projects and receiving resources and time entries
  • Company B -> Receiving projects and sending resources and time entries

Projects

Company ACompany B
Choose the 🔎 icon, enter Topics (IDM), and select the related link.
Create a Topic. Message processing type=Project
Review and update the table definitions.
Set status to Ready.
Restart the company.
Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
Create a Subscription for Projects.
Select the Topic for Time entries.
Select if you want to add an Invoice template or/and a Price template on the project.
Review and update the Table definitions.

Time entries

If you want to transfer time entries only, use the Time entries Template. It will transfer Time entries and resources between companies. When a timesheet is submitted in Company B, the entries are available for the project manager in Company A to preview and approve (for informational purposes only).

Company ACompany B
Choose the 🔎 icon, enter Topics (IDM), and select the related link.
Create a Topic. Message processing type=Time Entries.
Review and update the table definitions.
Set status to Ready.
Restart the company.
Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
Create a Subscription for Time entries.
Select the Topic for Time entries.
Review and update the Table definitions.

Time, expenses and items

If you want to transfer time, expense and items you have two options.

Note, if you want to transfer expenses you must update your setup for expenses. You can read more about it here.

Alternative 1 – With approval flow for time entries (information purpose only)

Using this alternative you use two different templates in combination.

  • Time -> Time entries template
  • Expenses and items -> Project ledger entries template.
Company ACompany B
Choose the 🔎 icon, enter Topics (IDM), and select the related link.
Create a Topic. Message processing type=Time Entries
Create a Topic. Message processing type=Project ledger entries
Add a condition in the Type field to include only g/l account and item in the data message.
Review and update the table definitions.
Set status to Ready on both Topics.
Restart the company.
Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
Create a Subscription for Time entries.
Select the Topic for Time entries.
Review and update the Table definitions.
Create a Subscription for Project ledger entries.
Select the Topic for Project ledger entries.
Review and update the Table definitions.
Setup Expense payment type, Project expense code and Project expense posting setup. Read more about it here.

Alternative 2 – Without approval flow for time entries

Using this alternative, you use the Project ledger entries template for all transactions.

Company ACompany B
Choose the 🔎 icon, enter Topics (IDM), and select the related link.
Create a Topic. Message processing type=Project ledger entries
Add a condition in the Type field to include only g/l account and item in the data message.
Review and update the table definitions.
Create a Topic. Message processing type=Time Entries
Open the Topic tables
Delete Time entry (PGS) table (14045726).
Set status to Ready on both Topics.
Restart the company.
Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
Create a Subscription for Project ledger entries.
Select the Topic for Project ledger entries.
Review and update the Table definitions.
Create a Subscription for Time entries.
Select the Topic for Time entries.
Review and update the Table definitions.
Setup Expense payment type, Project expense code and Project expense posting setup. Read more about it here.

4 - Setup Parties

Learn how to setup a Party, a company in Business Central sharing data with other companies.

A Party is a company in Business Central sharing data with other companies. Each party can send and receive data. All companies involved in data sharing must be set up as a party. Make sure to first setup your own Party code in Pryme Intercompany Setup.

Watch our video how to setup a Party.

Before setting up the parties, ensure a consistent format for Party Codes is chosen. It is recommended to combine a land code with a number for uniqueness and clarity (e.g., UK10, UK11).

Parties

Companies in the same environment

  1. Choose the 🔎 icon, enter Parties (IDM), and select the related link.
  2. Code -> The company’s Party code.
  3. Data Transfer Type -> Select In-Database.
  4. Company Name -> Select the company. The name is automatically updated.
  5. Currency code -> If the companies have different local currencies, select the currency code for the Party (company). If they have the same currency, leave the field blank.

Companies in different environments (Azure)

  1. Choose the 🔎 icon, enter Parties (IDM), and select the related link.
  2. Code -> The company’s Party code.
  3. Data Transfer Type -> Select Azure Service Buz.
  4. Name -> Add the Name of the company.
  5. Currency code -> If the companies have different local currencies, select the currency code for the company. If they have the same currency, leave the field blank.

Party Groups

A Party Group is a subset of parties that can be used in a topic to restrict which companies are allowed to receive data.

  1. Choose the 🔎 icon, enter Party Groups (IDM), and then select the related link.
  2. Fill in the required fields. Hover over a field to read a short description.
  3. Enter the code of the Parties that should be grouped under the Parties subpage.

5 - Setup Topics

Learn how to set up Topics in Pryme Intercompany, used for publishing data to other Business Central companies.

Topics are used for publishing data to other parties. Topics do not send data directly but act as a notification system that alerts subscribers to pull data. The topic defines the types of data (tables and fields) that are available to be transferred to other parties. Conditions can be added to filter and control which data should be transferred.

In the Pryme Intercompany for Projects app, you have access to pre-configured templates that do not exist in the Pryme Master Data app. Because of this, the setup process for a Topic looks slightly different between the two apps. For this reason, we provide separate instructions for masterdata and templates.

Watch our video how to setup a Topic.

Masterdata

When setting up a Topic for masterdata you have to configure it manually. You add the tables you want to share with other companies, and manually change the table definitions.

Topic card

  1. Choose the 🔎 icon, enter Topics (IDM), and select the related link.
  2. Click on New and the Topic card is opened.
  3. Fill in the fields as necessary. Hover over a field to read a short description.
  4. Some of the most important fields are:
    Message processing type
    Select Generic.
    Subscription type
    Use the field to restrict a Topic to a specific Party or to a Group of Parties.
    Subscription Code
    If the Subscription Type is Party/Group, add the Party or Party group to whom data is published the topic.
    Topic Tables
    Shows how many tables are included in the Topic. You can click on the link to open the Topic tables.
  5. Click on the Topic tables action.

Topic tables

  1. Add the tables you want to transfer.
  2. Fill in the fields as necessary. Hover over a field to read a short description.
  3. Some of the most important fields are:
    Allow On-Demand Publish
    Enables users to manually select which records should be sent to the subscribers, provided the conditions are fulfilled. This field is valid only for tables with special on-demand functionality. Now it is only available Projects.
    Conditions
    Use this field to set filters to restrict if not all the entries should be included in the Topic message.
    Included fields
    Shows the number of fields in the table, and how many of them are included in the Topic message. By default, all fields are included in the data message. If you want to exclude fields, click on the link in the Include fields column.
  4. Go back to the Topic card and Set status to Ready.
  5. Restart the company.

Templates

In Pryme Intercompany for Projects you have pre-configured templates that helps you to create the Topic. You have these templates available:

  • Project
  • Time entries
  • Project ledger entries

Topic card

  1. Choose the 🔎 icon, enter Topics (IDM), and select the related link.
  2. Click on New and the Topic card is opened.
  3. Fill in the fields as necessary. Hover over a field to read a short description.
  4. Some of the most important fields are:
    Message processing type
    Select which template you want to use: Project, Time entries or Project ledger entries
    Subscription type
    Use the field to restrict a Topic to a specific Party or to a Group of Parties.
    Subscription Code
    If the Subscription Type is Party/Group, add the Party or Party group to whom data is published the topic.
    Topic Tables
    Shows how many tables are included in the Topic. You can click on the link to open the Topic tables.
  5. Open the Topic Tables.

Topic tables

When using the pre-configured templates, the tables and fields are already added and configured, but they are easy to change.

  1. If you want to add a table, select New and search for the table to add.
  2. Fill in the fields as necessary. Hover over a field to read a short description.
  3. Some of the most important fields are:
    Allow On-Demand Publish
    Enables users to manually select which records should be sent to the subscribers, provided the conditions are fulfilled. This field is valid only for tables with special on-demand functionality. Now it is only available Projects.
    Conditions
    Use this field to set filters to restrict if not all the entries should be included in the Topic message.
    Note that if you are transferring Time with the Time entries template and are setting up the Project ledger entries template for expenses and items, you must add a condition to only include type g/l account and Item.
    If you don’t add this condition, you will get duplicate project ledger entries.
    Included fields
    Shows the number of fields in the table, and how many of them are included in the Topic message.
    Click on the link if you want to change the definitions.
  4. Go back to the Topic card and Set status to Ready.
  5. Restart the company.

Template - Project

TableTable Name
167Job
352Default dimension
1001Job task
1002Job task dimension
14045676Permissions PM (PGS)
14045713Budget Entry (PGS)
14045718Milestones (PGS)
14046302Project Team members PGS
14046351Project attribute PGS
14046352Project attribute Value PGS
14046353Project Attr. Value mapping PGS
70230251IC Time Approval Outb. ICPRYME

Template - Time entries

TableTable Name
156Resource
352Default dimension
14045726Time entry (PGS)

Template - Project ledger entries

TableTable Name
169Job ledger entry

Transfer all entries in a table

The intercompany apps only transfer new and updated entries. To ensure consistency across all subscribing companies, transfer all entries in a table using the Topic Table -> Create Messages function. Key points to remember:

  • Use this for Master data tables after setting up the topic to synchronize data across companies.
  • This action adds and updates entries but does not delete records in subscribing companies.
  • If invalid records exist in subscribing companies, manual cleanup may be required.

Update a topic with new fields

To add a new field to an existing topic, follow these steps:

  1. Choose the 🔎 icon, enter Topics (IDM), and select the related link.
  2. Set the Topic to On hold.
  3. Open the Topic Tables action under Related.
  4. Click on Included fields. Message Data Content (IDM) will open.
  5. Go back to the Topic card and Set status to Ready.
  6. Restart the company.
  7. Add the field in the Subscription. See Updating a Subscription after changing the Topic.

6 - Setup a Subscription

Learn how to setup Subscriptions, used for receiving data from other Business Central companies.

After setting up the Topic, create a Subscription for each Party that should pull data from the Topic.

Watch our video how to setup a Subscription.

Masterdata

The subscriptions are setup a bit different depending on if the companies are in the same environment or not.

Same environment

  1. Select the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  2. Select New to create a new Subscription.
  3. General fast tab:
    Party code – Select the code for the sending company.
    Topic – Select the Topic.
  4. Subscription Tables
    The tables that are included in the Topic message.
  5. Use Subscription Fields to modify field-level data processing, mapping, and rules.

Multiple environments using Azure Service Bus

  1. Run the Topic in the sending company.
  2. Go to the receiving company.
  3. Select the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  4. Enter the Party code for the sending company and select the related Topic.
  5. Run the Subscription.
  6. Add the tables under Subscription Tables.
  7. Use Subscription Fields to modify field-level data processing, mapping, and rules.

Subscription tables

When the Subscription header is filled in, the tables from the Topic are automatically populated in the Subscription tables. It’s possible to delete a table you don’t want to import.

Subscription Fields

Subscription fields is the definition of which fields are imported, and it controls how the data is processed. Note that you can’t add a filed in the Subscription that doesn’t exist in the Topic. Some of the most important fields are as follows:

FieldComment
Target field No./NameThe number and name of the field that should be updated in your company. It’s not always one-to-one with the Source No/Name in the Topic.
The fields are colour coded:
Green – The field is imported, no action needed.
Red – The field is imported, an action is needed (check the comment field).
Black – The field is not imported.
Source field No./NameThe number and name of the table in the sending company.
Include fieldThis field is selected if the field is included when running the subscription. This value can be changed.
Skip validationIf this field is selected, the data will not be validated. This means that any data can be imported, even if the field has a related table.
Mapping typeWhen importing a table, it’s possible to change a value in a field on an entry using the Mapping functionality. Mapping must be done if the values in the sending and receiving company are not the same. You can map a field four different ways:
Value – One-to-one mapping.
Filter – Conditional updates based on filters.
Fixed – Assigns a fixed value to all imported transactions.
Currency – Manages local currency conversions. Read more about currencies.
Has mappingIf you have selected a Mapping type, you must add the Mapping parameters. Click on Yes/No to update the parameters.
ValueFrom value -> To value
Add one or several one-to-one mappings. This is useful if you want to update the project managers to different values.
FilterConditional updates based on filters.
FixedAssigns a fixed value on all imported entries. Useful when you map the Bill-to customer to the sending company’s customer number in your company.
CurrencyNo mapping needs to be done.
CommentWhen changing or mapping a field, add a comment to document the changes.

Templates

The subscriptions are setup a bit different depending on if the companies are in the same environment or not. The Subscription looks the same and the example below shows the Project template.

Same environment

  1. Select the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  2. Select New to create a new Subscription.
  3. General fast tab
    Party code – Select the code for the sending company.
    Topic – Select the Topic.
  4. Options fast tab (only visible for the Project template):
    Inv. Setup Template – Select if you want to add an invoice template when creating the project.
    Res. price Template – Select if you want to add a pricing list when creating the project.
  5. Subscription Tables.
    The tables that are included in the Topic message.
  6. Use Subscription Fields to modify field-level data processing, mapping, and rules.

Multiple environment using Azure Service Bus

  1. Run the Topic in the sending company.
  2. Go to the receiving company.
  3. Select the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  4. Enter the Party code for the sending company and select the related Topic.
  5. Run the Subscription.
  6. Options fast tab (only visible for the Project template):
    Inv. Setup template – Defines if you want to add an invoice template on intercompany projects.
    Res. price template - Defines if you want to add a pricing list on intercompany projects
  7. Add the tables under Subscription Tables.
  8. Use Subscription Fields to modify field-level data processing, mapping, and rules.

Subscription tables

When the Subscription header is filled in, the tables from the Topic are automatically populated in the Subscription tables. It’s possible to delete a table you don’t want to import.

Subscription Fields

Subscription fields is the definition of which fields are imported, and it controls how the data is processed. Note that you can’t add a filed in the Subscription that doesn’t exist in the Topic.

Some of the most important fields are as follows:

FieldComment
Target field No./NameThe number and name of the field that should be updated in your company. It’s not always one-to-one with the Source No/Name in the Topic.
The fields are colour coded:
Green – The field is imported, no action needed.
Red – The field is imported, an action is needed (check the comment field).
Black – The field is not imported.
Source field No./NameThe number and name of the table in the sending company.
Include fieldThis field is selected if the field is included when running the subscription. This value can be changed.
Skip validationIf this field is selected, the data will not be validated. This means that any data can be imported, even if the field has a related table.
Mapping typeWhen importing a table, it’s possible to change a value in a field on an entry using the Mapping functionality. Mapping must be done if the values in the sending and receiving company are not the same. You can map a field four different ways:
Value – One-to-one mapping.
Filter – Conditional updates based on filters.
Fixed – Assigns a fixed value to all imported transactions.
Currency – Manages local currency conversions. Read more about currencies.
Has mappingIf you have selected a Mapping type, you must add the Mapping parameters. Click on Yes/No to update the parameters.
ValueFrom value -> To value
Add one or several one-to-one mappings. This is useful if you want to update the project managers to different values.
FilterConditional updates based on filters.
FixedAssigns a fixed value on all imported entries. Useful when you map the Bill-to customer to the sending company’s customer number in your company.
CurrencyNo mapping needs to be done.
CommentWhen changing or mapping a field, add a comment to document the changes.

Review and update table definitions

In Pryme Intercompany Project templates there are fields that needs to be mapped project to ensure correct values in the receiving company’s projects.

Project (Table 167 – Job)

Target Field NoTarget Field NameMapping ValueComment
5Bill-to Customer No.FixedAlways map to the sending company’s customer number in the receiving company.
20Person ResponsibleVerify if it matches the sending company.
23Job Posting GroupVerify if it matches the sending company.
1011Invoice Currency CodeCurrencyUse Currency if the companies have different local currencies. Read more about currencies.
2000Sell-to Customer No.FixedIf the customer table is not part of master data, map to the sending company’s customer number.
14045651Resource Invoice TypeValueIf there is a fixed price agreement with the end-customer, but the intercompany agreement is not fixed price you should map to T&M.
14045655Item Invoice TypeValueIf there is a fixed price agreement with the end-customer, but the intercompany agreement is not fixed price you should map to T&M.
14045656Expense Invoice TypeValueIf there is a fixed price agreement with the end-customer, but the intercompany agreement is not fixed price you should map to T&M.
14045674Project Manager PGSVerify if the resource matches the sending company.
14045753Timesheet Currency CodeCurrencyUse Currency if the companies have different local currencies. Read more about currencies.

Job Task (Table 1001 – Job Task)

Target Field NoTarget Field NameMapping ValueComment
14045764Contract Type PGSValueIf there is a fixed price agreement with the end-customer, but the intercompany agreement is not fixed price you should map to T&M.
14045709Project Manager PGSVerify if the resource matches the sending company.

Permissions (Table 14045676 - Permissions PM)

This table is not mandatory. If permission from the sending company is unnecessary, delete the table.

Target Field NoTarget Field NameMapping ValueComment
1NoVerify if the resource matches the sending company.

Time (Table 156 – Resource)

Target Field NoTarget Field NameMapping ValueComment
51Gen Prod Posting GrpVerify if it matches the sending company.
58VAT Prod Posting GrpVerify if it matches the sending company.

Job Journal Line (Table 210)

Target Field NoTarget Field NameMapping ValueComment
1008Currency CodeCurrencySee Currency Mapping.
14045810Expense Payment TypeValueMap expense payment types for intercompany transactions.

Test the Setup

After creating the topic and corresponding subscription, test the setup:

  1. Send one entry from the sending company.
  2. Run the subscription manually in the receiving company using Run Subscription.
  3. When successful, configure a Job Queue for automated subscription processing.

For details on job queue setup, see Set Up Job Queues.

Update a Subscription After Changing the Topic

If changes are made to the Topic field definitions, update the subscription manually:

  1. Select the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  2. Choose the Update Source Fields action under the Actions action group.
  3. Open the Subscription Card.
  4. Select Subscription Fields under Subscription Tables tab.
  5. Locate the field to add.
  6. In Source Field No, add the Table No (same as Target Field No).

Update Subscription Fields after changing the target table

If field is added to or removed from target table listed under Subscription Tables, you can update the Subscription Fields manually.

  1. Select the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  2. Select the subscription which subscription fields you want to update.
  3. Choose the Update Subscription Fields action.
  4. Open the Subscription Card.
  5. Select Subscription Fields under Subscription Tables tab.
  6. Field is added to or removed from Subscription Fields based on whether it was added to or removed from related target table.

7 - Currencies

Learn how to setup currencies when the parties have different LCY

If the parties have different local currencies (LCY) it’s important to have the correct settings in the Party, Topic and Subscription.

Party

Add the currency code that the party have in the General ledger setup.

Topic

Add the fields Invoice currency code and Timesheet currency code in the Job table.

Subscription

  1. Open the Subscription for Project.
  2. Open the the Job table.
  3. Add the fields Invoice currency code and Timesheet currency code in the Job table.
  4. Set the Mapping type = Currency on the fields you just added.
  5. Open the Subscription for Project ledger entries.
  6. Open the Job ledger entry table.
  7. Set the Mapping type = Currency on the field Currency code.

This is how it works

  • If the currency code in the Subscription message is blank, the currency code from the Party code will be used.
  • If the currency code in the Subscription message matches the currency code on the Party code, the currency field will be set to blank.  

8 - Run topics and subscriptions

Learn how to run topics and subscriptions, or setup job queues to run them automatically.

Once the topics and subscriptions are set up, data transfer can be done manually or automatically using a Job queue. In a Sandbox environment, it is recommended to run topics and subscriptions manually, as you don’t have to wait for the Job queue to execute the run.

Run Topics

The schedule run on changelog value in the topic determines whether it should be run. If set to FALSE, the Topic must be started manually using Action -> Run Topic or scheduled through a job queue.

  1. Choose the 🔎 icon, enter Topics, and select the related link.
  2. Go to Actions –> Create Job Queue Entry.
  3. Fill in the fields as necessary. Hover over a field to read a short description.
  4. Set Status to Ready.

Run Subscriptions

Manually

  1. Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  2. Choose the Subscription to run and select Run Subscription with UI under the Home action group.
  3. If a prompt appears about updating values, always choose the selected answer.

In Background

  1. Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  2. Choose the Subscription to run and select Run Subscription in Background under the Home action group.
  3. When running in background, there will be no prompts or messages, but also no message about errors in processing. The unprocessed messages must be manually checked.

Via Job Queue

  1. Choose the 🔎 icon, enter Subscriptions (IDM), and select the related link.
  2. Go to Actions –> Create Job Queue Entry.
  3. Fill in the fields as necessary. Hover over a field to read a short description.

Schedule jobs to run automatically.

9 - Set up Azure Service Bus

Learn how to setup an Azure Service Bus connection for intercompany data transfer between Business Central companies in different environments.

When using multiple Business Central environments, you can use Azure Service Bus to transfer data between the companies. Azure Service Bus is a cloud-based messaging service that enables you to send messages between applications and services. Azure Service Bus supports a set of cloud-based, message-oriented middleware technologies including reliable message queuing and durable publish/subscribe messaging. For more information, see Azure Service Bus.

Before configuring the connection to Azure Service Bus in Business Central, a namespace must be created in Azure Service Bus. The namespace is the container for all messaging components in Azure Service Bus. The namespace is created in the Azure portal.

To create a namespace in Azure Service Bus

  1. Register an application for API connection: Register an application (MS Learn)
    • Save the Application (client) ID for later
    • Create a Client Secret and save the secret value for later.
  2. Create service bus namespace, see Create a namespace (MS Docs). It must be Standard tier or better.
    • Save the Name of the namespace for later
    • Save the Subscription Id where the Namespace was created for later
    • Under Access control (IAM), add the registered application from step 1 as Role, Azure Service Bus Data Owner: Authenticate and authorize an application (MS learn)

After completion you will have the following values to insert into Business Central:

  • Directory (tenant) ID from Azure AD
  • Application (client) ID from the created App Registration.
  • Client Secret from the created App Registration.
  • Subscription Id where the ASB Namespace was created
  • Azure Service Bus Namespace name from the created Azure Service Bus Namespace

To set up Azure Service Bus in Business Central

  1. Choose the 🔎 icon, enter Azure Service Bus (IDM), and then select the related link.
  2. Fill in the fields as necessary. Hover over a field to read a short description.

To set parties to use Azure Service Bus

  1. Choose the 🔎 icon, enter Parties (IDM), and then select the related link.
  2. Select the party to set up for Azure Service Bus.
  3. Select Azure Service Bus in the Data Transfer Type field.

10 - Subscriptions email notifications

Learn about the email notifications for the subscriptions.

When a subscription processing fails email notification can be sent to inform the certain persons about it.

To set up email notifications

You must set up email as described in Set up email.

There is email scenario Subscription Notification to which you can assign specific email account if you prefer to send email notifications through it.

Email notifications settings

On the Pryme Intercompany Setup page, under the Email Notifications FastTab, In the field Failure Email Notification Recipients, you can specify who you want to receive email notifications when there is subscription which processing failed.

On the Pryme Intercompany Setup page use the Schedule Email Notifications action if you want automatically to create a job queue entry for sending email notifications for subscriptions.

Sending email notifications

Email notifications when there is subscription which processing failed are sent via job queue entry which you can schedule as described in Email notifications settings.