Report 5692 "Calculate Depreciation"
Base Application · Microsoft.FixedAssets.Depreciation
Across versions
- BC23present
- BC241 procedures added
- BC25unchanged
- BC261 events changed, 1 events added
- BC271 events added
- BC284 procedures added
- BC29-30unchanged
Neighbourhood 8 connected objects and pages
Base Application · Microsoft.FixedAssets.Depreciation · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Calculate Depreciation |
| UsageCategory | Tasks |
| ApplicationArea | FixedAssets |
Events published
OnAfterCalculateDepreciation(FANo: Code[20]; var TempGenJournalLine: Record "Gen. Journal Line" temporary; var TempFAJournalLine: Record "FA Journal Line" temporary; var DeprAmount: Decimal; var NumberOfDays: Integer; DeprBookCode: Code[10]; DeprUntilDate: Date; EntryAmounts: array[4] of Decimal; DaysInPeriod: Integer)(integration)OnAfterFAInsertGLAccGetBalAcc(var GenJnlLine: Record "Gen. Journal Line"; var GenJnlNextLineNo: Integer; var BalAccount: Boolean; var TempGenJnlLine: Record "Gen. Journal Line")(integration)OnAfterPostDataItem()(integration)OnAfterOnPostReport()(integration)OnBeforeActivateErrorMessageHandling(var FixedAsset: Record "Fixed Asset"; var ErrorMessageMgt: Codeunit "Error Message Management"; var ErrorMessageHandler: Codeunit "Error Message Handler"; var ErrorContextElement: Codeunit "Error Context Element"; var IsHandled: Boolean)Δ BC26 (integration)OnBeforeCalculateDepreciation(FANo: Code[20]; var TempGenJournalLine: Record "Gen. Journal Line" temporary; var TempFAJournalLine: Record "FA Journal Line" temporary; var DeprAmount: Decimal; var NumberOfDays: Integer; DeprBookCode: Code[10]; DeprUntilDate: Date; EntryAmounts: array[4] of Decimal; DaysInPeriod: Integer)(integration)OnBeforeFAJnlLineInsert(var TempFAJournalLine: Record "FA Journal Line" temporary; var FAJournalLine: Record "FA Journal Line")(integration)OnBeforeGenJnlLineInsert(var TempGenJournalLine: Record "Gen. Journal Line" temporary; var GenJournalLine: Record "Gen. Journal Line")(integration)OnBeforeOnInitReport(var DeprBookCode: Code[10])(integration)OnPostReportOnBeforeConfirmShowFAJournalLines(DeprBook: Record "Depreciation Book"; FAJnlLine: Record "FA Journal Line"; FAJnlLineCreatedCount: Integer; var IsHandled: Boolean)(integration)OnPostReportOnBeforeConfirmShowGenJournalLines(DeprBook: Record "Depreciation Book"; GenJnlLine: Record "Gen. Journal Line"; GenJnlLineCreatedCount: Integer; var IsHandled: Boolean)(integration)- subscribers: Codeunit 5609 “Create FA Jnl. Lines” ConfirmShowGenJournalLines
OnBeforeGenJnlLineCreate(var TempGenJournalLine: Record "Gen. Journal Line" temporary; var GenJournalLine: Record "Gen. Journal Line"; DocumentNo: Code[20]; var AutoDocumentNo: Code[20])+ BC26 − BC26 (integration)OnPostFixedAssetOnAfterFAJnlLineInit(var TempFAJournalLine: Record "FA Journal Line" temporary; var FAJournalLine: Record "FA Journal Line"; DocumentNo: Code[20]; var AutoDocumentNo: Code[20])+ BC27 (integration)
Procedures
InitializeRequest(DeprBookCodeFrom: Code[10]; DeprUntilDateFrom: Date; UseForceNoOfDaysFrom: Boolean; DaysInPeriodFrom: Integer; PostingDateFrom: Date; DocumentNoFrom: Code[20]; PostingDescriptionFrom: Text[100]; BalAccountFrom: Boolean)SetSuppressCommit(NewSuppressCommmit: Boolean)+ BC24
Plus 5 local procedures.
Triggers
OnInitReport, OnPostReport, OnPreReport
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 29 “Error Message Handler” (2 calls:
OnPostReport → HasErrors,OnPostReport → ShowErrors) - Codeunit 27 “Confirm Management” (1 call:
OnPostReport → GetResponse) - Codeunit 28 “Error Message Management” (1 call:
ActivateErrorMessageHandling → Activate) - Codeunit 5601 “FA Insert G/L Account” (1 call:
InsertBonusDepreciationGenJnlLine → GetBalAcc) - Page 5628 “Fixed Asset G/L Journal” (1 call:
OnPostReport → (object)) - Page 5629 “Fixed Asset Journal” (1 call:
OnPostReport → (object))
Countries that replace it
Documented on Microsoft Learn
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: "report", object_name: "Calculate Depreciation"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.