Openbravo Issue Tracking System - Retail Modules
View Issue Details
0039120Retail ModulesAuto BOM For Retailpublic2018-08-10 12:092019-06-06 08:31
ngarcia 
rqueralta 
urgentmajoralways
closedfixed 
5
 
RR18Q4 
marvintm
No
0039120: Order goes to Errors While Importing POS Data if the product is Auto Generate BOM and has a mandatory Attribute Set assigned
Order goes to Errors While Importing POS Data if the product is Auto Generate BOM and has a mandatory Attribute Set assigned
In the backend:
   Create an Attribute Set, set it as Lot and Require At Least One Value

   Create a Product
   Set it as Stocked, Bill Of Materials and Auto Generate BOM
   Add a product to it in Bill Of Materials tab and set a BOM Price
   Verify BOM
   Set a Storage Bin for the store's organization in Manufacturing tab
   Add it to the store's price list and assortment
   

In the POS:
   Create a new receipt
   Add the previously created product and pay it

In the backend:
   Check the Order went to Errors While Importing POS Data with the following error:
   "ERROR: @20112@"
No tags attached.
related to defect 0038687 closed rqueralta Autobom not working wth products that have attributes and if there is not stock. 
causes defect 0044596 closed ranjith_qualiantech_com Wrong M_STORAGE_DETAIL table when using AutoBOM with attributes and no stock 
Issue History
2018-08-10 12:09ngarciaNew Issue
2018-08-10 12:09ngarciaAssigned To => Retail
2018-08-10 12:09ngarciaResolution time => 1535666400
2018-08-10 12:09ngarciaTriggers an Emergency Pack => No
2018-08-10 12:10ngarciaIssue Monitored: networkb
2018-08-10 13:45ngarciaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17524#r17524
2018-08-13 16:23rqueraltaAssigned ToRetail => rqueralta
2018-08-13 16:23rqueraltaStatusnew => scheduled
2018-08-29 18:33hgbotCheckin
2018-08-29 18:33hgbotNote Added: 0106527
2018-08-29 18:33hgbotStatusscheduled => resolved
2018-08-29 18:33hgbotResolutionopen => fixed
2018-08-29 18:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/4fa5dc64dd2844cc7fef03c2d8e5020be55e4b17 [^]
2018-08-31 11:31martinsdanIssue Monitored: martinsdan
2018-09-03 11:09ngarciaRelationship addedrelated to 0038687
2018-09-11 15:08hgbotCheckin
2018-09-11 15:08hgbotNote Added: 0106684
2018-09-12 17:54marvintmNote Added: 0106720
2018-09-12 17:54marvintmStatusresolved => new
2018-09-12 17:54marvintmResolutionfixed => open
2018-09-14 17:45hgbotCheckin
2018-09-14 17:45hgbotNote Added: 0106787
2018-09-17 14:27marvintmStatusnew => scheduled
2018-09-17 14:27marvintmStatusscheduled => resolved
2018-09-17 14:27marvintmFixed in Version => RR18Q4
2018-09-17 14:27marvintmResolutionopen => fixed
2018-09-21 09:06marvintmReview Assigned To => marvintm
2018-09-21 09:06marvintmStatusresolved => closed
2019-06-05 15:02hgbotCheckin
2019-06-05 15:02hgbotNote Added: 0112422
2019-06-05 15:02hgbotStatusclosed => resolved
2019-06-05 15:02hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/4fa5dc64dd2844cc7fef03c2d8e5020be55e4b17 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/fd82d06e58d0756de0024f2eab137da39d7edb4b [^]
2019-06-06 08:31marvintmStatusresolved => closed
2020-07-10 17:18gorkaionRelationship addedcauses 0044596

Notes
(0106527)
hgbot   
2018-08-29 18:33   
Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: 4fa5dc64dd2844cc7fef03c2d8e5020be55e4b17
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Aug 29 12:25:10 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/4fa5dc64dd2844cc7fef03c2d8e5020be55e4b17 [^]

Fixed issue 39120: Order goes to Errors While Importing POS Data if the product
is Auto Generate BOM and has a mandatory Attribute Set assigned

- If product has Attribute Set and this it has isRequireAtLeastOneValue checked
the triggers are disable to avoid that a exception be thrown

---
M src/org/openbravo/retail/autobom/BOMProcess.java
---
(0106684)
hgbot   
2018-09-11 15:08   
Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: 97ca6a50761418082a5035d6017e27160e85fc2a
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Thu Sep 06 08:35:37 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/97ca6a50761418082a5035d6017e27160e85fc2a [^]

Related to issue 39120: Order goes to Errors While Importing POS Data if the
product is Auto Generate BOM and has a mandatory Attribute Set assigned

- Verified if preference "Enable Support For Product Attributes" is enable or
not to work as standard POS workflow

---
M src/org/openbravo/retail/autobom/BOMProcess.java
---
(0106720)
marvintm   
2018-09-12 17:54   
Last change is correctly handling the case in which the support for attributes in the WebPOS is disabled. However, we still need to handle correctly the case in which it is enabled, by passing the attributeset value to the process, so that the value in the production line for the main product is correctly set.
(0106787)
hgbot   
2018-09-14 17:45   
Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: 79f3edec4b2f43377fa5bfaf34a42ae379d6fed2
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Fri Sep 14 10:21:49 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/79f3edec4b2f43377fa5bfaf34a42ae379d6fed2 [^]

Related to issue 39120: Order goes to Errors While Importing POS Data if the
product is Auto Generate BOM and has a mandatory Attribute Set assigned

- Added to productionline the attribute set value from json

---
M src/org/openbravo/retail/autobom/BOMProcess.java
---
(0112422)
hgbot   
2019-06-05 15:02   
Repository: erp/pmods/org.openbravo.retail.autobom
Changeset: fd82d06e58d0756de0024f2eab137da39d7edb4b
Author: Rafael Queralta <rafaelcuba81 <at> gmail.com>
Date: Wed Aug 29 12:25:10 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.autobom/rev/fd82d06e58d0756de0024f2eab137da39d7edb4b [^]

Fixed issue 39120: Order goes to Errors While Importing POS Data if the product
is Auto Generate BOM and has a mandatory Attribute Set assigned

- If product has Attribute Set and this it has isRequireAtLeastOneValue checked
the triggers are disable to avoid that a exception be thrown

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