Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031119Openbravo ERP04. Warehouse managementpublic2015-10-09 10:472015-11-23 21:17
malsasua 
aferraz 
highmajoralways
closedfixed 
20Community Appliance
 
 
dmiguelez
Core
No
0031119: warehouse rules should be adapted to type "Parameter"
The Standard warehouse rules:
M_UNIQUELOCATOR_RULE
M_UNIQUEATTRIBUTE_RULE
M_WAREHOUSE_DEFAULT_RULE

should be adapted to type "Parameter"

Now, you can not create a new rule with this procedures with type "PInstance" , only can be created with "Procedure", but this rules are not working with type "Parameter"
. n/a
No tags attached.
related to defect 0031120 closed fmolina Retail Modules autobom module is not working when there are warehouse rules with type PInstance 
Issue History
2015-10-09 10:47malsasuaNew Issue
2015-10-09 10:47malsasuaAssigned To => Triage Finance
2015-10-09 10:47malsasuaModules => Core
2015-10-09 10:47malsasuaResolution time => 1446678000
2015-10-09 10:47malsasuaTriggers an Emergency Pack => No
2015-10-14 14:05OrekariaRelationship addedrelated to 0031120
2015-10-15 10:59ngarciaIssue Monitored: ngarcia
2015-11-04 09:44aferrazAssigned ToTriage Finance => aferraz
2015-11-04 10:16aferrazStatusnew => scheduled
2015-11-06 13:57hgbotCheckin
2015-11-06 13:57hgbotNote Added: 0081567
2015-11-06 13:57hgbotStatusscheduled => resolved
2015-11-06 13:57hgbotResolutionopen => fixed
2015-11-06 13:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b0d1b3ab201cf7ac41b4fa3f01d85cbd443aee9c [^]
2015-11-06 13:57hgbotCheckin
2015-11-06 13:57hgbotNote Added: 0081568
2015-11-06 13:58dmiguelezReview Assigned To => dmiguelez
2015-11-06 13:58dmiguelezNote Added: 0081569
2015-11-06 13:58dmiguelezStatusresolved => closed
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082186
2015-11-23 21:17hudsonbotCheckin
2015-11-23 21:17hudsonbotNote Added: 0082187

Notes
(0081567)
hgbot   
2015-11-06 13:57   
Repository: erp/devel/pi
Changeset: b0d1b3ab201cf7ac41b4fa3f01d85cbd443aee9c
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Nov 04 21:20:09 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b0d1b3ab201cf7ac41b4fa3f01d85cbd443aee9c [^]

Fixes issue 31119: Warehouse rules should be adapted to type "Parameter"

Create new warehouse rule procedures of type Parameter: M_UNIQUEATTRIBUTE_RULE_PARAM, M_UNIQUELOCATOR_RULE_PARAM, M_WAREHOUSE_DEFAULT_RULE_PARAM.
Deprecate old warehouse rule procedures of type PInstance: M_UNIQUEATTRIBUTE_RULE, M_UNIQUELOCATOR_RULE, M_WAREHOUSE_DEFAULT_RULE.
Update warehouse rules in F&B International Group and QA Testing clients to the new ones.

---
M referencedata/sampledata/F_B_International_Group/M_WAREHOUSE_RULE.xml
M referencedata/sampledata/QA_Testing/M_WAREHOUSE_RULE.xml
M src-db/database/model/functions/M_UNIQUEATTRIBUTE_RULE.xml
M src-db/database/model/functions/M_UNIQUELOCATOR_RULE.xml
M src-db/database/model/functions/M_WAREHOUSE_DEFAULT_RULE.xml
A src-db/database/model/functions/M_UNIQUEATTRIBUTE_RULE_PARAM.xml
A src-db/database/model/functions/M_UNIQUELOCATOR_RULE_PARAM.xml
A src-db/database/model/functions/M_WAREHOUSE_DEFAULT_RULE_PARAM.xml
---
(0081568)
hgbot   
2015-11-06 13:57   
Repository: erp/devel/pi
Changeset: 940048b0ab812ef86f4b202092e6d8c6bc4ddd2c
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Nov 06 13:56:58 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/940048b0ab812ef86f4b202092e6d8c6bc4ddd2c [^]

Related to Issue 31119: Changes done in the Code Review.

Modified call to execute Warehouse Rule in M_Get_Stock_Param
in order to properly retrieve the OUT Parameters.
Previously it was throwing an exception always.

---
M src-db/database/model/functions/M_GET_STOCK_PARAM.xml
---
(0081569)
dmiguelez   
2015-11-06 13:58   
Code Review + Testing Ok
(0082186)
hudsonbot   
2015-11-23 21:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7b56bebaaa88 [^]
Maturity status: Test
(0082187)
hudsonbot   
2015-11-23 21:17   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7b56bebaaa88 [^]
Maturity status: Test