[IntegrationEvent(false, false)]
local procedure OnCreateGLEntryVATOnBeforeInsertGLEntry(GenJournalLine: Record "Gen. Journal Line"; var GLEntry: Record "G/L Entry")
begin
end;
Additional context
You rejected the request recommending to use OnBeforeInsertGlEntry. But we would like to set some fields only in G/L Entries created in CreateGLEntryVAT, but in InsertGLEntry we do not know where it is called from.
Internal work item: AB#544382
Describe the request
In the Event Request #26834 we asked for a new event OnCreateGLEntryVATOnBeforeInsertGLEntry in Codeunit 12 "Gen. Jnl.-Post Line".
Additional context
You rejected the request recommending to use OnBeforeInsertGlEntry. But we would like to set some fields only in G/L Entries created in CreateGLEntryVAT, but in InsertGLEntry we do not know where it is called from. Internal work item: AB#544382