Table of Contents

OnAfterGetBlockChangeOfExternalSystem Event

Codeunit Ext. System Public API

Raised after the check is being made to if a record change should be blocked not.

Signature

[IntegrationEvent(false, false)]
OnAfterGetBlockChangeOfExternalSystem(ExternalSystem: Record "QWESR External System"; ExternalSystemSyncSetup: Record "QWESR Ext. Sys. Sync Stp (Tbl)"; var RecRef: RecordRef; ChangeType: Enum "QWESR Ext. Sys. Change Type"; var BlockChange: Boolean)

Parameters

ExternalSystem Record "QWESR External System"

The external system that has triggered this check.

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

The setup line that triggered this check.

var RecRef RecordRef

The record that has been changed and triggered this check.

ChangeType Enum "QWESR Ext. Sys. Change Type"

The type of the change on RecRef.

var BlockChange Boolean

Set this to true if this change should be prevented and an error should be thrown. Set this to false to allow the record change.

Important: Any changes to this parameter will override the default functionality for this check.

Remarks

Important: Be careful when doing any changes to BlockChange. Blocking a change during install or upgrade would prevent the installation or upgrade to successfully complete.

This documentation is generated from Spider v27.2