[Event Request] Codeunit 5600 - Function InsertFA
Could you please create an Integration event in Codeunit 5600 FA Insert Ledger Entry, in Function "InsertFA"?
[External] InsertFA(VAR FALedgEntry3 : Record "FA Ledger Entry") .... IF NOT DeprBook."Allow Identical Document No." AND (FALedgEntry."Journal Batch Name" <> '') AND (FALedgEntry."FA Posting Category" = FALedgEntry."FA Posting Category"::" ") AND (ErrorEntryNo = 0) AND (LastEntryNo > 0) THEN CheckFADocNo(FALedgEntry); // >>> OnBeforeFALedgEntryInsert(FAInsertGLAcc,GLRegisterNo); // <<< FALedgEntry.INSERT(TRUE);
Event signature: LOCAL [IntegrationEvent] OnBeforeFALedgEntryInsert(VAR FAInsertGLAcc : Codeunit "FA Insert G/L Account";GLRegisterNo : Integer)
In our extension, we need it for cost accounting integration.