Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015337Openbravo ERPZ. Otherspublic2010-12-01 10:102010-12-21 00:00
sivaraman 
sivaraman 
normalmajoralways
closedfixed 
5
2.50 
 
Core
No
0015337: try-api 268 fails with a warning
http://builds.openbravo.com/view/try/job/try-api/268/console [^]

With the following error:
Errors in API model validation
Check Constraint addition: table: MA_SEQUENCEPRODUCT - Constraint: MA_SEQUENCEPRODUCT_CHECK1
Check Constraint addition: table: MA_WRPHASEPRODUCT - Constraint: MA_WRPHASEPRODUCT_CHECK1
No tags attached.
Issue History
2010-12-01 10:10sivaramanNew Issue
2010-12-01 10:10sivaramanAssigned To => sivaraman
2010-12-01 10:10sivaramanModules => Core
2010-12-01 14:01hgbotCheckin
2010-12-01 14:01hgbotNote Added: 0032980
2010-12-01 14:01hgbotStatusnew => resolved
2010-12-01 14:01hgbotResolutionopen => fixed
2010-12-01 14:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/6b4e2ac1b439465069900e069380d7f7baaf9647 [^]
2010-12-20 19:16psarobeStatusresolved => closed
2010-12-21 00:00anonymoussf_bug_id0 => 3141011

Notes
(0032980)
hgbot   
2010-12-01 14:01   
Repository: erp/devel/api-checks
Changeset: 6b4e2ac1b439465069900e069380d7f7baaf9647
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Wed Dec 01 18:30:07 2010 +0530
URL: http://code.openbravo.com/erp/devel/api-checks/rev/6b4e2ac1b439465069900e069380d7f7baaf9647 [^]

Fixes issue 15337: try-api 268 fails with a warning

The following constraint have been added for both MA_SEQUENCEPRODUCT and MA_WRPHASEPRODUCT tables.

((QUANTITYORDER IS NULL) AND (M_PRODUCT_UOM_ID IS NULL)) OR ((QUANTITYORDER IS NOT NULL) AND (M_PRODUCT_UOM_ID IS NOT NULL))

Impacts:
None

---
M model/model/tables/MA_SEQUENCEPRODUCT.xml
M model/model/tables/MA_WRPHASEPRODUCT.xml
---