We ran into a scenario when our users began using the cancel invoice functionality in AP Invoice Entry and some temps didn’t go in and apply the debit memo it created to the invoice that was cancelled. For some “Epicor … The way is was designed…” reason they still permit the invoice to be paid even though the cancellation is posted. Now the invoice shows as cancelled and has a cancellation invoice ref, but was also paid and has a payment record. Finance is not happy with this scenario as it shows the invoice cancelled and paid at the same time. Epicor considers this “as designed” functionality and will not consider it a bug. After many attempts I have lost hope with the Epicor help desk.
We are looking to filter out invoices that have been cancelled from the Payment Entry → Actions → Select Invoices processes via the refcancelledby field. When looking at the SelectInvoices call under Erp.BO.PaymentEntrySvc I don’t have the whereClause like in other getlist calls and the field I need to filter in the call and isn’t returned in the post process. What is the best way and try to filter the list so I don’t have AP paying invoices that were cancelled prior to applying the debit memo?
I was thinking maybe a custom code to loop through the tableset and check each record and delete the ones from the returned table if cancelled, but that seems a bit resource intensive. Not sure if anyone had a better option.
Thanks in advance,
Lee