Table of Contents

LogModify Procedure

Codeunit Ext. System Public API

Logs a modified record in the External System Change Log for a specified External System. If the record already exists in the Change Log with Type Inserted or Modified, nothing is logged. If the Type of the existing record is Deleted it will be changed to Modified.

Overloads

Name Description
LogModify(Variant; Code[20]) Logs a modified record in the External System Change Log for a specified External System.
LogModify(Variant; Code[20]; Code[20]) Logs a modified record in the External System Change Log for a specified External Subsystem.
LogModify(Variant; Code[20]; Code[20]; Integer) Logs a modified record in the External System Change Log for a specified External Subsystem.
LogModify(Variant; Code[20]; Integer) Logs a modified record in the External System Change Log for a specified External System.

LogModify(Variant; Code[20]) Procedure

Logs a modified record in the External System Change Log for a specified External System. If the record already exists in the Change Log with Type Inserted or Modified, nothing is logged. If the Type of the existing record is Deleted it will be changed to Modified.

Signature

[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External Subsystem", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External System", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Stp (Tbl)", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Chg Log", 'RIM')]
LogModify(Rec: Variant; SystemCode: Code[20])

Parameters

Rec Variant

The Record that should be logged as modified. This could be of data type Record, RecordRef or RecordId.

SystemCode Code[20]

The identifier of the External System.

LogModify(Variant; Code[20]; Code[20]) Procedure

Logs a modified record in the External System Change Log for a specified External Subsystem. If the record already exists in the Change Log with Type Inserted or Modified, nothing is logged. If the Type of the existing record is Deleted it will be changed to Modified.

Signature

[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External Subsystem", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External System", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Stp (Tbl)", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Chg Log", 'RIM')]
LogModify(Rec: Variant; SystemCode: Code[20]; ExternalSubsystemCode: Code[20])

Parameters

Rec Variant

The Record that should be logged as modified. This could be of data type Record, RecordRef or RecordId.

SystemCode Code[20]

The identifier of the External System.

ExternalSubsystemCode Code[20]

The identifier of the Subsystem

LogModify(Variant; Code[20]; Code[20]; Integer) Procedure

Logs a modified record in the External System Change Log for a specified External Subsystem. If the record already exists in the Change Log with Type Inserted or Modified, nothing is logged. If the Type of the existing record is Deleted it will be changed to Modified.

Signature

[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External Subsystem", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External System", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Stp (Tbl)", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Chg Log", 'RIM')]
LogModify(Rec: Variant; SystemCode: Code[20]; ExternalSubsystemCode: Code[20]; SetupLineNo: Integer)

Parameters

Rec Variant

The Record that should be logged as modified. This could be of data type Record, RecordRef or RecordId.

SystemCode Code[20]

The identifier of the External System.

ExternalSubsystemCode Code[20]

The identifier of the Subsystem

SetupLineNo Integer

The line number of the table setup to use. Mandatory if multiple setup lines exist for a table.

LogModify(Variant; Code[20]; Integer) Procedure

Logs a modified record in the External System Change Log for a specified External System. If the record already exists in the Change Log with Type Inserted or Modified, nothing is logged. If the Type of the existing record is Deleted it will be changed to Modified.

Signature

[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External Subsystem", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR External System", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Stp (Tbl)", 'R')]
[InherentPermissions(PermissionObjectType::TableData, Database::"QWESR Ext. Sys. Sync Chg Log", 'RIM')]
LogModify(Rec: Variant; SystemCode: Code[20]; SetupLineNo: Integer)

Parameters

Rec Variant

The Record that should be logged as modified. This could be of data type Record, RecordRef or RecordId.

SystemCode Code[20]

The identifier of the External System.

SetupLineNo Integer

The line number of the table setup to use. Mandatory if multiple setup lines exist for a table.

This documentation is generated from Spider v27.2