Show / Hide Table of Contents

    LogInsert Procedure

    Codeunit Ext. System Public API

    Logs an inserted record in the External System Change Log for a specified External System. If the record already exists in the Change Log, the Type of the existing record will be changed to Inserted instead of inserting a new record.

    Overloads

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

    LogInsert(Variant; Code[20]) Procedure

    Logs an inserted record in the External System Change Log for a specified External System. If the record already exists in the Change Log, the Type of the existing record will be changed to Inserted instead of inserting a new record.

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

    Parameters

    Rec Variant

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

    SystemCode Code[20]

    The identifier of the External System.

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

    Logs an inserted record in the External System Change Log for a specified External Subsystem. If the record already exists in the Change Log, the Type of the existing record will be changed to Inserted instead of inserting a new record.

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

    Parameters

    Rec Variant

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

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

    Logs an inserted record in the External System Change Log for a specified External Subsystem. If the record already exists in the Change Log, the Type of the existing record will be changed to Inserted instead of inserting a new record.

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

    Parameters

    Rec Variant

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

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

    Logs an inserted record in the External System Change Log for a specified External System. If the record already exists in the Change Log, the Type of the existing record will be changed to Inserted instead of inserting a new record.

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

    Parameters

    Rec Variant

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

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX