[Event Request] Codeunit 5632 - Function FAJnlPostLine
Could you please create an Integration event in Codeunit 5632 FA Jnl.-Post Line, in Function "FAJnlPostLine"?
[External] FAJnlPostLine(...) .... IF "FA Posting Type" = "FA Posting Type"::Maintenance THEN BEGIN MakeMaintenanceLedgEntry.CopyFromFAJnlLine(MaintenanceLedgEntry,FAJnlLine); PostMaintenance; END ELSE BEGIN MakeFALedgEntry.CopyFromFAJnlLine(FALedgEntry,FAJnlLine); PostFixedAsset; // >>> OnAfterPostFixedAssetFromFAJnlPostLine(FAJnlLine,FALedgEntry,FAInsertLedgEntry); // <<< END;
Event signature: LOCAL [IntegrationEvent] OnAfterPostFixedAssetFromFAJnlPostLine(FAJnlLine : Record "FA Journal Line";FALedgEntry : Record "FA Ledger Entry";VAR FAInsertLedgEntry : Codeunit "FA Insert Ledger Entry")
In our extension, we need it for cost accounting integration.