Source AL, 477 lines
src/Layers/W1/BaseApp/FixedAssets/Depreciation/CalculateCustom1Depr.Codeunit.allines 11 to 26 of 477, Copyright (c) Microsoft Corporation. MIT
codeunit 5612 "Calculate Custom 1 Depr."{ Permissions = TableData "FA Ledger Entry" = r, TableData "FA Posting Type Setup" = r; trigger OnRun() begin end; var FA: Record "Fixed Asset"; DeprBook: Record "Depreciation Book"; FADeprBook: Record "FA Depreciation Book"; FAPostingTypeSetup: Record "FA Posting Type Setup"; DepreciationCalc: Codeunit "Depreciation Calculation"; DeprBookCode: Code[10];
All 477 lines
Events 5 in 29
| [IntegrationEvent] OnBeforeCalculate(var DeprAmount: Decimal; var Custom1DeprAmount: Decimal; var NumberOfDays3: Integer; var Custom1NumberOfDays3: Integer; FANo: Code[20]; DeprBookCode2: Code[10]; UntilDate2: Date; EntryAmounts2: array[4] of Decimal; DateFromProjection2: Date; DaysInPeriod2: Integer; var IsHandled: Boolean) | 17-29 |
| [IntegrationEvent] OnAfterTransferValues(FixedAsset: Record "Fixed Asset"; DepreciationBook: Record "Depreciation Book"; FADepreciationBook: Record "FA Depreciation Book"; DeprMethod: Enum "FA Depr. Method Internal"; UntilDate: Date; var SalvageValue: Decimal; var AcquisitionCost: Decimal) | new in 20 |
| [IntegrationEvent] OnCalculateOnBeforeCalcCustom1DeprAmount(var FADepreciationMethod: Enum "FA Depreciation Method"; var DeprAmount: Decimal) | new in 20 |
| [IntegrationEvent] OnAfterGetDeprBooks(var DepreciationBook: Record "Depreciation Book"; var FADepreciationBook: Record "FA Depreciation Book") | new in 21 |
| [IntegrationEvent] OnCalcSLAmountOnAfterSetRemainingLife(var RemainingLife: Decimal; Custom1PropertyClass: Option " ","Personal Property","Real Property"; Custom1DeprStartingDate: Date; Custom1DeprUntil: Date) | new in 23 |
Public procedures 1 in 29
| Calculate(var DeprAmount: Decimal; var Custom1DeprAmount: Decimal; var NumberOfDays3: Integer; var Custom1NumberOfDays3: Integer; FANo: Code[20]; DeprBookCode2: Code[10]; UntilDate2: Date; EntryAmounts2: array[4] of Decimal; DateFromProjection2: Date; DaysInPeriod2: Integer) | 17-29 |
Changes 1 in 23
| [IntegrationEvent] OnCalcSLAmountOnAfterSetRemainingLife(var RemainingLife: Decimal; Custom1PropertyClass: Option " ","Personal Property","Real Property"; Custom1DeprStartingDate: Date; Custom1DeprUntil: Date) | new in 23 |
| added |
All 4 changes in 17-29