Hi All
I'm trying to transfer a field form posted purchase invoice line to G/L entry table via Gen Journal Line table. Couldn't find a event as code unit
Hi All
I'm trying to transfer a field form posted purchase invoice line to G/L entry table via Gen Journal Line table. Couldn't find a event as code unit
Hi,
To Achieve this you need to create fields in Gen. Line and GL Entry table and after that use below events from codeunit 12
OnAfterInitGLEntry(var GLEntry: Record "G/L Entry"; GenJournalLine: Record "Gen. Journal Line"; Amount: Decimal; AddCurrAmount: Decimal; UseAddCurrAmount: Boolean; var CurrencyFactor: Decimal; var GLRegister: Record "G/L Register")
Codeunit 90
OnBeforeInitNewGenJnlLineFromPostInvoicePostBufferLine(var GenJnlLine: Record "Gen. Journal Line"; var PurchHeader: Record "Purchase Header"; InvoicePostBuffer: Record "Invoice Post. Buffer"; var IsHandled: Boolean)
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156