I’ve got some lot controlled material that was purchased directly to a job that I need to return to inventory and issue to another job. Everything I have read suggests that this should be possible, but when I try to commit the return it throws the following error:
I have triple checked that the lot number I am trying to return is what was issued to the job.
The pack that this material was received on is fully received and invoiced.
I see the line in the error “Method: A002_CustomCodeAction” and wonder if that’s a clue. Could this be caused by a custom BPM? We are using the “Aerospace & Defense” bolt on by Cre8tive Technology and Design.
Good thinking. I’ve got a Pilot db where the receipt hasn’t been completed yet. I’ll see if I can replicate the problem and then start turning off BPMs off.
You found the culprit though! Glad that you had a test environment up to date, not sure what the BPM was doing and if disabling it for a moment causes any issues with the logic surrounding the “Aerospace & Defense” bolt on, but if it works it works!
The BPM is protected, so I suspect that is preventing me from seeing what it does? Turning a BPM on and off is right about where my knowledge tops out lol
I just immediately turned it back on once I did what I needed with returned material.