Table of Contents

LogDelete Procedure

Codeunit Ext. System Public API

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

Overloads

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

LogDelete(Variant; Code[20]) Procedure

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

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", 'RIMD')]
LogDelete(Rec: Variant; SystemCode: Code[20])

Parameters

Rec Variant

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

SystemCode Code[20]

The identifier of the External System.

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

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

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", 'RIMD')]
LogDelete(Rec: Variant; SystemCode: Code[20]; ExternalSubsystemCode: Code[20])

Parameters

Rec Variant

The Record that should be logged as deleted. 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

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

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

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", 'RIMD')]
LogDelete(Rec: Variant; SystemCode: Code[20]; ExternalSubsystemCode: Code[20]; SetupLineNo: Integer)

Parameters

Rec Variant

The Record that should be logged as deleted. 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.

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

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

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", 'RIMD')]
LogDelete(Rec: Variant; SystemCode: Code[20]; SetupLineNo: Integer)

Parameters

Rec Variant

The Record that should be logged as deleted. 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