Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017532Openbravo ERPZ. Otherspublic2011-06-04 16:082011-06-07 16:44
jecharri 
jecharri 
immediatecriticalhave not tried
closedfixed 
5
pi 
3.0MP0 
Core
No
0017532: try-2.50-api and try-api has failed because one column has been change
Due to this issue,

- https://issues.openbravo.com/view.php?id=17283 [^]

y have to make an api change. This is the change:

- https://code.openbravo.com/erp/devel/try/rev/71d93958e6dc [^]

I have pushed the change to try, this is the failure:

- http://builds.openbravo.com/view/try/job/try-api/392/console [^]
- http://builds.openbravo.com/view/try-2.50/job/try-2.50-api/105/console [^]


- The change is the following:
The column "calccost" from MA_SEQUENCE_EMPLOYEE.CALCCOST, MA_SEQUENCE_IC.CALCCOST and MA_SEQUENCE_MACHINE.CALCCOST tables has been change from numeric(10,0) to numeric.So, now it is posible to put numbers with decimals.

- The change is needed due to the following reason:
This column is referenced to:
        MA_INDIRECT_COST_VALUE.COST
        MA_MACHINE_COST.COST
        MA_COST_CENTER_EMPLOYEE.QUANTITY
and all columns are numeric so it may content decimal values. So, we are losing precision when we use the "Calculate standard cost" process.

- The risk of this api change is very low because of the following reason:
I have only extended the posiblity of the values for this columns.
No tags attached.
blocks defect 0017495 closed jecharri try-2.50-api and try-api has failed because one column has been change 
Issue History
2011-06-07 11:16jecharriTypedefect => backport
2011-06-07 11:16jecharrifix_in_branch => 2.50
2011-06-07 12:34hgbotCheckin
2011-06-07 12:34hgbotNote Added: 0038115
2011-06-07 12:34hgbotStatusscheduled => resolved
2011-06-07 12:34hgbotResolutionopen => fixed
2011-06-07 12:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/api-checks-2.50/rev/d05d1565ed87e1fb54b6048ded00b2148ba68539 [^]
2011-06-07 16:44jecharriStatusresolved => closed
2011-06-07 16:44jecharriFixed in Version => 3.0MP0

Notes
(0038115)
hgbot   
2011-06-07 12:34   
Repository: erp/stable/api-checks-2.50
Changeset: d05d1565ed87e1fb54b6048ded00b2148ba68539
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Jun 07 12:25:33 2011 +0200
URL: http://code.openbravo.com/erp/stable/api-checks-2.50/rev/d05d1565ed87e1fb54b6048ded00b2148ba68539 [^]

Fixes Issue 17532.
Tested database model changed according to fix to issue 17283

---
M model/model/tables/MA_SEQUENCE_EMPLOYEE.xml
M model/model/tables/MA_SEQUENCE_IC.xml
M model/model/tables/MA_SEQUENCE_MACHINE.xml
---