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)
Parameters
Name
Type
Description
DeprAmount
Decimal
Custom1Amount
Decimal
NumberOfDays
Integer
Custom1NumberOfDays
Integer
FANo
Code[20]
DeprBookCode
Code[10]
UntilDate
Date
EntryAmounts
array[4] of Decimal
DateFromProjection
Date
DaysInPeriod
Integer
Events
OnBeforeCalculate
[IntegrationEvent(False,False)]
local procedure 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)
Parameters
Name
Type
Description
DeprAmount
Decimal
Custom1Amount
Decimal
NumberOfDays
Integer
Custom1NumberOfDays
Integer
FANo
Code[20]
DeprBookCode
Code[10]
UntilDate
Date
EntryAmounts
array[4] of Decimal
DateFromProjection
Date
DaysInPeriod
Integer
IsHandled
Boolean
OnBeforeCheckDeprDaysInFiscalYear
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckDeprDaysInFiscalYear(FADeprBook: Record "FA Depreciation Book", CheckDeprDays: Boolean, UntilDate: Date, var IsHandled: Boolean)