Codeunit 5632 "FA Jnl.-Post Line"
Base Application · Microsoft.FixedAssets.Posting
Across versions
- BC23present
- BC243 events added, 1 events changed
- BC252 events added
- BC26-27unchanged
- BC281 events added
- BC29-30unchanged
Neighbourhood 13 connected objects and pages
Base Application · Microsoft.FixedAssets.Posting · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “FA Ledger Entry” = r, TableData “FA Register” = rm, TableData “Maintenance Ledger Entry” = r, TableData “Ins. Coverage Ledger Entry” = r |
Events published
OnAfterFAJnlPostLine(var FAJournalLine: Record "FA Journal Line")(integration)OnAfterGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line")(integration)OnAfterPostDisposalEntry(var FALedgEntry: Record "FA Ledger Entry"; DeprBook: Record "Depreciation Book"; FANo: Code[20]; var FAInsertLedgEntry: Codeunit "FA Insert Ledger Entry")(integration)OnAfterPostFixedAsset(var FA: Record "Fixed Asset"; FALedgEntry: Record "FA Ledger Entry")(integration)- subscribers: Codeunit 6284 “Sust. FA Post Subscriber” OnAfterPostFixedAsset
OnBeforeFAJnlPostLine(var FAJournalLine: Record "FA Journal Line"; var FAInsertLedgerEntry: Codeunit "FA Insert Ledger Entry"; CheckLine: Boolean; var IsHandled: Boolean)(integration)OnBeforeGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line"; var FAInsertLedgerEntry: Codeunit "FA Insert Ledger Entry"; FAAmount: Decimal; VATAmount: Decimal; NextTransactionNo: Integer; NextGLEntryNo: Integer; GLRegisterNo: Integer; var IsHandled: Boolean)(integration)OnBeforePostAllocation(var FALedgEntry: Record "FA Ledger Entry"; var IsHandled: Boolean)+ BC24 (integration)OnBeforePostBudgetAsset(var FALedgerEntry: Record "FA Ledger Entry"; BudgetNo: Code[20]; var IsHandled: Boolean)(integration)OnBeforePostReverseType(var FALedgEntry: Record "FA Ledger Entry")(integration)OnBeforePostDeprUntilDate(var FALedgEntry: Record "FA Ledger Entry"; var FAPostingDate: Date; Type: Option; var IsHandled: Boolean)Δ BC24 (integration)OnBeforePostDisposalEntry(var FALedgEntry: Record "FA Ledger Entry"; DeprBook: Record "Depreciation Book"; FANo: Code[20]; ErrorEntryNo: Integer; var IsHandled: Boolean; var FAInsertLedgEntry: Codeunit "FA Insert Ledger Entry")(integration)OnBeforePostFixedAsset(FANo: Code[20]; DeprBookCode: Code[10]; FAPostingType: Enum "FA Journal Line FA Posting Type"; FALedgEntry: Record "FA Ledger Entry"; var IsHandled: Boolean)+ BC24 (integration)OnBeforePostMaintenanceFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var FALedgerEntry: Record "FA Ledger Entry"; FAAmount: Decimal; VATAmount: Decimal)+ BC24 (integration)OnBeforePostFixedAssetFromGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var FALedgerEntry: Record "FA Ledger Entry"; FAAmount: Decimal; VATAmount: Decimal; GLRegisterNo: Integer)(integration)OnPostFixedAssetOnBeforeInsertEntry(var FALedgEntry: Record "FA Ledger Entry")(integration)OnPostSalvageValueOnBeforeInsertEntry(var FALedgEntry: Record "FA Ledger Entry")(integration)OnPostMaintenanceOnBeforeInsertEntry(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")(integration)OnPostBudgetAssetOnBeforeFixedAssetTestField(var FALedgEntry: Record "FA Ledger Entry"; BudgetNo: Code[20]; var SkipTestFieldsBlockedAndInactive: Boolean)+ BC28 (integration)OnPostBudgetAssetOnBeforeInsertMaintenanceLedgEntry(var MaintenanceLedgEntry: Record "Maintenance Ledger Entry")(integration)OnPostBudgetAssetOnBeforeInsertFAEntry(var FALedgEntry: Record "FA Ledger Entry")(integration)OnAfterPostAllocation(var FALedgerEntry: Record "FA Ledger Entry")(integration)OnBeforePostGLBalAcc(FALedgerEntry: Record "FA Ledger Entry"; var AllocatedPct: Decimal)(integration)OnPostFixedAssetPostDisposalEntryForOtherFAPostingType(FAPostingType: Enum "FA Journal Line FA Posting Type"; var IsHandled: Boolean)(integration)OnBeforeDeprLine(FAPostingType: Enum "FA Journal Line FA Posting Type"; DeprUntilDate: Boolean; Amount2: Decimal; var IsHandled: Boolean; var Result: Boolean)(integration)OnBeforeUpdateRegNo(GLRegNo: Integer; var IsHandled: Boolean)(integration)OnPostFixedAssetOnBeforeFixedAssetTestField(FALedgerEntry: Record "FA Ledger Entry"; Amount2: Decimal; var IsHandled: Boolean)(integration)OnPostDisposalEntryOnAfterPostDisposalType(var FAInsertLedgerEntry: Codeunit "FA Insert Ledger Entry"; var FALedgerEntry: Record "FA Ledger Entry"; DisposalType: Option; EntryAmounts: array[14] of Decimal)(integration)OnSetResultOnDisposalOnAfterCalcGainLoss(var FADepreciationBook: Record "FA Depreciation Book")+ BC25 (integration)OnCalcResultOnDisposalOnAfterCalcGainLoss(var FADepreciationBook: Record "FA Depreciation Book")+ BC25 (integration)
Procedures
FAJnlPostLine(FAJnlLine: Record "FA Journal Line"; CheckLine: Boolean)GenJnlPostLine(GenJnlLine: Record "Gen. Journal Line"; FAAmount: Decimal; VATAmount: Decimal; NextTransactionNo: Integer; NextGLEntryNo: Integer; GLRegisterNo: Integer)PostReverseType(FALedgEntry: Record "FA Ledger Entry")PostGLBalAcc(FALedgEntry: Record "FA Ledger Entry"; AllocatedPct: Decimal)FindFirstGLAcc(var FAGLPostBuf: Record "FA G/L Posting Buffer"): BooleanGetNextGLAcc(var FAGLPostBuf: Record "FA G/L Posting Buffer"): IntegerSetResultOnDisposal(var FALedgEntry: Record "FA Ledger Entry")UpdateRegNo(GLRegNo: Integer)
Plus 13 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 5600 “FA Insert Ledger Entry” (24 calls:
FAJnlPostLine → SetGLRegisterNo,FindFirstGLAcc → FindFirstGLAcc,GenJnlPostLine → CopyRecordLinksToFALedgEntry, …) - Codeunit 5605 “Calculate Disposal” (8 calls:
PostDisposalEntry → CalcGainLoss,PostDisposalEntry → CalcSecondGainLoss,PostDisposalEntry → GetDisposalType, …) - Codeunit 5604 “Make FA Ledger Entry” (3 calls:
FAJnlPostLine → CopyFromFAJnlLine,GenJnlPostLine → CopyFromGenJnlLine,PostFixedAsset → CopyFromFACard) - Codeunit 5647 “Make Maintenance Ledger Entry” (3 calls:
FAJnlPostLine → CopyFromFAJnlLine,GenJnlPostLine → CopyFromGenJnlLine,PostMaintenance → CopyFromFACard) - Codeunit 5640 “Duplicate Depr. Book” (2 calls:
FAJnlPostLine → DuplicateFAJnlLine,GenJnlPostLine → DuplicateGenJnlLine) - Codeunit 5610 “Calculate Depreciation” (1 call:
PostDeprUntilDate → Calculate) - Codeunit 5613 “Calculate Acq. Cost Depr.” (1 call:
PostDeprUntilDate → DeprCalc) - Codeunit 5616 “Depreciation Calculation” (1 call:
FAName → FAName) - Codeunit 5631 “FA Jnl.-Check Line” (1 call:
FAJnlPostLine → CheckFAJnlLine) - Codeunit 6200 “Non-Deductible VAT” (1 call:
PostDeprUntilDate → IsNonDedFALedgEntryInFirstAcquisition)
Called by
- Codeunit 12 “Gen. Jnl.-Post Line” (7 calls:
PostFAJnlLineWithGLEntryBufUpdate → FindFirstGLAcc,PostFAJnlLineWithGLEntryBufUpdate → GenJnlPostLine,PostFAJnlLineWithGLEntryBufUpdate → GetNextGLAcc, …) - Codeunit 5633 “FA Jnl.-Post Batch” (1 call:
PostLines → FAJnlPostLine)
Countries that replace it
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "FA Jnl.-Post Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.