Codeunit 5657 Make Ins. Coverage Ledg. Entry

Base Application, Microsoft.FixedAssets.Insurance

Source AL, 94 lines

src/Layers/W1/BaseApp/FixedAssets/Insurance/MakeInsCoverageLedgEntry.Codeunit.allines 10 to 25 of 94, Copyright (c) Microsoft Corporation. MIT

codeunit 5657 "Make Ins. Coverage Ledg. Entry"{    Permissions = TableData "Ins. Coverage Ledger Entry" = rm;    trigger OnRun()    begin    end;    procedure CopyFromJnlLine(var InsCoverageLedgEntry: Record "Ins. Coverage Ledger Entry"; var InsuranceJnlLine: Record "Insurance Journal Line")    begin        InsCoverageLedgEntry."User ID" := CopyStr(UserId(), 1, MaxStrLen(InsCoverageLedgEntry."User ID"));        InsCoverageLedgEntry."Insurance No." := InsuranceJnlLine."Insurance No.";        InsCoverageLedgEntry."FA No." := InsuranceJnlLine."FA No.";        InsCoverageLedgEntry."FA Description" := InsuranceJnlLine."FA Description";        InsCoverageLedgEntry."Posting Date" := InsuranceJnlLine."Posting Date";        InsCoverageLedgEntry."Document Type" := InsuranceJnlLine."Document Type";

All 94 lines

Events 1 in 29

[IntegrationEvent] OnAfterCopyFromJnlLine(var InsCoverageLedgerEntry: Record "Ins. Coverage Ledger Entry"; InsuranceJournalLine: Record "Insurance Journal Line")17-29

Public procedures 4 in 29

CopyFromJnlLine(var InsCoverageLedgEntry: Record "Ins. Coverage Ledger Entry"; var InsuranceJnlLine: Record "Insurance Journal Line")17-29
CopyFromInsuranceCard(var InsCoverageLedgEntry: Record "Ins. Coverage Ledger Entry"; var Insurance: Record Insurance)17-29
SetDisposedFA(FANo: Code[20]): Boolean17-29
UpdateInsCoverageLedgerEntryFromFASetup(InsDeprBookCode: Code[10])17-29