Report 18004108 EOS Calculate Depreciation

Report 18004108 EOS Calculate Depreciation

LanguageCaption
de-ATAfA berechnen (SGL)
de-CHAfA berechnen (SGL)
de-DEAfA berechnen (SGL)
en-USCalculate Depreciation (SGL)
it-CHCalcolo ammortamento (SGL)
it-ITCalcolo ammortamento (SGL)

Methods

SetDestination

procedure SetDestination(NewDestinationType: Enum "EOS Depreciation Destination"; NewJnlTemplateName: Code[10]; NewJnlBatchName: Code[10])

Parameters / Return Value

  • NewDestinationType Enum "EOS Depreciation Destination"

  • NewJnlTemplateName Code[10]

  • NewJnlBatchName Code[10]


Events

OnLookupDestJnlTemplateName

local procedure OnLookupDestJnlTemplateName(DestType: Enum "EOS Depreciation Destination"; var JnlTemplateName: Code[10]; var LookupOK: Boolean; var Handled: Boolean)

Parameters / Return Value

  • DestType Enum "EOS Depreciation Destination"

  • JnlTemplateName Code[10]

  • LookupOK Boolean

  • Handled Boolean


OnValidateDestJnlTemplateName

local procedure OnValidateDestJnlTemplateName(DestType: Enum "EOS Depreciation Destination"; JnlTemplateName: Code[10])

Parameters / Return Value

  • DestType Enum "EOS Depreciation Destination"

  • JnlTemplateName Code[10]


OnLookupDestJnlBatchName

local procedure OnLookupDestJnlBatchName(DestType: Enum "EOS Depreciation Destination"; JnlTemplateName: Code[10]; var JnlBatchName: Code[10]; var LookupOK: Boolean; var Handled: Boolean)

Parameters / Return Value

  • DestType Enum "EOS Depreciation Destination"

  • JnlTemplateName Code[10]

  • JnlBatchName Code[10]

  • LookupOK Boolean

  • Handled Boolean


OnValidateDestJnlBatchName

local procedure OnValidateDestJnlBatchName(DestType: Enum "EOS Depreciation Destination"; JnlTemplateName: Code[10]; JnlBatchName: Code[10])

Parameters / Return Value

  • DestType Enum "EOS Depreciation Destination"

  • JnlTemplateName Code[10]

  • JnlBatchName Code[10]


OnBeforeSaveJnlLine

local procedure OnBeforeSaveJnlLine(var TmpFAJnlLine: Record "FA Journal Line"; var LineCreated: Boolean; var Handled: Boolean)

Parameters / Return Value

  • TmpFAJnlLine Record "FA Journal Line"

  • LineCreated Boolean

  • Handled Boolean


OnBeforeSaveFAJnlLine

local procedure OnBeforeSaveFAJnlLine(var FAJnlLine: Record "FA Journal Line"; var LineCreated: Boolean; var Handled: Boolean)

Parameters / Return Value

  • FAJnlLine Record "FA Journal Line"

  • LineCreated Boolean

  • Handled Boolean


OnBeforeSaveGenJnlLine

local procedure OnBeforeSaveGenJnlLine(var GenJnlLine: Record "Gen. Journal Line"; var TmpBalAccGenJnlLine: Record "Gen. Journal Line"; var LineCreated: Boolean; var Handled: Boolean)

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

  • TmpBalAccGenJnlLine Record "Gen. Journal Line"

  • LineCreated Boolean

  • Handled Boolean


OnBeforeInsertTmpFAJnlLine

local procedure OnBeforeInsertTmpFAJnlLine(FixedAsset: Record "Fixed Asset"; var TmpFAJnlLine: Record "FA Journal Line")

Parameters / Return Value

  • FixedAsset Record "Fixed Asset"

  • TmpFAJnlLine Record "FA Journal Line"


OnAfterCreateTmpFAJnlLines

local procedure OnAfterCreateTmpFAJnlLines(var TmpFAJnlLine: Record "FA Journal Line"; Balance: Boolean)

Parameters / Return Value

  • TmpFAJnlLine Record "FA Journal Line"

  • Balance Boolean


OnShowJournal

local procedure OnShowJournal(DestType: Enum "EOS Depreciation Destination"; JnlTemplateName: Code[10]; JnlBatchName: Code[10]; var Handled: Boolean)

Parameters / Return Value

  • DestType Enum "EOS Depreciation Destination"

  • JnlTemplateName Code[10]

  • JnlBatchName Code[10]

  • Handled Boolean


OnBeforeCalcDeprAmount

local procedure OnBeforeCalcDeprAmount(var DeprAmount: Decimal; FANo: Code[20]; DeprBookCode: Code[20]; NumberOfDays: Integer; DaysInPeriod: Integer; DeprUntilDate: Date; var Handled: Boolean)

Parameters / Return Value

  • DeprAmount Decimal

  • FANo Code[20]

  • DeprBookCode Code[20]

  • NumberOfDays Integer

  • DaysInPeriod Integer

  • DeprUntilDate Date

  • Handled Boolean


OnAfterSetGenJnlTrailCodes

local procedure OnAfterSetGenJnlTrailCodes(var GenJnlLine: Record "Gen. Journal Line"; GenJnlTemplate: Record "Gen. Journal Template"; GenJnlBatch: Record "Gen. Journal Batch")

Parameters / Return Value

  • GenJnlLine Record "Gen. Journal Line"

  • GenJnlTemplate Record "Gen. Journal Template"

  • GenJnlBatch Record "Gen. Journal Batch"


OnAfterSetFaJnlTrailCodes

local procedure OnAfterSetFaJnlTrailCodes(var FaJnlLine: Record "FA Journal Line"; FaJnlTemplate: Record "FA Journal Template"; FaJnlBatch: Record "FA Journal Batch")

Parameters / Return Value

  • FaJnlLine Record "FA Journal Line"

  • FaJnlTemplate Record "FA Journal Template"

  • FaJnlBatch Record "FA Journal Batch"



EOS Labs -