OnBeforeDirectSyncPreTest Event
Codeunit Ext. System Public API
Raised before any pre-tests is being performed during a Direct Synchronization for a record change.
Signature
[IntegrationEvent(false, false)]
OnBeforeDirectSyncPreTest(ExternalSystem: Record "QWESR External System"; 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 has triggered this synchronization.
ExternalSubsystemCode
Code[20]
The external subsystem that has triggered this synchronization. This is blank if the external system does not have any subsystems.
var RecRef
RecordRef
The record that just been changed and that triggered this synchronization.
ChangeType
Enum "QWESR Ext. Sys. Change Type"
The type of change that is being made on RecRef.
var IsHandled
Boolean
Should be set to true if the subscriber handles the pre-tests and that the regular tests should be omitted. Should be honored if already set. (Handled Pattern)
Remarks
A Direct Synchronization is when a change on a record triggers the synchronization to be performed directly, without first logging the change. If a Direct Synchronization fails, the change that triggered the synchronization will also fail.
This documentation is generated from Spider v24.1.207985.0