Unable to complete PO & Material Receipt

64 views
Skip to first unread message

Rana Faraz Ahmed

unread,
May 15, 2022, 3:43:11 AM5/15/22
to iDempiere
Hi there!
I'm unable to complete the document of Purchase Order & Material Receipt. I checked logs and got this error:

12:15:16.470-----------> MWFActivity.run: MWFNode[185-(DocPrepare),Action=DocumentAction=PR] [545]
java.lang.ClassCastException: class java.lang.String cannot be cast to class java.math.BigDecimal (java.lang.String and java.math.BigDecimal are in module java.base of loader 'bootstrap')
at org.compiere.model.X_M_Product.getVolume(X_M_Product.java:1428)
at org.compiere.model.MOrder.reserveStock(MOrder.java:1768)
at org.compiere.model.MOrder.prepareIt(MOrder.java:1369)
at org.compiere.process.DocumentEngine.prepareIt(DocumentEngine.java:436)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:304)
at org.compiere.process.DocumentEngine.processIt(DocumentEngine.java:282)
at org.compiere.model.MOrder.processIt(MOrder.java:1221)
at org.compiere.wf.MWFActivity.performWork(MWFActivity.java:1029)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:894)
at org.compiere.wf.MWFProcess.startNext(MWFProcess.java:380)
at org.compiere.wf.MWFProcess.checkActivities(MWFProcess.java:285)
at org.compiere.wf.MWFActivity.setWFState(MWFActivity.java:295)
at org.compiere.wf.MWFActivity.run(MWFActivity.java:911)
at org.compiere.wf.MWFProcess.startWork(MWFProcess.java:549)
at org.compiere.wf.MWorkflow.start(MWorkflow.java:692)

Muhammad Rizwan Anwar

unread,
May 17, 2022, 8:33:03 AM5/17/22
to iDempiere
Hi Faraz,

1. What is the version you are using? Are you using Installer or running directly from Eclipse? 

2. Completing the PO and Material receipts is a very stable function in iDempiere. Did you change/modify any Node on these document workflows?

Rizwan Anwar

Reply all
Reply to author
Forward
0 new messages