AP Invoice - SelectUninvoicedRcptLines

We are in the process of moving to E10 from E8. We have a process that we have coded in .NET that creates an invoice and posts it automatically. It is working as expected in E8. In E10, it keeps failing when calling ‘SelectUninvoicedRcptLines’. I have traced the steps to do this through Epicor and am pretty sure I am doing the same steps in the .NET app, but I am receiving a very poorly descriptive error from Epicor when I do this from the .NET app – Invalid Uninvoiced Receipt.

There is only 1 uninvoiced line and I have verified I am setting the SelectLine value to True before calling SelectUninvoicedRcptLines.

More detailed info –

My steps are this:

Call ‘GetAPUninvoicedReceipts’
Loop through each row in table ‘APUninvoicedRcptLines’ and set the ‘SelectLine’ property to True
I then call ‘SelectUninvoicedRcptLines’ — Here is where I receive the error.

Thats exactly what I see the Epicor screen doing, but theirs works and mine doesn’t. Anyone have any thoughts as to why mine isn’t working in E10, but is working in E8?

Hello, were you able to figure this out? I’m getting a constraints error.
Regards, Fernanda

1 Like