[Event Request] Report 7000084 Partial Settl.- Receivable - OnBeforeInsertGenJournalLine
We need a new event in Report 7000084 "Partial Settl.- Receivable":
LOCAL [IntegrationEvent] OnBeforeInsertGenJournalLine(VAR PostedDoc : Record "Posted Cartera Doc.";VAR GenJnlLine : Record "Gen. Journal Line";VAR VATPostingSetup : Record "VAT Posting Setup";VAR CustLedgEntry : Record "Cust. Ledger Entry";VAR PostedBillGr : Record "Posted Bill Group")
It is called on every INSERT of GenJnlLine (there are 6 calls in the report)
PostedDoc - OnAfterGetRecord PostedDoc - OnPostDataItem (3 calls) RiskDiscFactLiabs BankAccounting
In all functions the insertion is in:
WITH GenJnlLine DO BEGIN CLEAR(GenJnlLine); INIT; "Line No." := GenJnlLineNextNo; ..... ..... ....
//Init insert ------------------------------------------------------------------------- OnBeforeInsertGenJournalLine(PostedDoc,GenJnlLine,VATPostingSetup,CustLedgEntry,PostedBillGr); //End Insert -------------------------------------------------------------------------- INSERT; ....... .......
Sorry. There are a mistake in the detail:
PostedDoc - OnAfterGetRecord PostedDoc - OnPostDataItem (2 calls) RiskDiscFactLiabs BankAccounting InsertGenJournalLine