Source AL, 101 lines
src/Layers/W1/BaseApp/FixedAssets/Depreciation/CalculateDepreciation.Codeunit.allines 7 to 22 of 101, Copyright (c) Microsoft Corporation. MIT
codeunit 5610 "Calculate Depreciation"{ trigger OnRun() begin end; var DeprBook: Record "Depreciation Book"; FADeprBook: Record "FA Depreciation Book"; CalculateNormalDepr: Codeunit "Calculate Normal Depreciation"; CalculateCustom1Depr: Codeunit "Calculate Custom 1 Depr."; procedure Calculate(var DeprAmount: Decimal; var Custom1Amount: Decimal; var NumberOfDays: Integer; var Custom1NumberOfDays: Integer; FANo: Code[20]; DeprBookCode: Code[10]; UntilDate: Date; EntryAmounts: array[4] of Decimal; DateFromProjection: Date; DaysInPeriod: Integer) var IsHandled: Boolean;
All 101 lines
Events 3 in 29
| [IntegrationEvent] OnBeforeCalculate(var DeprAmount: Decimal; var Custom1Amount: Decimal; var NumberOfDays: Integer; var Custom1NumberOfDays: Integer; FANo: Code[20]; DeprBookCode: Code[10]; UntilDate: Date; EntryAmounts: array[4] of Decimal; DateFromProjection: Date; DaysInPeriod: Integer; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnBeforeCheckDeprDaysInFiscalYear(FADeprBook: Record "FA Depreciation Book"; CheckDeprDays: Boolean; UntilDate: Date; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnAfterCalcDeprYearCalculateAdditionalDepr2ndYear(var DeprAmount: Decimal; FANo: Code[20]; DepreBookCode: Code[10]) | new in 18 |
Public procedures 1 in 29
| Calculate(var DeprAmount: Decimal; var Custom1Amount: Decimal; var NumberOfDays: Integer; var Custom1NumberOfDays: Integer; FANo: Code[20]; DeprBookCode: Code[10]; UntilDate: Date; EntryAmounts: array[4] of Decimal; DateFromProjection: Date; DaysInPeriod: Integer) | 17-29 |
Changes 1 in 18
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | 1 | | | | | | | | | | | |
|---|
All 1 changes in 17-29