Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011173Openbravo ERPB. User interfacepublic2009-10-29 11:482009-12-04 09:14
networkb 
harikrishnan 
highminoralways
closedfixed 
5
2.50MP7 
2.50MP102.50MP10 
Core
No
0011173: Error in create lines from in goods receipt. Mark all does not work properly.
When you use mark all in create lines form in goods receipt header and process them, the process gives a ProcessRunError (only this description). If you use the singles checkboxes the process works properly.
- Procurement Management || Transactions || Goods Receipt
- New receipt
- Select a partner, for example McGiver (using BigBazar entitiy)
- Save
- Create lines from
- Select an order. Some lines must be appear.
- Use the first checbox on the top. All the checkbox must be checked.
- Ok button
- ProcessRunError appears in header tab.

Workaround:
- Procurement Management || Transactions || Goods Receipt
- New receipt
- Select a partner, for example McGiver (using BigBazar entitiy)
- Save
- Create lines from
- Select an order. Some lines must be appear.
- Check the lines using the checkbox in each line.
- Ok Button.
- Process succesfully finished.

The error comes from src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java in saveShipmentPO method. The line
final String strMovementqty = vars.getRequiredStringParameter("inpmovementqty"+ strLineId);

fails. Why? Because in the html (src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Shipment.html) the method markAll is used
<input type="checkbox" name="inpTodos" onclick="markAll(document.frmMain.inpId, this.checked);return true;"></input>
and this method does not load the data in the lines (for example the editable quantity).
No tags attached.
Issue History
2009-10-29 11:48networkbNew Issue
2009-10-29 11:48networkbAssigned To => rafaroda
2009-10-29 11:56rafarodaPriorityimmediate => high
2009-10-29 11:56rafarodaStatusnew => scheduled
2009-11-16 12:48harikrishnanNote Added: 0021852
2009-11-16 12:48harikrishnanStatusscheduled => feedback
2009-11-16 18:23networkbNote Added: 0021885
2009-11-16 18:23networkbStatusfeedback => new
2009-11-16 18:43rafarodaStatusnew => scheduled
2009-11-16 18:43rafarodafix_in_branch => pi
2009-11-18 04:45harikrishnanAssigned Torafaroda => harikrishnan
2009-11-18 04:49hgbotCheckin
2009-11-18 04:49hgbotNote Added: 0021936
2009-11-18 04:49hgbotStatusscheduled => resolved
2009-11-18 04:49hgbotResolutionopen => fixed
2009-11-18 04:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e0e1c9f6871b60488d7213aff8ee8c15a0a1f090 [^]
2009-11-18 12:50sureshbabuNote Added: 0021961
2009-11-18 12:50sureshbabuStatusresolved => new
2009-11-18 12:50sureshbabuResolutionfixed => open
2009-11-18 18:38rafarodaStatusnew => scheduled
2009-11-18 18:38rafarodaFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/e0e1c9f6871b60488d7213aff8ee8c15a0a1f090 [^] =>
2009-11-18 18:38rafarodafix_in_branchpi =>
2009-11-23 06:48hgbotCheckin
2009-11-23 06:48hgbotNote Added: 0022083
2009-11-23 06:48hgbotStatusscheduled => resolved
2009-11-23 06:48hgbotResolutionopen => fixed
2009-11-23 06:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/608ad05b9556b89cac3be32216b75bb9bff6253e [^]
2009-12-01 06:19sureshbabuNote Added: 0022267
2009-12-01 06:19sureshbabuStatusresolved => closed
2009-12-01 06:19sureshbabuFixed in Version => 2.50MP10
2009-12-02 00:00anonymoussf_bug_id0 => 2907160
2009-12-04 09:14hudsonbotCheckin
2009-12-04 09:14hudsonbotNote Added: 0022409

Notes
(0021852)
harikrishnan   
2009-11-16 12:48   
Even i followed the steps to reproduce but i cant able to reproduce the issue.

(0021885)
networkb   
2009-11-16 18:23   
It only happens when Purchase Order selected, has one line
(0021936)
hgbot   
2009-11-18 04:49   
Repository: erp/devel/pi
Changeset: e0e1c9f6871b60488d7213aff8ee8c15a0a1f090
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Wed Nov 18 09:18:12 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e0e1c9f6871b60488d7213aff8ee8c15a0a1f090 [^]

Fixes Issue 11173: Error in create lines from in goods receipt. Mark all does not work properly.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_ShipmentPO.html
---
(0021961)
sureshbabu   
2009-11-18 12:50   
Hi Hari,

I am finding the same issue again appears in my context. Let me know your idle time so that we both can retest the issue once again if it works for you.


Thanks
Suresh
(0022083)
hgbot   
2009-11-23 06:48   
Repository: erp/devel/pi
Changeset: 608ad05b9556b89cac3be32216b75bb9bff6253e
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Mon Nov 23 11:17:27 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/608ad05b9556b89cac3be32216b75bb9bff6253e [^]

Fixes Issue 11173: Error in create lines from in goods receipt. Mark all does not work properly.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_ShipmentPO.html
---
(0022267)
sureshbabu   
2009-12-01 06:19   
Tested working fine, able to create goods receipt after selecting the line items using the select all checkbox.
(0022409)
hudsonbot   
2009-12-04 09:14   
---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---