ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 5632 - Function GenJnlPostLine

Open BGarkusha opened this issue 6 years ago • 0 comments

Could you please create an Integration event in Codeunit 5632 FA Jnl.-Post Line, in Function "GenJnlPostLine"?

[External] GenJnlPostLine(...) .... END ELSE BEGIN MakeFALedgEntry.CopyFromGenJnlLine(FALedgEntry,GenJnlLine); FALedgEntry.Amount := FAAmount; FALedgEntry."VAT Amount" := VATAmount; FALedgEntry."Transaction No." := NextTransactionNo; FALedgEntry."G/L Entry No." := NextGLEntryNo; OnBeforePostFixedAssetFromGenJnlLine(GenJnlLine,FALedgEntry,FAAmount,VATAmount); PostFixedAsset; //>>>> OnAfterPostFixedAssetFromGenJnlLine(GenJnlLine,FALedgEntry,FAInsertLedgEntry); //<<<<

Event signature: LOCAL [IntegrationEvent] OnAfterPostFixedAssetFromGenJnlLine(FAGLJnlLine : Record "Gen. Journal Line";FALedgEntry : Record "FA Ledger Entry";VAR FAInsertLedgEntry : Codeunit "FA Insert Ledger Entry")

In our extension, we need it for cost accounting integration.

BGarkusha avatar Dec 17 '19 16:12 BGarkusha