TableData "FA Ledger Entry" = r,
TableData "FA Posting Type Setup" = r
Methods
Calculate
procedure 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)
Parameters
Name
Type
Description
DeprAmount
Decimal
Custom1DeprAmount
Decimal
NumberOfDays3
Integer
Custom1NumberOfDays3
Integer
FANo
Code[20]
DeprBookCode2
Code[10]
UntilDate2
Date
EntryAmounts2
array[4] of Decimal
DateFromProjection2
Date
DaysInPeriod2
Integer
Events
OnAfterTransferValues
[IntegrationEvent(False,False)]
local procedure 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)
[IntegrationEvent(False,False)]
local procedure 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)
Parameters
Name
Type
Description
DeprAmount
Decimal
Custom1DeprAmount
Decimal
NumberOfDays3
Integer
Custom1NumberOfDays3
Integer
FANo
Code[20]
DeprBookCode2
Code[10]
UntilDate2
Date
EntryAmounts2
array[4] of Decimal
DateFromProjection2
Date
DaysInPeriod2
Integer
IsHandled
Boolean
OnAfterGetDeprBooks
[IntegrationEvent(False,False)]
local procedure OnAfterGetDeprBooks(var DepreciationBook: Record "Depreciation Book", var FADepreciationBook: Record "FA Depreciation Book")