OnBeforeInsertLogEntry Event
Codeunit Ext. System Public API
Raised before a log entry is initialized and inserted or before any direct synchronization is triggered. Subscribers can prevent all processing (both log entry creation and direct synchronization) for the current sync cycle by setting IsHandled to true.
Signature
[IntegrationEvent(false, false)]
OnBeforeInsertLogEntry(ExternalSystem: Record "QWESR External System"; ExternalSystemSyncSetup: Record "QWESR Ext. Sys. Sync Stp (Tbl)"; ExternalSubsystemCode: Code[20]; var RecRef: RecordRef; ChangeType: Enum "QWESR Ext. Sys. Change Type"; var IsHandled: Boolean)
Parameters
ExternalSystem Record "QWESR External System"
The external system that is being processed.
ExternalSystemSyncSetup Record "QWESR Ext. Sys. Sync Stp (Tbl)"
The setup table that triggered processing of this record.
ExternalSubsystemCode Code[20]
The external subsystem code for this sync cycle. Empty if no subsystems are defined.
var RecRef RecordRef
The record being processed.
ChangeType Enum "QWESR Ext. Sys. Change Type"
The type of change being processed (Insert, Modify, Delete).
var IsHandled Boolean
Set to true to skip both log entry insertion and direct synchronization for this record. Should be honored if already set. (Handled Pattern)
This documentation is generated from Spider v27.4