Show / Hide Table of Contents

    OnBeforeDirectSync Event

    Codeunit Ext. System Public API

    Raised before a Direct Synchronization is being performed for a record change.

    Signature

    [IntegrationEvent(false, false)]
    OnBeforeDirectSync(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 synchronization and that the regular synchronization 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 v25.2.234077.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX