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
| Field | Description |
|---|---|
| Dimension Matching Rule | Controls 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 Zone | The 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 Mapping | When 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 Mapping | When 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 Dims | When enabled, job task dimensions are automatically updated from parent job dimensions during integration synchronisation involving job-type records. |
Item – Product Integration
| Field | Description |
|---|---|
| Item Cost Integration Mapping | Determines 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
| Action | Description |
|---|---|
| Create Dimension Synchronization Job | Creates 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 Mappings | Opens the Default Table Mappings page where you can review and manage the saved snapshot of your integration table and field mappings. |
| Dimension Mapping | Opens the Dimension Mapping page to configure which Dataverse tables supply dimension values. |
| Transaction Types | Opens 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
| Column | Description |
|---|---|
| Failed Records | Number of records that failed during the last synchronisation run. Drill down to view the error list. |
| Skipped Records | Number of records skipped during the last synchronisation run. Drill down to view skipped records. |
| Failed Custom Processes | Number of custom processes that failed. Drill down for details. |
| Unprocessed Records | Number of records not yet processed. Drill down to view them. |
| Job Queue Status | Current status of the job queue entry for this mapping. Drill down to open the job queue entry. |
| Use Table SystemID | When 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 Filter | A filter on the Business Central table that identifies records awaiting processing. Use the assist-edit to build the filter visually. |
Additional Actions
| Action | Description |
|---|---|
| Refresh | Refreshes the page data to show current synchronisation counts. |
| Dimension Mapping | Opens the Integration Dimension Mapping page filtered to the selected mapping. |
| Recreate Job Queue Entry | Re-creates the recurring synchronisation job queue entry for the selected mapping. |
| Default Templates | Opens the Integration Table Templates page filtered to the selected mapping. |
| Manual Coupling | Runs the coupling process in the foreground for the selected mapping. |
| Save Default Settings | Takes a snapshot of the current mapping configuration and saves it as the default. |
| Apply Default Settings | Restores the selected mapping from the saved default snapshot. |
| Use Default Advanced Integration | Applies 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:
| Field | Description |
|---|---|
| Validate Field After Integration | When 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.
| Field | Description |
|---|---|
| Direction | Whether the template applies when synchronising To Integration Table or From Integration Table. |
| Apply Filter To | Whether the filter condition is evaluated against the Business Central record or the Dataverse (Integration) record. Auto-set based on direction. |
| Table Filter | A filter that determines which records the template is applied to. Use the assist-edit button to build the filter visually. |
| Template Code | The Config. Template Header code to apply when the filter condition matches. |
| Use Template For | Controls whether the template is applied only on Insert or on both Insert and Modify. |
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.
| Field | Description |
|---|---|
| Dimension Code | The 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 Name | Auto-populated display name of the selected table. |
| Table Filter | Optional 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)
| Field | Description |
|---|---|
| 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.
| Field | Description |
|---|---|
| Dimension Code | The 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 Posting | The posting rule applied when setting the dimension (e.g., Code Mandatory). |
| Default Dimension Value Required | When 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
| Field | Description |
|---|---|
| Code | A unique code identifying the job group. |
| Description | A description of the job group's purpose. |
Job Group Lines
Each line specifies one step in the execution sequence.
| Field | Description |
|---|---|
| Type | Job — 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. |
| Code | The integration table mapping name (for Job/Direct) or nested job group code (for Group). |
| Synch. Codeunit ID | The codeunit executed for this step. Auto-populated from the mapping when a code is selected. Editable only when Code is blank. |
| Run Order | The execution order within the group. Lower values execute first. Auto-assigned in increments of 10. |
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.
| Field | Description |
|---|---|
| Code | A unique code matching the transaction type sent from Dataverse. |
| Description | A description of the transaction type. |
| Processing XMLport ID | The XMLport used to import and process transactions of this type. |
| Enabled | Whether this transaction type is active. An XMLport must be assigned before enabling. |
Transactions List
Search for Transactions to view all received transaction messages.
| Column | Description |
|---|---|
| Transaction Id | The unique ID assigned by Dataverse. |
| Transaction Type | The type code that determines processing. |
| Status | Current state: New (awaiting processing), Completed, Error, or Suspended. Change the status to Suspended to skip a transaction, or back to New to reprocess. |
| Created At | When the transaction was created. |
| Processing Duration | Time taken to process. |
| Search Text | Searchable 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
| Parameter | Description |
|---|---|
| Integration Table Mapping | The mapping to use. Populates remaining fields automatically. |
| Direction | To Integration or From Integration. |
| Validate Updated Field | Whether to run field validation on the target record after updating. Enabled by default. |
| Integration Table / Field / Filter | Specifies the Dataverse side: table, source/target field, and an optional record filter. |
| Table / Field / Filter | Specifies 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 Set | Description |
|---|---|
| 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. |