Skip to main content

Setup Guide

This page describes each configuration area of the Advanced Integration with Dataverse app and how the settings affect synchronisation behaviour.

Advanced Integration Setup​

Search for Advanced Integration Setup to open the main configuration page. The setup is a singleton record created automatically on first use with sensible defaults.

General​

FieldDescription
Dimension Matching RuleControls how dimension values are matched between Dataverse and Business Central. Choose SystemId to match by the record's GUID, or Code to match by the dimension value code.
Default Integration Time ZoneThe time zone used when converting UTC date/time values from Dataverse into date values in Business Central. The default is pre-set during installation. Change this if your organisation operates in a different time zone.
Add Custom Fields To MappingWhen enabled, the app adds its custom field mappings (such as SystemId coupling and item cost fields) to the standard Customer–Account, Vendor–Account, and Item–Product integration table mappings whenever those mappings are reset.
Add Custom Tables To MappingWhen enabled, the app adds its custom table mappings (such as Transactions) to the integration table mapping list whenever the Dataverse/CDS setup is reset.
Update Job Task Dims From Job DimsWhen enabled, job task dimensions are automatically updated from parent job dimensions during integration synchronisation involving job-type records.

Item – Product Integration​

FieldDescription
Item Cost Integration MappingDetermines which Business Central cost field is mapped to the Dataverse product unit cost. Select Unit Cost to use the item's unit cost, or Last Direct Cost to use the last direct cost. Changing this value immediately updates the Item–Product field mapping. The Add Custom Fields To Mapping toggle must be enabled before changing this field.

Actions​

ActionDescription
Create Dimension Synchronization JobCreates a recurring Job Queue Entry that synchronises Dataverse dimension table values into Business Central dimension values. The job runs every 20 minutes by default.
Default Integration MappingsOpens the Default Table Mappings page where you can review and manage the saved snapshot of your integration table and field mappings.
Dimension MappingOpens the Dimension Mapping page to configure which Dataverse tables supply dimension values.
Transaction TypesOpens the Transaction Types page to configure how incoming Dataverse transactions are routed to XMLports for processing.

Integration Table Mapping List​

The standard Integration Table Mapping List page is extended with additional columns and actions.

Additional Columns​

ColumnDescription
Failed RecordsNumber of records that failed during the last synchronisation run. Drill down to view the error list.
Skipped RecordsNumber of records skipped during the last synchronisation run. Drill down to view skipped records.
Failed Custom ProcessesNumber of custom processes that failed. Drill down for details.
Unprocessed RecordsNumber of records not yet processed. Drill down to view them.
Job Queue StatusCurrent status of the job queue entry for this mapping. Drill down to open the job queue entry.
Use Table SystemIDWhen enabled, the Dataverse GUID is used as the Business Central SystemID when inserting new records. This creates a direct ID link between systems.
Unprocessed Record FilterA filter on the Business Central table that identifies records awaiting processing. Use the assist-edit to build the filter visually.

Additional Actions​

ActionDescription
RefreshRefreshes the page data to show current synchronisation counts.
Dimension MappingOpens the Integration Dimension Mapping page filtered to the selected mapping.
Recreate Job Queue EntryRe-creates the recurring synchronisation job queue entry for the selected mapping.
Default TemplatesOpens the Integration Table Templates page filtered to the selected mapping.
Manual CouplingRuns the coupling process in the foreground for the selected mapping.
Save Default SettingsTakes a snapshot of the current mapping configuration and saves it as the default.
Apply Default SettingsRestores the selected mapping from the saved default snapshot.
Use Default Advanced IntegrationApplies the advanced integration setup defaults to Customer, Vendor, and Item mappings.

Integration Field Mapping List​

The standard Integration Field Mapping List is extended with three additional fields:

FieldDescription
Validate Field After IntegrationWhen enabled, the Business Central field value is re-validated after the integration record is inserted. Use this when a field's OnValidate trigger must fire after all other fields are populated.
Related Table No.Specifies a related table used to resolve compound key lookups during synchronisation. For example, when a Dataverse GUID must be resolved to a code value via a coupling record on a different table.
Related Field No.Specifies the field on the related table that provides the resolved value. The field type and length must be compatible with the target field.

Default Table Mappings​

The Default Table Mappings page stores a complete snapshot of your integration table mapping configuration. This allows you to save a known-good configuration and restore it after a Dataverse/CDS setup reset.

  • Save: Use the Save Default Settings action on the Integration Table Mapping List to capture the current state.
  • Apply: Use the Apply Default Settings action to restore from the saved snapshot. Field mappings, filters, direction, conflict resolution settings, and custom flags are all preserved.

Integration Table Templates​

Templates let you apply a Config. Template to newly created or modified records during synchronisation, with conditions controlled by filters.

FieldDescription
DirectionWhether the template applies when synchronising To Integration Table or From Integration Table.
Apply Filter ToWhether the filter condition is evaluated against the Business Central record or the Dataverse (Integration) record. Auto-set based on direction.
Table FilterA filter that determines which records the template is applied to. Use the assist-edit button to build the filter visually.
Template CodeThe Config. Template Header code to apply when the filter condition matches.
Use Template ForControls whether the template is applied only on Insert or on both Insert and Modify.
tip

Templates are only applied when a Table Config Template Code is set on the parent integration table mapping.


Dimension Mapping​

Dimension mapping synchronises values from a Dataverse table into the Business Central Dimension Value table. The setup has two levels.

1. Dimension Mapping (Top Level)​

Open from the Advanced Integration Setup or search for Dimension Mapping.

FieldDescription
Dimension CodeThe Business Central dimension to synchronise. Each dimension can only have one mapping.
Dataverse Table No.The Dataverse proxy table that contains the dimension values.
Dataverse Table NameAuto-populated display name of the selected table.
Table FilterOptional filter on the Dataverse table to limit which records are synchronised.

Use the Field Mapping action to configure which fields from the Dataverse table map to the Dimension Value table fields.

2. Dimension Field Mapping (Detail Level)​

FieldDescription
Dataverse Field No.The field in the Dataverse table providing the value.
Dimension Value Field No.The field on the Dimension Value table (table 349) that receives the value.

3. Integration Dimension Mapping (Per-Mapping)​

When a dimension is also linked to a specific integration table mapping, you can set additional options per mapping from the Dimension Mapping action on the Integration Table Mapping List.

FieldDescription
Dimension CodeThe Business Central dimension to assign on synchronised records.
Dataverse Field No.The field in the Dataverse table that holds the dimension value for this mapping.
Default Dimension Value PostingThe posting rule applied when setting the dimension (e.g., Code Mandatory).
Default Dimension Value RequiredWhen enabled, if the Dataverse field value is blank, the system still creates a default dimension entry with Code Mandatory, ensuring the dimension is enforced.

Use the Process Full Sync action to run a full synchronisation of dimension values for the selected mapping.


Integration Job Groups​

Job groups let you organise multiple integration table mappings into a single execution sequence, triggered by one Job Queue Entry.

Job Group Card​

FieldDescription
CodeA unique code identifying the job group.
DescriptionA description of the job group's purpose.

Job Group Lines​

Each line specifies one step in the execution sequence.

FieldDescription
TypeJob — runs the mapping via its own job queue entry. Group — executes a nested job group. Direct — runs the mapping's synchronisation codeunit inline, with automatic retry on failure.
CodeThe integration table mapping name (for Job/Direct) or nested job group code (for Group).
Synch. Codeunit IDThe codeunit executed for this step. Auto-populated from the mapping when a code is selected. Editable only when Code is blank.
Run OrderThe execution order within the group. Lower values execute first. Auto-assigned in increments of 10.
Direct vs Job

The Direct type runs synchronisation inline and resets the modified-on filter when failures occur, ensuring failed records are retried on the next run. The Job type dispatches execution through the standard job queue entry for the mapping.


Transaction Processing​

The transaction processing feature provides a schema-less message queue that receives XML transactions from Dataverse and processes them via configurable XMLports.

Transaction Types​

Open from the Advanced Integration Setup or search for Transaction Types.

FieldDescription
CodeA unique code matching the transaction type sent from Dataverse.
DescriptionA description of the transaction type.
Processing XMLport IDThe XMLport used to import and process transactions of this type.
EnabledWhether this transaction type is active. An XMLport must be assigned before enabling.

Transactions List​

Search for Transactions to view all received transaction messages.

ColumnDescription
Transaction IdThe unique ID assigned by Dataverse.
Transaction TypeThe type code that determines processing.
StatusCurrent state: New (awaiting processing), Completed, Error, or Suspended. Change the status to Suspended to skip a transaction, or back to New to reprocess.
Created AtWhen the transaction was created.
Processing DurationTime taken to process.
Search TextSearchable extract from the message content.

Use the Show Transaction Message action to view the full XML content.

Scheduling​

Create a Job Queue Entry that runs codeunit Transactions Processor to automatically process new transactions on a recurring schedule.


Deletion Conflict Resolution​

The app adds a Delete Records option to the standard Deletion-Conflict Resolution enum. When set on an integration table mapping:

  • Deleting a coupled record in Business Central automatically deletes the corresponding record in Dataverse.
  • The coupling record is removed after deletion.

Update Integration Data Report​

Search for Update Integration Data to open a processing report that transfers field values between coupled Business Central and Dataverse records in bulk.

Parameters​

ParameterDescription
Integration Table MappingThe mapping to use. Populates remaining fields automatically.
DirectionTo Integration or From Integration.
Validate Updated FieldWhether to run field validation on the target record after updating. Enabled by default.
Integration Table / Field / FilterSpecifies the Dataverse side: table, source/target field, and an optional record filter.
Table / Field / FilterSpecifies the Business Central side: table, source/target field, and an optional record filter.

The report iterates all records matching the filters, finds coupled records, and transfers the specified field value where it differs.


Permission Sets​

Permission SetDescription
ADMIN (Dataverse Integration - Admin)Full read, insert, modify, and delete access to all app tables, plus execute permission on all objects. Assign to administrators and consultants.
BASIC (Dataverse Integration - Basic)Read-only access to all app tables, plus execute permission on all objects. Assign to standard users who need visibility without configuration rights.