Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031120Retail ModulesAuto BOM For Retailpublic2015-10-09 10:512015-11-16 12:36
malsasua 
fmolina 
highmajoralways
closedfixed 
20Community Appliance
 
 
guilleaer
No
0031120: autobom module is not working when there are warehouse rules with type PInstance
if you have warehouse rules defined as type "PInstance", the module autobom is not working. When the receipt is synced, error is returned:

483e71ec 2015-10-03 20:59:48,880 [ajp-8809-5] ERROR org.openbravo.base.exception.OBException - Error in AutoBOM when getting stock for
product B4E01030670148F98EF152C9C0F0E136
javax.servlet.ServletException: @CODE=0@ERROR: null value in column "record_id" violates not-null constraint
. in backoffice, define warehouse rule as PInstance
. go to webpos, and paid a receipt
the receipt is sent to Errors while importing with this error

483e71ec 2015-10-03 20:59:48,880 [ajp-8809-5] ERROR org.openbravo.base.exception.OBException - Error in AutoBOM when getting stock for
product B4E01030670148F98EF152C9C0F0E136
javax.servlet.ServletException: @CODE=0@ERROR: null value in column "record_id" violates not-null constraint
No tags attached.
related to defect 0031118 closed Orekaria Retail Modules terminal authentication is not working with a role without permission to void layaway 
related to defect 0031119 closed aferraz Openbravo ERP warehouse rules should be adapted to type "Parameter" 
Issue History
2015-10-09 10:51malsasuaNew Issue
2015-10-09 10:51malsasuaAssigned To => Retail
2015-10-09 10:51malsasuaResolution time => 1446764400
2015-10-09 10:51malsasuaTriggers an Emergency Pack => No
2015-10-09 10:58malsasuaRelationship addedrelated to 0031118
2015-10-09 12:54OrekariaStatusnew => acknowledged
2015-10-14 14:05OrekariaRelationship addedrelated to 0031119
2015-10-27 11:55ngarciaIssue Monitored: ngarcia
2015-11-10 12:31fmolinaStatusacknowledged => scheduled
2015-11-10 12:31fmolinaAssigned ToRetail => fmolina
2015-11-11 19:30fmolinaNote Added: 0081729
2015-11-11 19:31fmolinaStatusscheduled => resolved
2015-11-11 19:31fmolinaResolutionopen => fixed
2015-11-16 12:36guilleaerReview Assigned To => guilleaer
2015-11-16 12:36guilleaerStatusresolved => closed

Notes
(0081729)
fmolina   
2015-11-11 19:30   
Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: d037758b7b88ec7b5ae06594fed14bdbafe3f889
Author: Facundo Molina <fmolina <at> koodu.es>
Date: Wed Nov 11 15:23:36 2015 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/d037758b7b88ec7b5ae06594fed14bdbafe3f889 [^] [^]

Fixes issue 31120: autobom module is not working when there are warehouse rules with type PInstance

---
M src/org/openbravo/retail/autobom/BOMProcess.java
---