Codeunit 5606 FA Check Consistency

Base Application, Microsoft.FixedAssets.FixedAsset

Source AL, 577 lines

src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FACheckConsistency.Codeunit.allines 15 to 30 of 577, Copyright (c) Microsoft Corporation. MIT

codeunit 5606 "FA Check Consistency"{    Permissions = TableData "FA Ledger Entry" = r,                  TableData "FA Posting Type Setup" = r,                  TableData "FA Depreciation Book" = rm,                  TableData "Maintenance Ledger Entry" = rm,                  TableData "Ins. Coverage Ledger Entry" = rm;    TableNo = "FA Ledger Entry";    trigger OnRun()    var        IsHandled: Boolean;    begin        IsHandled := false;        OnBeforeRun(Rec, IsHandled);        if IsHandled then

All 577 lines

Events 20 in 29

[IntegrationEvent] OnBeforeCheckForError(FALedgEntry2: Record "FA Ledger Entry"; var FAJnlLine: Record "FA Journal Line"; FAPostingTypeSetup: Record "FA Posting Type Setup"; NewAmount: Decimal; BookValue: Decimal; SalvageValue: Decimal; DeprBasis: Decimal; var IsHandled: Boolean)17-29
[IntegrationEvent] OnCheckNormalPostingOnAfterSetFALedgerEntryFilters(var FALedgerEntry: Record "FA Ledger Entry"; FANo: Code[20]; DepreciationBookCode: Code[10])17-29
[IntegrationEvent] OnSetFAPostingDateOnBeforeFADeprBookModify(var FADepreciationBook: Record "FA Depreciation Book"; var FALedgerEntry: Record "FA Ledger Entry"; MaxDate: Date; MinDate: Date; GLDate: Date)17-29
[IntegrationEvent] OnCheckSalesPostingOnAfterSetFALedgerEntryFilters(var FALedgerEntry: Record "FA Ledger Entry"; FANo: Code[20]; DepreciationBookCode: Code[10])new in 20
[IntegrationEvent] OnCheckSalesPostingOnBeforeFirstFind(var FALedgerEntry: Record "FA Ledger Entry"; FANo: Code[20]; DepreciationBookCode: Code[10])new in 20
[IntegrationEvent] OnBeforeCreateDisposerError(FixedAsset: Record "Fixed Asset"; DeprBookCode: Code[10]; var IsHandled: Boolean; FALedgerEntry: Record "FA Ledger Entry")new in 20
[IntegrationEvent] OnCheckNormalPostingOnBeforeCalcSumsForBookValue(var FALedgerEntry: Record "FA Ledger Entry"; FAPostingDate: Date)new in 21

All 22 events in 17-29

Public procedures 2 in 29

SetFAPostingDate(var FALedgEntry2: Record "FA Ledger Entry"; LocalCall: Boolean)17-29
CheckDisposalDate(FADeprBook: Record "FA Depreciation Book"; FixedAsset: Record "Fixed Asset")17-29

Changes 1 in 23

List17181920212223242526272829
Events242121
[IntegrationEvent] OnSetFAPostingDateOnAfterSetFALedgerEntryFilters(FANo: Code[20]; DepreciationBookCode: Code[10]; var FALedgerEntry: Record "FA Ledger Entry"; var FALedgerEntry2: Record "FA Ledger Entry")new in 23
added

All 21 changes in 17-29