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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007334
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 07. Sales managementmajoralways2009-01-30 18:072009-07-03 13:11
ReporternetworkbView Statuspublic 
Assigned Togorkaion 
PriorityimmediateResolutionfixedFixed in Version2.50MP1
StatusclosedFix in branch2.40Fixed in SCM revision3e33e7857887
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

0007334: 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 ]
related to backport 0008489 closedgorkaion The complete process of sales order does not work with POS document type if the product has not stock 
blocks defect 0007289 closedgorkaion The processes to generate Shipments and invoices automatically don't allow negative stock 

-  Notes
(0013236)
svnbot (reporter)
2009-02-06 19:08

Repository: openbravo
Revision: 12927
Author: gorkaion
Date: 2009-02-06 19:08:02 +0100 (Fri, 06 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 branches/r2.40/src/org/openbravo/erpCommon/ad_forms/GenerateShipmentsmanual.java
U branches/r2.40/src-db/database/model/functions/M_INOUT_CREATE.xml
U branches/r2.40/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=12927&sc=1 [^]
(0014356)
arunkumar (reporter)
2009-03-04 07:41

Able to create a shipment successfully.This issue has been fixed.
(0015114)
hgbot (developer)
2009-04-01 16:29

Repository: erp/devel/pi
Changeset: bab9d2f42e6c5bc56597d50323dff69e669a9763
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Mar 16 17:59:57 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/bab9d2f42e6c5bc56597d50323dff69e669a9763 [^]

Related to issue 7334. Fixed a postgresql/database problem.

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0016272)
hgbot (developer)
2009-05-11 17:34

Repository: erp/stable/2.40
Changeset: 5fc7e7b3fd09d2218c0ab9e24f5c6b5f1a437a06
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon May 11 17:32:48 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/5fc7e7b3fd09d2218c0ab9e24f5c6b5f1a437a06 [^]

Fixed bug 8985. Related to issue 7334. Fixed the procedure to generate shipments.

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

Repository: erp/devel/pi
Changeset: 3e33e785788709c4537c145718ccd676db22c600
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Mar 16 17:59:57 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/3e33e785788709c4537c145718ccd676db22c600 [^]

Related to issue 7334. Fixed a postgresql/database problem.

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

- Issue History
Date Modified Username Field Change
2009-02-03 10:44 psarobe Type defect => backport
2009-02-03 10:44 psarobe fix_in_branch => 2.40
2009-02-03 11:16 rafaroda Assigned To rafaroda => gorkaion
2009-02-06 19:08 svnbot Checkin
2009-02-06 19:08 svnbot Note Added: 0013236
2009-02-06 19:08 svnbot Status scheduled => resolved
2009-02-06 19:08 svnbot Resolution open => fixed
2009-02-06 19:08 svnbot svn_revision => 12927
2009-02-09 13:03 svnbot Checkin
2009-02-09 13:03 svnbot Note Added: 0013257
2009-02-09 13:03 svnbot svn_revision 12927 => 12949
2009-02-09 13:45 rafaroda Note Deleted: 0013257
2009-02-12 18:56 gorkaion Tag Attached: commsup_sprint6
2009-03-03 17:32 psarobe Fixed in Version => 2.40MP3
2009-03-04 07:41 arunkumar Status resolved => closed
2009-03-04 07:41 arunkumar Note Added: 0014356
2009-04-01 16:29 hgbot Checkin
2009-04-01 16:29 hgbot Note Added: 0015114
2009-04-01 16:29 hgbot Fixed in SCM revision 12949 => http://code.openbravo.com/erp/devel/pi/rev/bab9d2f42e6c5bc56597d50323dff69e669a9763 [^]
2009-04-07 17:40 rafaroda Relationship added related to 0008489
2009-05-11 17:34 hgbot Checkin
2009-05-11 17:34 hgbot Note Added: 0016272
2009-05-11 17:34 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/bab9d2f42e6c5bc56597d50323dff69e669a9763 [^] => http://code.openbravo.com/erp/stable/2.40/rev/5fc7e7b3fd09d2218c0ab9e24f5c6b5f1a437a06 [^]
2009-07-03 13:11 hgbot Checkin
2009-07-03 13:11 hgbot Note Added: 0017811
2009-07-03 13:11 hgbot Fixed in SCM revision http://code.openbravo.com/erp/stable/2.40/rev/5fc7e7b3fd09d2218c0ab9e24f5c6b5f1a437a06 [^] => http://code.openbravo.com/erp/devel/pi/rev/3e33e785788709c4537c145718ccd676db22c600 [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker