Source AL, 1,001 lines
src/Layers/W1/BaseApp/FixedAssets/FixedAsset/FAInsertGLAccount.Codeunit.allines 16 to 31 of 1,001, Copyright (c) Microsoft Corporation. MIT
codeunit 5601 "FA Insert G/L Account"{ TableNo = "FA Ledger Entry"; trigger OnRun() var DisposalEntry: Boolean; IsHandled: Boolean; begin Clear(FAGLPostBuf); DisposalEntry := (Rec."FA Posting Category" = Rec."FA Posting Category"::" ") and (Rec."FA Posting Type" = Rec."FA Posting Type"::"Proceeds on Disposal"); if not BookValueEntry then BookValueEntry := (Rec."FA Posting Category" = Rec."FA Posting Category"::Disposal) and
All 1,001 lines
Events 43 in 29
| [IntegrationEvent] OnAfterCopyFAGLPostBufFromFALederEntry(var FAGLPostingBuffer: Record "FA G/L Posting Buffer"; FALedgerEntry: Record "FA Ledger Entry") | 17-29 |
| [IntegrationEvent] OnAfterInsertBalAcc(var FALedgerEntry: Record "FA Ledger Entry") | 17-29 |
| [IntegrationEvent] OnBeforeFillAllocationBuffer(var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary; var NextEntryNo: Integer; var GLEntryNo: Integer; var NumberOfEntries: Integer; var OrgGenJnlLine: Boolean; var NetDisp: Boolean; GLAccNo: Code[20]; FAPostingType: Option Acquisition,Depr,WriteDown,Appr,Custom1,Custom2,Disposal,Maintenance,Gain,Loss,"Book Value Gain","Book Value Loss"; AllocAmount: Decimal; DeprBookCode: Code[10]; PostingGrCode: Code[20]; GlobalDim1Code: Code[20]; GlobalDim2Code: Code[20]; DimSetID: Integer; AutomaticEntry: Boolean; Correction: Boolean; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnBeforeGetBalAccLocal(var GenJournalLine: Record "Gen. Journal Line") | 17-29 |
| [IntegrationEvent] OnBeforeInsertBalAcc(var FALedgerEntry: Record "FA Ledger Entry") | 17-29 |
| [IntegrationEvent] OnInsertMaintenanceAccNoOnBeforeInsertBufferEntry(var FAGLPostBuf: Record "FA G/L Posting Buffer"; var MaintenanceLedgEntry: Record "Maintenance Ledger Entry") | 17-29 |
| [IntegrationEvent] OnBeforeTempFAGLPostBufModify(var FAPostingGroup: Record "FA Posting Group"; var TempFAGLPostingBuffer: Record "FA G/L Posting Buffer" temporary; GLAmount: Decimal) | 17-29 |
All 48 events in 17-29
Public procedures 14 in 29
| InsertMaintenanceAccNo(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry") | 17-29 |
| InsertBalAcc(var FALedgEntry: Record "FA Ledger Entry") | 17-29 |
| GetBalAccBuffer(var GenJnlLine: Record "Gen. Journal Line"): Integer | 17-29 |
| GetBalAcc(GenJnlLine: Record "Gen. Journal Line"): Integer | 17-29 |
| GetBalAcc(var GenJnlLine: Record "Gen. Journal Line"; var NextLineNo2: Integer) | 17-29 |
| GetBalAccWithBalAccountInfo(GenJnlLine: Record "Gen. Journal Line"; BalAccountType: Option; BalAccountNo: Code[20]) | 17-29 |
All 14 procedures
Changes 2 in 25
All 42 changes in 17-29