Codeunit 5607 FA Automatic Entry

Base Application, Microsoft.FixedAssets.Ledger

Source AL, 68 lines

src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAAutomaticEntry.Codeunit.allines 11 to 26 of 68, Copyright (c) Microsoft Corporation. MIT

codeunit 5607 "FA Automatic Entry"{    trigger OnRun()    begin    end;    var        FA: Record "Fixed Asset";    procedure AdjustFALedgEntry(var FALedgEntry: Record "FA Ledger Entry")    begin        FA.Get(FALedgEntry."FA No.");        if not FA."Budgeted Asset" then            FALedgEntry.Quantity := 0;        FALedgEntry."Bal. Account Type" := FALedgEntry."Bal. Account Type"::"G/L Account";

All 68 lines

Public procedures 3 in 29

AdjustFALedgEntry(var FALedgEntry: Record "FA Ledger Entry")17-29
AdjustMaintenanceLedgEntry(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")17-29
AdjustGLEntry(var GLEntry: Record "G/L Entry")17-29