Re-created in Garden World:
Create a Sales Order of type "Warehouse Order".
Prepare and Complete the document
Try to "Re-activate" the document but all of the fields remain greyed out.
Thanks in advance,
Webbo
Logged In: YES user_id=1044748
The following stack trace is output to the debug window:
11:11:18.296 MOrder: reActivateIt - MOrder[1000017- 70000,IsSOTrx=true,C_DocType _ID=134] 11:11:18.328 MOrder: createReversals 11:11:18.390 MInOut: reverseCorrectIt - MInOut[1000008- 500000,DocStatus=CO] 11:11:18.390 PO: copyValues - From ID=1000008 - To ID=0 ===========> FillMandatory - Sales Order 11:11:18.500 MInOut: save - beforeSave failed ===========> MWFActivity: performWork java.lang.IllegalStateException: Could not create Shipment at org.compiere.model.MInOut.copyFrom (MInOut.java:181) at org.compiere.model.MInOut.reverseCorrectIt (MInOut.java:1174) at org.compiere.model.MOrder.createReversals (MOrder.java:1719) at org.compiere.model.MOrder.reActivateIt (MOrder.java:1842) at org.compiere.process.DocumentEngine.reActivateIt (DocumentEngine.java:520) at org.compiere.process.DocumentEngine.processIt (DocumentEngine.java:253 ) at org.compiere.process.DocumentEngine.processIt (DocumentEngine.java:211 ) at org.compiere.model.MOrder.processIt (MOrder.java:1006) at org.compiere.wf.MWFActivity.performWork (MWFActivity.java:648) at org.compiere.wf.MWFActivity.run (MWFActivity.java:605) at java.lang.Thread.run(Thread.java:534) 11:11:18.515 MOrder: save - nothing changed - C_Order ===========> MWFActivity: run java.lang.Exception: Could not create Shipment at org.compiere.wf.MWFActivity.performWork (MWFActivity.java:679) at org.compiere.wf.MWFActivity.run (MWFActivity.java:605) at java.lang.Thread.run(Thread.java:534) 11:11:18.546 MWFActivity: setWFState - OR- >CT, Msg=Could not create Shipment - Could not create Shipment 11:11:18.546 MWFActivity: saveUpdate - AD_WF_Activity.AD_WF_Activity_ID=10001 88 11:11:18.562 MWFEventAudit: saveUpdate - AD_WF_EventAudit.AD_WF_EventAudit_ID =1000188 11:11:18.578 MWFProcess: checkActivities (116) - OR 11:11:18.578 MWFActivity: saveUpdate - AD_WF_Activity.AD_WF_Activity_ID=1000188 11:11:18.593 MWFProcess: setWFState - CT 11:11:18.609 MWFProcess: saveUpdate - AD_WF_Process.AD_WF_Process_ID=1000072 11:11:18.781 MTable: dataRefresh 0 11:11:18.781 MTable: dataIgnore - Inserting=false 11:11:18.781 MTable: dataIgnore - Nothing to ignore
Running 2.5.1d
Logged In: YES user_id=329831
comfirmed
error that shows in dialog is Could not create Shipment
Logged In: YES user_id=87038
** Fixed in next release (R2.5.1e) **
tested
Log in to post a comment.
Logged In: YES
user_id=1044748
The following stack trace is output to the debug window:
11:11:18.296 MOrder: reActivateIt - MOrder[1000017-
70000,IsSOTrx=true,C_DocType
_ID=134]
11:11:18.328 MOrder: createReversals
11:11:18.390 MInOut: reverseCorrectIt - MInOut[1000008-
500000,DocStatus=CO]
11:11:18.390 PO: copyValues - From ID=1000008 - To ID=0
===========> FillMandatory - Sales Order
11:11:18.500 MInOut: save - beforeSave failed
===========> MWFActivity: performWork
java.lang.IllegalStateException: Could not create Shipment
at org.compiere.model.MInOut.copyFrom
(MInOut.java:181)
at org.compiere.model.MInOut.reverseCorrectIt
(MInOut.java:1174)
at org.compiere.model.MOrder.createReversals
(MOrder.java:1719)
at org.compiere.model.MOrder.reActivateIt
(MOrder.java:1842)
at org.compiere.process.DocumentEngine.reActivateIt
(DocumentEngine.java:520)
at
org.compiere.process.DocumentEngine.processIt
(DocumentEngine.java:253
)
at
org.compiere.process.DocumentEngine.processIt
(DocumentEngine.java:211
)
at org.compiere.model.MOrder.processIt
(MOrder.java:1006)
at org.compiere.wf.MWFActivity.performWork
(MWFActivity.java:648)
at org.compiere.wf.MWFActivity.run
(MWFActivity.java:605)
at java.lang.Thread.run(Thread.java:534)
11:11:18.515 MOrder: save - nothing changed -
C_Order
===========> MWFActivity: run
java.lang.Exception: Could not create Shipment
at org.compiere.wf.MWFActivity.performWork
(MWFActivity.java:679)
at org.compiere.wf.MWFActivity.run
(MWFActivity.java:605)
at java.lang.Thread.run(Thread.java:534)
11:11:18.546 MWFActivity: setWFState - OR-
>CT, Msg=Could not create Shipment
- Could not create Shipment
11:11:18.546 MWFActivity: saveUpdate -
AD_WF_Activity.AD_WF_Activity_ID=10001
88
11:11:18.562 MWFEventAudit: saveUpdate -
AD_WF_EventAudit.AD_WF_EventAudit_ID
=1000188
11:11:18.578 MWFProcess: checkActivities (116) -
OR
11:11:18.578 MWFActivity: saveUpdate -
AD_WF_Activity.AD_WF_Activity_ID=1000188
11:11:18.593 MWFProcess: setWFState - CT
11:11:18.609 MWFProcess: saveUpdate -
AD_WF_Process.AD_WF_Process_ID=1000072
11:11:18.781 MTable: dataRefresh 0
11:11:18.781 MTable: dataIgnore - Inserting=false
11:11:18.781 MTable: dataIgnore - Nothing to ignore
Logged In: YES
user_id=1044748
Running 2.5.1d
Logged In: YES
user_id=329831
comfirmed
Logged In: YES
user_id=329831
error that shows in dialog is Could not create Shipment
Logged In: YES
user_id=87038
** Fixed in next release (R2.5.1e) **
Logged In: YES
user_id=329831
tested