Table of Contents

GetBlockChange Procedure

Interface EXT Block Changes

Checks if a specific change on a record should be blocked.

Signature

GetBlockChange(ExternalSystem: Record "QWESR External System"; ExternalSystemSyncSetup: Record "QWESR Ext. Sys. Sync Stp (Tbl)"; var RecRef: RecordRef; ChangeType: Enum "QWESR Ext. Sys. Change Type") : Boolean

Parameters

ExternalSystem Record "QWESR External System"

The External System that has triggered this function.

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

The setup line that triggered this function.

var RecRef RecordRef

The record that has been changed and triggered this function.

ChangeType Enum "QWESR Ext. Sys. Change Type"

The type of the change on RecRef.

Returns

Boolean

true if this change should be prevented and an error should be thrown.

Remarks

If this change is triggered during install or upgrade (ExecutionContext::Upgrade or ExecutionContext::Install) the change will not be blocked, even if this function returns true.

If a change should be blocked anyway, the event "QWESR Ext. System Public API".OnAfterGetBlockChangeOfExternalSystem() can be used.

This documentation is generated from Spider v27.2