Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021872
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementmajoralways2012-10-05 13:082012-10-11 10:23
ReportermaiteView Statuspublic 
Assigned ToioritzCia 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisiondd07b90a28d2
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021872: Problem when working with "Copy From Attribute" and you P+ has attribute auto-numbering defined

DescriptionProblem when working with "Copy From Attribute" and you P+ has attribute auto-numbering defined
Steps To Reproduce1. Define Attribute Set as Lot and with Lot Control number
2. Define Product0 with attribute Lote and checked as Production.
3. Define Product1 with attribute Lote and checked as Production. Access Manufacturing tab and set storage bin
4. Define Activity
5. Define Process Plan, add Version, add Operation checking "Create Standards" option. Add IO Products:
  5.1. Product 0 as P-, qty=1
  5.2. Product 1 as P+, qty=1. Access "Copy Attribute" tab and select "product 1", "is special attribute" and "Lot" options
6. Create Work Requirement and run "Process Work Requirement"
7. Go to Work Effort created and navigate until Products tab. Realize that Attribute for P- and P+ are different when it should be the same
Proposed SolutionIn CreateStandards.java, modify line 257 to call "setAttributeInstance" method as follows:
OBError createAttributeInstanceError = attSetInstanceTo.setAttributeInstance(conn, vars,
              opProduct.getProduct().getAttributeSet().getId(), "", "", "Y", opProduct.getProduct()
                  .getId(), attValues);
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0053186)
hgbot (developer)
2012-10-10 09:26

Repository: erp/devel/pi
Changeset: dd07b90a28d2bb2753161df69a0e38bdc491425a
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Tue Oct 09 13:11:51 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dd07b90a28d2bb2753161df69a0e38bdc491425a [^]

Fixes issue 21872: Problem when working with 'Copy From Attribute'
and your P+ has attribute auto-numbering defined.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateStandards.java
---
(0053286)
hudsonbot (developer)
2012-10-11 07:51

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/63dfc135f2a1 [^]

Maturity status: Test
(0053301)
maite (developer)
2012-10-11 10:23

verified

- Issue History
Date Modified Username Field Change
2012-10-05 13:08 maite New Issue
2012-10-05 13:08 maite Assigned To => dmiguelez
2012-10-05 13:08 maite Modules => Core
2012-10-05 13:14 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2012-10-08 11:44 jonalegriaesarte Assigned To jonalegriaesarte => ioritzCia
2012-10-10 09:26 hgbot Checkin
2012-10-10 09:26 hgbot Note Added: 0053186
2012-10-10 09:26 hgbot Status new => resolved
2012-10-10 09:26 hgbot Resolution open => fixed
2012-10-10 09:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/dd07b90a28d2bb2753161df69a0e38bdc491425a [^]
2012-10-11 07:51 hudsonbot Checkin
2012-10-11 07:51 hudsonbot Note Added: 0053286
2012-10-11 10:23 maite Note Added: 0053301
2012-10-11 10:23 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker