ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Report 7000084 Partial Settl.- Receivable - OnBeforeInsertGenJournalLine

Open TxusMoyano opened this issue 7 years ago • 1 comments

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; ....... .......

TxusMoyano avatar Jul 09 '19 12:07 TxusMoyano

Sorry. There are a mistake in the detail:

PostedDoc - OnAfterGetRecord PostedDoc - OnPostDataItem (2 calls) RiskDiscFactLiabs BankAccounting InsertGenJournalLine

TxusMoyano avatar Jul 11 '19 10:07 TxusMoyano