Hi,
I’m getting this error while trying to receive an intercompany receipt. The part is SN-tracked in both companies, and everything seems fine on my end.
Just wondering what could be causing this?
Since I can’t receive the parts, the rest of the process like invoicing is on hold.
I searched everywhere but couldn’t find any clue, and I haven’t received any response from Epicor support after three days.
Thanks,
Adam
Business Layer Exception
Line 1. Number of selected Serial Numbers does not match either received quantity or quantity required by Job: Serial Numbers selected: 0 Total Serial Numbers required: 3.
Error Detail
Correlation ID: 40006346-1bf3-42df-98ae-aea6fc69bcd8
Description: Line 1. Number of selected Serial Numbers does not match either received quantity or quantity required by Job: Serial Numbers selected: 0 Total Serial Numbers required: 3.
Program: Erp.Services.BO.Receipt.dll
Method: ValidateSerialNumbersQuantity
Table: RcvDtl
Field: undefined
There is no interaction with an intercompany receipt. It does the full mass receipt based on the data from the shipment in the other company. It is all in there in the IM.IMSerialNo table and pointing to the correct shipment/line.
We had some bad data in IM.IMPart that was causing exceptions on the MCDS process, we cleaned that up Monday and restarted the task agent. Nothing was hung and nothing was sitting in the task agent.
I then checked the Worker Processes → Requests screen in IIS manager on the app server. The following task had been running for over 48 hours the following screenshot only shows 16 ms, but it’s the process that was stuck.
So I recycled the app pool, knowing the MCDS process was running without issue. When I connected again, all was fine. I suspect that the RunTask was locking something in the IMSerialNo table because that was never hit in any of my profiling done on the SQL server.
Thanks for the suggestion, but we’re running in a cloud environment and don’t have access to the IM.IMPart component, so that approach won’t work for us.
Do you know of any cloud-compatible alternatives or workarounds?
Adam
If you have any errors, you can view them in the Integrated Table Workbench. That’s where we resolved our issues. You may not have those. Then I found the “RunTask” request that was hung up. Fixing the issues first and then recycling the App pool is how we fixed it. You should be able to do the first in Epicor. I don’t know if you need a ticket to do the second part.
Honestly, I’m not sure that table is showing everything or even working properly! Kinetic, when you’re on cloud, is a totally different world, you don’t have that much control over your data.
Yeah, it’s a weird one. When you first load it up it’s got a subset of the data, I usually have to go in and search for different things. I mostly return all and copy to excel so I can easily filter/look
If the fix is to recycle the app pool then us SaaS cloud customers can -in theory- do that in the Cloud Management Portal. I haven’t personally ran into this issue nor done a app pool recycle in the CMP yet.