[Event Request] Report 7000084 Partial Settl.- Receivable - OnBeforeValidateAccountNo
We need a new event in Report 7000084 "Partial Settl.- Receivable":
LOCAL [IntegrationEvent] OnBeforeValidateAccountNo(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 FromJnl : Boolean;VAR ExistsNoRealVAT : Boolean)
called from:
PostedDoc - OnAfterGetRecord() ...... ...... CLEAR(GenJnlLine); INIT; "Line No." := GenJnlLineNextNo; "Posting Date" := PostingDate; "Document Type" := "Document Type"::Payment; "Document No." := PostedBillGr."No."; "Reason Code" := PostedBillGr."Reason Code"; VALIDATE("Account Type","Account Type"::Customer); CustLedgEntry.GET(PostedDoc."Entry No."); //Init insert ----------------------------------------------------------------------------------- OnBeforeValidateAccountNo(PostedDoc,GenJnlLine,VATPostingSetup,CustLedgEntry,FromJnl,ExistsNoRealVAT); //End Insert ----------------------------------------------------------------------------------- VALIDATE("Account No.",CustLedgEntry."Customer No."); ....... .......