Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010923Openbravo ERP05. Production managementpublic2009-10-09 13:442010-08-19 12:54
networkb 
gorkaion 
immediatemajoralways
closedfixed 
5
2.50MP6 
2.50MP72.50MP7 
Core
No
0010923: The SL_ProductionPlan_WRPhase does not work properly
The SL_ProductionPlan_WRPhase does not work properly.
The fields that this callout should fill, are not filled.
-Create a work effort
-go to production run tab
-Select a value on wr phase combo.
-The Required Quantity field has to be filled automatically by the callout
on the src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_WRPhase.java file
replace the following line:
    resultado.append("new Array(\"inpconversionrate\", " + data[0].conversionrate + "),\n");

with this other line:
    resultado.append("new Array(\"inpconversionrate\", \"" + data[0].conversionrate + "\"),\n");
No tags attached.
related to defect 0010431 closed rafaroda UOM is not properly updated in expense sheet lines. 
related to defect 00119602.50MP14 closed harikrishnan Delivery Method is not properly updated when creating a Sales Order 
related to defect 00119752.50MP11 closed harikrishnan Create Lines From Goods Receipt does not update secondary unit 
related to defect 00118292.50MP12 closed rafaroda In Process Plan, I/O product, does not calculate properly UOM 
Issue History
2009-10-09 13:44networkbNew Issue
2009-10-09 13:44networkbAssigned To => rafaroda
2009-10-09 14:04psarobeStatusnew => scheduled
2009-10-09 14:04psarobeAssigned Torafaroda => gorkaion
2009-10-09 14:04psarobefix_in_branch => pi
2009-10-13 14:54iperdomoNote Added: 0020985
2009-10-13 19:27hgbotCheckin
2009-10-13 19:27hgbotNote Added: 0020989
2009-10-13 19:27hgbotStatusscheduled => resolved
2009-10-13 19:27hgbotResolutionopen => fixed
2009-10-13 19:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4ff709e6109fae32d494cd3d7440311830353c21 [^]
2009-10-19 12:36arunkumarStatusresolved => closed
2009-10-19 12:36arunkumarNote Added: 0021170
2009-10-19 12:36arunkumarFixed in Version => 2.50MP7
2009-10-20 00:00anonymoussf_bug_id0 => 2882010
2010-01-11 09:26rafarodaRelationship addedrelated to 0010431
2010-01-18 09:25rafarodaRelationship addedrelated to 0011960
2010-01-19 13:55rafarodaRelationship addedrelated to 0011975
2010-01-27 16:09rafarodaRelationship addedrelated to 0011829
2010-08-19 12:54adrianromeroNote Added: 0030147

Notes
(0020985)
iperdomo   
2009-10-13 14:54   
@networkb
Numbers are numbers, you must not quote the numbers in JavaScript.
Check the following doc:
http://wiki.openbravo.com/wiki/ERP/2.50/Developers_Guide/How_to_develop_a_callout#Returning_numeric_values [^]

Cheers,

Iván
(0020989)
hgbot   
2009-10-13 19:27   
Repository: erp/devel/pi
Changeset: 4ff709e6109fae32d494cd3d7440311830353c21
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue Oct 13 19:26:43 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4ff709e6109fae32d494cd3d7440311830353c21 [^]

Fixed issue 10923. Added a check for null values in numbers.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_ProductionPlan_WRPhase.java
---
(0021170)
arunkumar   
2009-10-19 12:36   
Required quantity field has been automatically filled out.
Tested & Working fine.
(0030147)
adrianromero   
2010-08-19 12:54   
This problem has been afforded in project http://wiki.openbravo.com/wiki/Projects/Support_different_numeric_formats [^]