Hello everybody!
I need create a new function in the Codeunit "Gen. Jnl.-Post Line", this function it'is only use to public it. For example:
LOCAL [IntegrationEvent] OnBeforeInsertVendorLedgerEntry(PGenJournalLine : Record "Gen. Journal Line";VAR PVendorLedgerEntry : Record "Vendor Ledger Entry")
And then I need call it in the function PostVend also in codeunit 12, for example:
OnBeforeInsertVendorLedgerEntry(GenJnlLine,VendLedgEntry);
// Post vendor entry
VendLedgEntry.CopyFromCVLedgEntryBuffer(CVLedgEntryBuf);
I need to do it in visual studio code.
Somebody can you help me???
thanks!!
0
Answers
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!