Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025090Openbravo ERP04. Warehouse managementpublic2013-11-05 23:482013-11-19 19:07
VictorVillar 
dmiguelez 
urgentmajoralways
closedfixed 
5
pi 
3.0MP303.0MP30 
jonalegriaesarte
Core
No
0025090: Physical Inventory fails under some circumstancies
Physical Inventory fails under some circumstancies.
The problem is that when you have a product with some Attribute Set Value specified with a Use Attribute Set Value As field set to
Specification, it is not possible to process the Physical Inventory containing this product, it always displays an error message "In line 10
the product has no attribute set".
The problem is that when you have a product with some Attribute Set Value specified with a Use Attribute Set Value As field set to
Specification, it is not possible to process the Physical Inventory containing this product, it always displays an error message "In line 10
the product has no attribute set".
The problem seems to be fixed by modifying the file /src/org/openbravo/materialmgmt/InventoryCountProcess.java in the function
runChecks around line number 226, from:

where.append(" and coalesce(p." + Product.PROPERTY_ATTRIBUTESETVALUE + ", '-') <> 'F'");

to:

where.append(" and coalesce(p." + Product.PROPERTY_USEATTRIBUTESETVALUEAS + ", '-') <> 'F'");
No tags attached.
Issue History
2013-11-05 23:48VictorVillarNew Issue
2013-11-05 23:48VictorVillarAssigned To => dmiguelez
2013-11-05 23:48VictorVillarModules => Core
2013-11-05 23:48VictorVillarResolution time => 1386025200
2013-11-05 23:48VictorVillarTriggers an Emergency Pack => No
2013-11-05 23:48VictorVillarIssue Monitored: networkb
2013-11-06 00:04hgbotCheckin
2013-11-06 00:04hgbotNote Added: 0062033
2013-11-06 00:04hgbotStatusnew => resolved
2013-11-06 00:04hgbotResolutionopen => fixed
2013-11-06 00:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dd09c73c704e0adaab07a7e57bb8ad17709fcc3a [^]
2013-11-06 11:23jonalegriaesarteReview Assigned To => jonalegriaesarte
2013-11-06 11:23jonalegriaesarteNote Added: 0062041
2013-11-06 11:23jonalegriaesarteStatusresolved => closed
2013-11-06 11:23jonalegriaesarteFixed in Version => 3.0MP30
2013-11-19 19:07hudsonbotCheckin
2013-11-19 19:07hudsonbotNote Added: 0062237

Notes
(0062033)
hgbot   
2013-11-06 00:04   
Repository: erp/devel/pi
Changeset: dd09c73c704e0adaab07a7e57bb8ad17709fcc3a
Author: Victor Villar <victor.villar <at> openbravo.com>
Date: Wed Nov 06 00:03:12 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/dd09c73c704e0adaab07a7e57bb8ad17709fcc3a [^]

Fixed issue 25090: Physical Inventory fails
under some circumstancies

---
M src/org/openbravo/materialmgmt/InventoryCountProcess.java
---
(0062041)
jonalegriaesarte   
2013-11-06 11:23   
Closed working fine in customer side.
(0062237)
hudsonbot   
2013-11-19 19:07   
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/ab71e0273dc1 [^]

Maturity status: Test