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. The Topic doesnโ€™t send data directly; it notifies the subscribers and enables them to pull data from the Topic.

The Topic is where you set up the tables and table definitions; which tables and field should be published. You can also add Conditions if you want to exclude transactions for being transfered.

Topic card

  1. Choose the ๐Ÿ”Ž icon, enter Topics (IDM), and choose the related link. Fill in the fields as necessary. Hover over a field to read a short description. Some of the most important fields are as follows:
FieldComment
Message processingpryme Intercompany Masterdata -> Generic
pryme Intercompany Project -> Project, Time entries or Project ledger entries.
Subscription typeThis field is used to restrict to the Topic to a specific Party or to a group of Parties.
Subscription CodeIf you in Subscription Type choose Party or Group, add the Party or Party group to whom you want to publish the Topic.
  1. Open the Topic Tables action under Related.

Transfer time entries

We have two predefined templates that can be used for transferring time entries; Time entries and Project ledger entries.

Time entries

Transfer time and resourses. The time entries are transferred as soon as they are submitted in to the table External time entries in the receiving company. This makes it possible for a project manager in the selling company to preview the entries. There is also an approval flow for information purpose only. When the time entries are posted in the performing company, project ledger entries are created in both companies.

Project ledger entries

Transfers time (not resourses), expenses and item entries and creates transactions in a project journal, and when posted, the project ledger entries in the selling company are created. When using this template, there is no preview or approval functionality when the time sheet is submitted in the performing company.

You can’t use both templates at the same time for time entries because you will get duplicate project ledger entries. What you can do is to use the templates in combination;

  • Time entries -> Time and resources
  • Project ledger entries -> Expenses and item entries

In this case you must add a Condition to only include Type g/l account and Item.

Topic tables

There is a differance between the two intercompany apps related to setting up the Topic tables.

  • pryme Intercompany Masterdata - you must manually add the tables you want to transfer and make the table definitions. The default value is that all fields are included in the data message.
  • pryme Intercompany project - you have pre-defined templates with tables and table definitions already populated.
  1. Choose New and search for the table you want to add.
  2. Fill in the fields as necessary. Hover over a field to read a short description. Some of the most important fields are as follows:
FieldComment
Allow On-Demand PublishAllow users to manually publish records to this topic using an on-demand page action if the conditions are fulfilled. This field is only valid for tables with this special functionality.
ConditionsYou use this field to set filters to include or exclude data Topic record.
Included fieldsIf you want exclude fields in the Topic record, click on this field. Message Data Content (IDM) will open where you enter your restrictions.
  1. Go back to the Topic card and Set status to Ready.
  2. Restart the company. The changelog will now be updated with new and updated entries that will generate Topic records to the subscribers.

Transfer all entries in a table

The intercompany apps only transfers new and updated entries. If you want to transfer all entries in a table to the subscribers, use Topic Table -> Create Messages. We suggest you do this on all Master data tables after setting up the Topic to be assure that your data is the same in all companies. Note that this function only adds and updates entries, it never delete a record in the subscribing company. This means you might need to do some cleaning up in the subscribing companies if you have records that are not valid anymore.

Update a topic with new fields

This is the procedure if you want to add a new field in an existing Topic.

  1. Choose the ๐Ÿ”Ž icon, enter Topics (IDM), and choose 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 and you can add the field.
  5. Go back to the Topic card and Set status to Ready.
  6. Restart the company.
  7. Add the field in the Subscription. Look here.