Source AL, 203 lines
src/Layers/W1/BaseApp/FixedAssets/Depreciation/TableDeprCalculation.Codeunit.allines 9 to 24 of 203, Copyright (c) Microsoft Corporation. MIT
codeunit 5618 "Table Depr. Calculation"{ trigger OnRun() begin end; var AccountingPeriod: Record "Accounting Period"; DeprBook: Record "Depreciation Book"; DeprTableHeader: Record "Depreciation Table Header"; TempDeprTableBuffer: Record "Depreciation Table Buffer" temporary; DeprTableLine: Record "Depreciation Table Line"; DepreciationCalc: Codeunit "Depreciation Calculation"; DaysInFiscalYear: Integer; StartingLimit: Integer;
All 203 lines
Events 3 in 29
| [IntegrationEvent] OnBeforeValidateYear365Days(DepreBook: Record "Depreciation Book"; var IsHandled: Boolean) | new in 18 |
| [IntegrationEvent] OnCreateTableBufferOnAfterCalculateDaysInPeriod(DeprBook: Record "Depreciation Book"; AccountingPeriod: Record "Accounting Period"; FirstUserDefinedDeprDate: Date; Year365Days: Boolean; var DaysInPeriod: Integer) | new in 19 |
| [IntegrationEvent] OnGetTablePercentOnAfterSetLimits(DeprBookCode: Code[10]; DeprTableCode: Code[10]; FirstUserDefinedDeprDate: Date; StartingDate: Date; EndingDate: Date; var StartingLimit: Integer; var EndingLimit: Integer) | new in 19 |
Public procedures 1 in 29
| GetTablePercent(DeprBookCode: Code[10]; DeprTableCode: Code[10]; FirstUserDefinedDeprDate: Date; StartingDate: Date; EndingDate: Date): Decimal | 17-29 |
Changes 2 in 19
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | 1 | 2 | | | | | | | | | | |
|---|
| [IntegrationEvent] OnCreateTableBufferOnAfterCalculateDaysInPeriod(DeprBook: Record "Depreciation Book"; AccountingPeriod: Record "Accounting Period"; FirstUserDefinedDeprDate: Date; Year365Days: Boolean; var DaysInPeriod: Integer) | new in 19 |
| added |
| [IntegrationEvent] OnGetTablePercentOnAfterSetLimits(DeprBookCode: Code[10]; DeprTableCode: Code[10]; FirstUserDefinedDeprDate: Date; StartingDate: Date; EndingDate: Date; var StartingLimit: Integer; var EndingLimit: Integer) | new in 19 |
| added |
All 3 changes in 17-29