Table of Contents

Ext. System Public API

Contains public functions and events for External Systems.

Object Definition

Object TypeCodeunit
Object ID70314119
Object NameQWESR Ext. System Public API

Procedures

Name Description
CreateAllChangeLogEntries(Code[20]; Boolean) Creates change log entries for all records in all tables configured for the provided External System.
CreateAllChangeLogEntries(Code[20]; Code[20]; Boolean) Creates change log entries for all records in all tables configured for the provided External System and External Subsystem.
GetChangedRecords(Code[20]; Code[20]; Guid; Record "QWESR EXT Sync Record" temporary): Integer Gets any changed records for the given External System.
GetChangedRecords(Code[20]; Guid; Record "QWESR EXT Sync Record" temporary): Integer Gets any changed records for the given External System.
LogDelete(Variant; Code[20]) Logs a deleted record in the External System Change Log for a specified External System.
LogDelete(Variant; Code[20]; Code[20]) Logs a deleted record in the External System Change Log for a specified External Subsystem.
LogDelete(Variant; Code[20]; Code[20]; Integer) Logs a deleted record in the External System Change Log for a specified External Subsystem.
LogDelete(Variant; Code[20]; Integer) Logs a deleted record in the External System Change Log for a specified External System.
LogInsert(Variant; Code[20]) Logs an inserted record in the External System Change Log for a specified External System.
LogInsert(Variant; Code[20]; Code[20]) Logs an inserted record in the External System Change Log for a specified External Subsystem.
LogInsert(Variant; Code[20]; Code[20]; Integer) Logs an inserted record in the External System Change Log for a specified External Subsystem.
LogInsert(Variant; Code[20]; Integer) Logs an inserted record in the External System Change Log for a specified External System.
LogModify(Variant; Code[20]) Logs a modified record in the External System Change Log for a specified External System.
LogModify(Variant; Code[20]; Code[20]) Logs a modified record in the External System Change Log for a specified External Subsystem.
LogModify(Variant; Code[20]; Code[20]; Integer) Logs a modified record in the External System Change Log for a specified External Subsystem.
LogModify(Variant; Code[20]; Integer) Logs a modified record in the External System Change Log for a specified External System.
MoveChangedRecordsToHistory(Code[20]; Guid) Moves the Change Log records associated with the FetchId to the History tables.
SyncExternalSystemFromLog(Code[20]) Synchronizes the provided External System with all entries saved in the change log.
SyncExternalSystemFromLog(Code[20]; Code[20]) Synchronizes the provided External Subsystem with all entries saved in the change log.

Events

Name Description
OnAfterDirectSync(Record "QWESR External System"; Code[20]; RecordRef; Enum "QWESR Ext. Sys. Change Type") Raised after all synchronizations has been performed during a Direct Synchronization for a record change.
OnAfterDirectSyncPreTest(Record "QWESR External System"; Code[20]; RecordRef; Enum "QWESR Ext. Sys. Change Type") Raised after all pre-tests has been performed during a Direct Synchronization for a record change.
OnAfterFullSync(Record "QWESR External System"; Code[20]; Integer; Enum "QWESR Full Sync. Response") Raised after a full synchronization has been performed.
OnAfterGetBlockChangeOfExternalSystem(Record "QWESR External System"; Record "QWESR Ext. Sys. Sync Stp (Tbl)"; RecordRef; Enum "QWESR Ext. Sys. Change Type"; Boolean) Raised after the check is being made to if a record change should be blocked not.
OnAfterSyncFromLog(Record "QWESR External System"; Code[20]; Integer; Integer) Raised after a synchronization from log has been performed.
OnBeforeCheckIfRecordShouldBeHandled(Code[20]; Record "QWESR Ext. Sys. Sync Stp (Tbl)"; RecordRef; Enum "QWESR Ext. Sys. Change Type"; Boolean; Boolean; Boolean) Raised before the check is made for whether the record change should be handled or not.
OnBeforeDirectSync(Record "QWESR External System"; Code[20]; RecordRef; Enum "QWESR Ext. Sys. Change Type"; Boolean) Raised before a Direct Synchronization is being performed for a record change.
OnBeforeDirectSyncPreTest(Record "QWESR External System"; Code[20]; RecordRef; Enum "QWESR Ext. Sys. Change Type"; Boolean) Raised before any pre-tests is being performed during a Direct Synchronization for a record change.

This documentation is generated from Spider v27.2