Subscriptions

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

When you have created a Topic you proceed and create a Subscription in the company/companies receiving data from the Topic. You have to set up one Subscription for each Party you are receiving data from.

Subscription card

  1. Choose the 🔎 icon, enter Subscriptions (IDM), and choose the related link.
  2. Fill in the Party code for the sending company and choose the related Topic.
  3. pryme Intercompany Project only.
    • Inv. Setup template the selected invoice template will be applied on all projects. If this field is empty, you must manually add the invoice template on all intercompany projects.
    • Res. price template the transfer pricing list that you want to use for all projects.
  4. The related tables from the Topic are opened under Subscription tables. You can delete a table you don’t want to import. You can add it again, but you can never add a table that is not in the Topic.
  5. If you want to change the field definitions, click on Subscription fields.

Subscription Fields

Subscription fields are used for defining which fields should be imported, how the data should be processed on a field level and if there are any rules importing the field. When you import a table, you can mapp a field to change the value in it. This is only possible if the field is included in the Topic message.

If you change or mapp a field, we recommend you use the Comment field to document your changes. The field Relation Table Caption specifies the table that is related to the field. If you have values in these fields, the value you import must exist in the related table in the receiving company.

You can map a field four ways, by Value, Filter, Fixed or Currency.

TypeDescription
ValueMap a value one to one to convert from one value to another.
FilterMap and update a field based on a filter setting.
FixedMap to a fixed value that will be valid for all imported transactions.
CurrencyLocal currency will be mapped to/from blank.

Currency mapping

This mapping is used when you have different LCY in your parties. This mapping requires that the field “Currency Code” on each party is defined as well as the “LCY Code” in the General ledger setup.

  • If the currency code is blank in the subscription message the Currency code on the Party code will be picked and mapped into the field.
  • If the currency code in the subscription message is matching the Currency code on the Party code the currency will be mapped to blank.

Subscription fields in pryme Intercompany Project

In the pryme Intercompany Project app there are fields you must map to get the correct values on the projects in the receiving company.

Project

Table 167 – Job
Target Field NoTarget Field NameMapping valueComment
5Bill-to Customer No.FixedYou must always map to the sending company’s customer number in the receiving company.
20Person ResponsibleIs it the same as in the sending company?
23Job posting groupIs it the same as in the sending company?
1011Invoice currency codeCurrencyIf you have an intercompany transfer pricing list in another currency than your LCY, always change the Mapping value to Currency. Read more about Currency mapping here.
2000Sell-to Customer No.FixedIf you don’t have the customer table as Master data, you must map to the sending company’s customer number in the receiving company.
14045651Resource Invoice typeValueIf the selling company have fixed price agreement with the customer, and the performing company need to maintain regular intercompany billings, you must mapp this field to T&M
14045655Item Invoice typeValueIf the selling company have fixed price agreement with the customer, and the performing company need to maintain regular intercompany billings, you must mapp this field to T&M
14045656Expense Invoice typeValueIf the selling company have fixed price agreement with the customer, and the performing company need to maintain regular intercompany billings, you must mapp this field to T&M
14045674Project Managerx PGSIs it the same resource as in the sending company?
14045753Time sheet currency codeCurrencyIf you have an intercompany transfer pricing list in another currency than your LCY, always change the Mapping value to Currency. Read more about Currency mapping here.
Table 1001 – Job task
Target Field NoTarget Field NameMapping valueComment
14045764Contract Type PGSValueIf the selling company have fixed price agreement with the customer, and the performing company need to maintain regular intercompany billings, you must map this field to T&M
14045709Project Manager PGSIs it the same resource as in the sending company?
Table 14045676 - Permissions PM

This table is not mandatory to transfer. If you don’t need the permissions from the sending company, you can delete the table.

Target Field NoTarget Field NameMapping valueComment
1NoIs it the same resources as in the sending company?

Time

Table 156 – Resource
Target Field NoTarget Field NameMapping valueComment
51Gen Prod Posting GrpIs it the same as in the sending company?
58VAT Prod Posting GrpIs it the same as in the sending company?

Project ledger entries

This is a preview feature that transfer resource, expenses and item ledgers between companies. It is to be tested in a Sandbox environment. Please contact support if you want to use it in a production environment.

Table 210 – Job jounal line
Target Field NoTarget Field NameMapping valueComment
1008Currency codeCurrencyRead more about Currency mapping here.
14045810Expense Payment TypeValueMapp the expense payment types you have in the sending company to the one you created for Intercompay purpose.

Test the setup

When you have created a topic and the corresponding subscription, try to send one entry in the sending company. In the receiving company you can run the subscription manually from the action Run subscription. When everything is working, you can set up a job queue that runs the subscription automatically.

Read more about setting up job queues here.

Update a Subscription after changing the Topic

If you have changed the field definitions on the Topic you must manually update the Subscription.

  1. Choose the 🔎 icon, enter Subscriptions (IDM), and choose the related link.
  2. Go to Update Source fields on the Action tab.
  3. Open the Subscription card.
  4. Click on Subscription fields on the table you want to update.
  5. Go to the field you want to add.
  6. In Source field No you add the Table No (same number as in Target field No).