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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007289
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementmajoralways2009-01-30 18:072009-07-03 13:14
ReporternetworkbView Statuspublic 
Assigned Togorkaion 
PriorityimmediateResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branchpiFixed in SCM revision046023152f28
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.40SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007289: The processes to generate Shipments and invoices automatically don't allow negative stock

DescriptionThe following processes
  Create Shipments from Orders
  Generate Shipments
  Create Invoices from Orders
  Generate Invoices

don't work well when creating them from order where you have define an amount of a product bigger than the quantity stocked in the warehouse.
This happens although you have checked the "allow negative stock" in the information tab of the client (entity).

The lines of the generated document don't have the quantity defined in the order but the quantity stored in the warehouse.
Steps To Reproduce-Go to the client window and the information tab. Check the "allow negative stock" checkbox

-Create a sales order. In the lines select a product item without attributes.
-Fill the quantity field with a quantity bigger than the quantity stored in the warehouse.
-Complete the order.
-Go to a process detailed in the previous field. (i.e. Generate Shipments form orders)
-Select the order created before.
-Process it
-Then you get the following message: "Partially shipment created".
Tagscommsup_sprint6
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0007334 closedgorkaion The processes to generate Shipments and invoices automatically don't allow negative stock 
related to defect 0008485 closedgorkaion The complete process of sales order does not work with POS document type if the product has not stock 

-  Notes
(0013258)
gorkaion (developer)
2009-02-09 13:04

The process now inserts an extra line with the remaining quantity when the client allows negative stock.
Changed the message system to correct an issue with multiline orders.
Removed the Oracle's savepoint from the procedure and replaced the rollback with delete statements.
(0013261)
rafaroda (developer)
2009-02-09 13:45

Repository: openbravo
Revision: 12949
Author: gorkaion
Date: 2009-02-09 13:03:48 +0100 (Mon, 09 Feb 2009)

Fixed bug 7334.
The process now inserts an extra line with the remaining quantity when the client allows negative stock.
Changed the message system to correct an issue with multiline orders.
Removed the Oracle's savepoint from the procedure and replaced the rollback with delete statements.

---
U trunk/src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.java
U trunk/src-db/database/model/functions/M_INOUT_CREATE.xml
U trunk/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12949&sc=1 [^] [^]
(0014481)
sureshbabu (reporter)
2009-03-06 11:56

Retested working fine(trunk)
(0016270)
hgbot (developer)
2009-05-11 17:14

Repository: erp/devel/pi
Changeset: d128f84ed54662cc71209d67e39757764d51a0e2
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon May 11 17:11:55 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d128f84ed54662cc71209d67e39757764d51a0e2 [^]

Related to issue 7289. Fixed an error in a delete statement.

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0017879)
hgbot (developer)
2009-07-03 13:14

Repository: erp/devel/pi
Changeset: 046023152f283f783e472f2774db9309092b9f40
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon May 11 17:11:55 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/046023152f283f783e472f2774db9309092b9f40 [^]

Related to issue 7289. Fixed an error in a delete statement.

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---

- Issue History
Date Modified Username Field Change
2009-01-30 18:07 networkb New Issue
2009-01-30 18:07 networkb Assigned To => rafaroda
2009-01-30 18:08 networkb sf_bug_id 0 => 2549649
2009-01-30 18:08 networkb Regression testing => No
2009-02-03 10:44 psarobe Status new => scheduled
2009-02-03 10:44 psarobe Assigned To rafaroda => gorkaion
2009-02-03 10:44 psarobe fix_in_branch => trunk
2009-02-09 13:04 gorkaion Status scheduled => resolved
2009-02-09 13:04 gorkaion svn_revision => 12949
2009-02-09 13:04 gorkaion Resolution open => fixed
2009-02-09 13:04 gorkaion Note Added: 0013258
2009-02-09 13:45 rafaroda Note Added: 0013261
2009-02-12 18:55 gorkaion Tag Attached: commsup_sprint6
2009-03-06 11:56 sureshbabu Status resolved => closed
2009-03-06 11:56 sureshbabu Note Added: 0014481
2009-03-06 11:56 sureshbabu Fixed in Version => 2.50beta
2009-04-07 17:30 rafaroda Relationship added related to 0008485
2009-05-11 17:14 hgbot Checkin
2009-05-11 17:14 hgbot Note Added: 0016270
2009-05-11 17:14 hgbot Fixed in SCM revision 12949 => http://code.openbravo.com/erp/devel/pi/rev/d128f84ed54662cc71209d67e39757764d51a0e2 [^]
2009-07-03 13:14 hgbot Checkin
2009-07-03 13:14 hgbot Note Added: 0017879
2009-07-03 13:14 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/d128f84ed54662cc71209d67e39757764d51a0e2 [^] => http://code.openbravo.com/erp/devel/pi/rev/046023152f283f783e472f2774db9309092b9f40 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker