Show / Hide Table of Contents

    OnBeforeCheckIfRecordShouldBeHandled Event

    Codeunit Ext. System Public API

    Raised before the check is made for whether the record change should be handled or not.

    Signature

    [IntegrationEvent(false, false)]
    OnBeforeCheckIfRecordShouldBeHandled(SystemCode: Code[20]; ExternalSystemSyncSetup: Record "QWESR Ext. Sys. Sync Stp (Tbl)"; var RecRef: RecordRef; ChangeType: Enum "QWESR Ext. Sys. Change Type"; IsWithinFilter: Boolean; var RecordShouldBeHandled: Boolean; var IsHandled: Boolean)
    

    Parameters

    SystemCode Code[20]

    The code of the External System that this change will be handled for.

    ExternalSystemSyncSetup Record "QWESR Ext. Sys. Sync Stp (Tbl)"

    The setup table that caused that this check is being made.

    var RecRef RecordRef

    The record that has changed.

    ChangeType Enum "QWESR Ext. Sys. Change Type"

    The type of change that has occurred.

    IsWithinFilter Boolean

    Specifies if this record is within any filter set for this ExternalSystemSyncSetup.

    var RecordShouldBeHandled Boolean

    Set this to true if this change should be handled and any other checks overridden. This value is only in effect if IsHandled is set to true.

    var IsHandled Boolean

    Should be set to true if the subscriber handles the check if this record change should be handled. Should be honored if already set. (Handled Pattern)

    Remarks

    Only change the value of RecordShouldBeHandled if IsHandled is set to true.

    A record change can be handled in different ways, depending on the External System. The handling can be that a change log entry is created, a direct synchronization is performed, a change is blocked etc.

    This documentation is generated from Spider v25.2.234077.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX