Hi Community
I have a requirement in the Payments and Applications screen where I have added a custom Load Records From File upload button to upload an Excel file and map the invoices from the file to the Documents To Apply grid, without saving the document.
The issue is that only existing invoices in Acumatica are displayed, while unmatched (not found) records from the Excel file do not appear in the grid. During debugging, these unmatched records throw an error:
“Error: 'Reference Nbr.' cannot be found in the system.”

I have attempted to override the RefNbr field to insert the unmatched records and display an appropriate error message in the grid, but no luck.
I want to display those unmatched records in the grid so users can review, edit, or correct them manually before saving and releasing the payment.
Any suggestions on how to handle or skip the RefNbr validation and show all Excel records in the grid Thanks,