ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Codeunit 5632 - FA Jnl.-Post Line - GenJnlPostLine
Could you please create an Integration event in Codeunit 5632 FA Jnl.-Post Line, in function GenJnlPostLine?
[External] GenJnlPostLine(...)
....
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);
// <<<<<<<<
END;
END;
OnAfterGenJnlPostLine(GenJnlLine);
Event signature:
LOCAL [IntegrationEvent] OnAfterPostFixedAssetFromGenJnlLine(FAGLJnlLine : Record "Gen. Journal Line";FALedgEntry : Record "FA Ledger Entry")
We need it in our extension for Cost Accounting integration.
We have to investigate if this event request was really necessary. Maybe our needs can be solved with using existing OnAfterGenJnlPostLine event.