Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005421Openbravo ERPB. User interfacepublic2008-10-06 10:532009-01-22 23:16
plujan 
Hennadzi 
normalminorhave not tried
closedfixed 
5
2.40 
2.40MP2 
Core
No
0005421: If I have no stock for an ordered product and I try to generate a shipment, message is not clear
I have no stock of a product. For this product I generate a Sales Order. Then, I use the Create Shipment from Order process. The message after processing is:
Process completed successfully
Order No. 50000 -> Shipment No. - NO SHIPMENT CREATED;

The message is incorrect (see attach). The process (generate shipment) is not completed successfully, since no shipment generated.
The Order 50000 is referenced to a non existent shipment, because no shipment was generated.
The order is still on the list, because no shipment was generated.
The correct message to show is a red one:
Error - No shipment could be created
Order No.50000 - No enough stock for product Final Goods A

In the case of selecting more than one line, and if some lines could be shippent, but some other could not, I would show a yellow message:
Warning - Some shipments could not be created
Order No.50000 - Shipment No. 30000
Order No.50001 - No enough stock for product Final Goods A

I would leave the Process completed successfully green message only if all the shipment were created.
No tags attached.
blocks defect 0005342 closed Hennadzi If I have no stock for an ordered product and I try to generate a shipment, message is not clear 
Issue History
2008-10-06 10:53cromeroNew Issue
2008-10-06 10:53cromeroAssigned To => Dowid
2008-10-06 10:53cromeroStatusnew => scheduled
2008-11-13 23:54rafarodaAssigned ToDowid => Hennadzi
2008-11-19 15:26svnbotCheckin
2008-11-19 15:26svnbotNote Added: 0010411
2008-11-19 15:26svnbotStatusscheduled => resolved
2008-11-19 15:26svnbotResolutionopen => fixed
2008-11-19 15:26svnbotsvn_revision => 10238
2008-11-25 09:05svnbotCheckin
2008-11-25 09:05svnbotNote Added: 0010597
2008-11-25 09:05svnbotsvn_revision10238 => 10502
2009-01-22 23:16psarobeRegression testing => No
2009-01-22 23:16psarobeStatusresolved => closed
2009-02-02 16:04rafarodaNote Deleted: 0010597

Notes
(0010411)
svnbot   
2008-11-19 15:26   
Repository: openbravo
Revision: 10238
Author: hennadzi
Date: 2008-11-19 15:26:35 +0100 (Wed, 19 Nov 2008)

Fixed bug 0005421: If I have no stock for an ordered product and I try to generate a shipment, message is not clear

---
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=10238&sc=1 [^]