Codeunit "Table Depr. Calculation"
ID 5618
Namespace: Microsoft.FixedAssets.Depreciation
Methods
GetTablePercent
procedure GetTablePercent(DeprBookCode: Code[10], DeprTableCode: Code[10], FirstUserDefinedDeprDate: Date, StartingDate: Date, EndingDate: Date): Decimal
Parameters
Name
Type
Description
DeprBookCode
Code[10]
DeprTableCode
Code[10]
FirstUserDefinedDeprDate
Date
StartingDate
Date
EndingDate
Date
Returns
Events
OnBeforeValidateYear365Days
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateYear365Days(DepreBook: Record "Depreciation Book", var IsHandled: Boolean)
Parameters
OnCreateTableBufferOnAfterCalculateDaysInPeriod
[IntegrationEvent(False,False)]
local procedure OnCreateTableBufferOnAfterCalculateDaysInPeriod(DeprBook: Record "Depreciation Book", AccountingPeriod: Record "Accounting Period", FirstUserDefinedDeprDate: Date, Year365Days: Boolean, var DaysInPeriod: Integer)
Parameters
OnGetTablePercentOnAfterSetLimits
[IntegrationEvent(False,False)]
local procedure OnGetTablePercentOnAfterSetLimits(DeprBookCode: Code[10], DeprTableCode: Code[10], FirstUserDefinedDeprDate: Date, StartingDate: Date, EndingDate: Date, var StartingLimit: Integer, var EndingLimit: Integer)
Parameters
Name
Type
Description
DeprBookCode
Code[10]
DeprTableCode
Code[10]
FirstUserDefinedDeprDate
Date
StartingDate
Date
EndingDate
Date
StartingLimit
Integer
EndingLimit
Integer
See also