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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025541
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementminorhave not tried2014-01-23 10:402014-02-12 18:29
ReportercaristuView Statuspublic 
Assigned Tocaristu 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision7ccc650e7c7e
ProjectionnoneETAnoneTarget Version3.0PR14Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned ToVictorVillar
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025541: Wrong error message when generating bill of materials production under some circumstances

DescriptionIf we process a bill of materials and we have a completed stock reservation for a needed product with all the quantity released, this reservation is taken into account when generating the transactions.

If in addition we don't have enough stock of that product, the following message appears:

"Cannot take out reserved stock of Product: xxx, Attribute Set Instance: xxx, UOM: xxx and Storage Bin: xxx"
Steps To Reproduce1) In the [Client] window check the "allow negative stock"
2) Create a new product: P1
3) Create a new product: B1 and check it as bill of materials, add two units of P1 in the [Bill of Materials] tab
4) Verify the BOM
5) Create a new physical inventory for product P1, with quantity 1
6) Create a new sales order with one line with P1 product and quantity 1, reserve it and create the corresponding goods shipment (the reservation will be completed and with all its quantity released)
7) Create a new Bill of Materials production for B1 product.
8) Process it. The error appears.
Proposed SolutionCompleted reservations with all the stock released shouldn't be taken into account in the M_TRANSACTION_TRG2 trigger
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0063665)
hgbot (developer)
2014-01-23 19:04

Repository: erp/devel/pi
Changeset: 7ccc650e7c7e1bc7f602c6282214abca32af49cc
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Jan 23 19:03:43 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7ccc650e7c7e1bc7f602c6282214abca32af49cc [^]

fixes issue 25541: Adds condition to the m_transaction_trg2 trigger

---
M src-db/database/model/triggers/M_TRANSACTION_TRG2.xml
---
(0063666)
VictorVillar (developer)
2014-01-24 00:18

Verified
(0064110)
hudsonbot (developer)
2014-02-12 18:29

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/d1a5bb862230 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-01-23 10:40 caristu New Issue
2014-01-23 10:40 caristu Assigned To => caristu
2014-01-23 10:40 caristu Modules => Core
2014-01-23 10:40 caristu Triggers an Emergency Pack => No
2014-01-23 10:40 caristu version => pi
2014-01-23 10:40 caristu Target Version => 3.0MP32
2014-01-23 10:45 caristu Issue Monitored: networkb
2014-01-23 10:46 caristu Steps to Reproduce Updated View Revisions
2014-01-23 10:46 caristu Steps to Reproduce Updated View Revisions
2014-01-23 19:04 hgbot Checkin
2014-01-23 19:04 hgbot Note Added: 0063665
2014-01-23 19:04 hgbot Status new => resolved
2014-01-23 19:04 hgbot Resolution open => fixed
2014-01-23 19:04 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7ccc650e7c7e1bc7f602c6282214abca32af49cc [^]
2014-01-24 00:18 VictorVillar Review Assigned To => VictorVillar
2014-01-24 00:18 VictorVillar Note Added: 0063666
2014-01-24 00:18 VictorVillar Status resolved => closed
2014-02-12 18:29 hudsonbot Checkin
2014-02-12 18:29 hudsonbot Note Added: 0064110


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker