Synchronization Mgt. Pub (Synchronization)
Document Central provides public functions to synchronize the document entries of a single record based on the Mapping Header and Record Reference. These functions are available in the codeunit "Synchronization Mgt. Pub" (ID: 5227440) in the namespace Simova.DMS.Archive.Repository.Synchronization.
The following requirements must be met:
- Document Central must be present in the extension as a reference.
- The CORE Setup and DMS Module Setup records must be correctly configured.
- A valid DMS Mapping Header must exist for the records to be synchronized.
SynchronizeSingleRecord
The SynchronizeSingleRecord function synchronizes the document entries of a single record based on the provided Mapping Header and Record Reference.
Parameters
| Var | Name | Data Type | Subtype | Length | Description |
|---|---|---|---|---|---|
| No | ParamRecordSIMDMSUserSetup | Record | "SIM_DMS User Setup" | The User Setup record for the DMS module | |
| No | ParamRecordSIMDMSMappingHeader | Record | "SIM_DMS Mapping Header" | The Mapping Header record for the DMS module | |
| No | ParamRecordRef | RecordRef | The Record Reference of the record to be synchronized | ||
| No | ParamDisplaySyncMessageBoolean | Boolean | Indicates whether to display synchronization messages |
Return Value
| Data Type | Description |
|---|---|
| Boolean | True if the synchronization was successful, False if not |