[Event Request] Codeunit 5632 - Function GenJnlPostLine
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.