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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023069
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementmajoralways2013-02-13 12:532013-03-05 19:09
ReporterVictorVillarView Statuspublic 
Assigned Tojonalegriaesarte 
PriorityurgentResolutionfixedFixed in Version3.0MP21
StatusclosedFix in branchFixed in SCM revision0413794948b0
ProjectionnoneETAnoneTarget Version3.0MP21
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Tojonalegriaesarte
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023069: Not possible to create standards under some circunstancies

DescriptionNot possible to create standards under some circunstancies.

If you have a good shipment in status DRAFT with a product without attributes defined yet, and then create a work effort for the same product, and try to create standards for this product (P+) with the same qty to produce as the qty in the Shipment document, then you can not process create Standards.
Steps To ReproduceIf you have a good shipment in status DRAFT with a product without attributes defined yet, and then create a work effort for the same product, and try to create standards for this product (P+) with the same qty to produce as the qty in the Shipment document, then you can not process create Standards.
Proposed Solutionbecause the m_update_inventory removes the register in the m_storage_detail, created when you have registered the shipment line, then the m_update_stockaux function cannot find it.
The solution proposed:

add the condition in m_update_stockaux:
if (v_count <> 0 ) then

Create a register in the m_storage_detail with all the qty columns set to 0, with the same parameters (product, locator, uom...) as the register removed by the m_update_inventory.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0056484)
hgbot (developer)
2013-02-15 10:05

Repository: erp/devel/pi
Changeset: 0413794948b0373adf3d9dbdbf573fc28e9b9ead
Author: Victor Villar <victor.villar <at> openbravo.com>
Date: Thu Feb 14 09:42:19 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/0413794948b0373adf3d9dbdbf573fc28e9b9ead [^]

Fixes issue 23069: Not possible to create standards under some circunstancies

---
M src-db/database/model/functions/M_UPDATE_STOCKAUX.xml
---
(0056606)
hudsonbot (developer)
2013-02-20 04:50

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

Maturity status: Test
(0056871)
VictorVillar (developer)
2013-03-01 02:10

TEST PLAN:
Create a new product:
  Production: YEs

If you have a good shipment in status DRAFT with the product created before without attributes defined yet, and then create a work effort for the same product, and try to create standards for this product (P+) with the same qty to produce as the qty in the Shipment document, then you can not process create Standards.
(0057068)
jonalegriaesarte (reporter)
2013-03-05 19:09

Closed

- Issue History
Date Modified Username Field Change
2013-02-13 12:53 VictorVillar New Issue
2013-02-13 12:53 VictorVillar Assigned To => dmiguelez
2013-02-13 12:53 VictorVillar Modules => Core
2013-02-13 12:53 VictorVillar Resolution time => 1363129200
2013-02-13 12:53 VictorVillar Triggers an Emergency Pack => No
2013-02-13 12:58 VictorVillar Proposed Solution updated
2013-02-13 12:58 VictorVillar Issue Monitored: networkb
2013-02-14 11:50 naiaramartinez Assigned To dmiguelez => jonalegriaesarte
2013-02-15 10:05 hgbot Checkin
2013-02-15 10:05 hgbot Note Added: 0056484
2013-02-15 10:05 hgbot Status new => resolved
2013-02-15 10:05 hgbot Resolution open => fixed
2013-02-15 10:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0413794948b0373adf3d9dbdbf573fc28e9b9ead [^]
2013-02-20 04:50 hudsonbot Checkin
2013-02-20 04:50 hudsonbot Note Added: 0056606
2013-03-01 02:10 VictorVillar Note Added: 0056871
2013-03-05 19:09 jonalegriaesarte Review Assigned To => jonalegriaesarte
2013-03-05 19:09 jonalegriaesarte Note Added: 0057068
2013-03-05 19:09 jonalegriaesarte Status resolved => closed
2013-03-05 19:09 jonalegriaesarte Fixed in Version => 3.0MP21


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker