Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005342Openbravo ERPB. User interfacepublic2008-09-30 13:552008-12-01 13:26
plujan 
Hennadzi 
normalminorhave not tried
closedfixed 
5
2.40 
 
Core
No
0005342: 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.
depends on backport 0005421 closed Hennadzi If I have no stock for an ordered product and I try to generate a shipment, message is not clear 
jpg BUG_WrongMessageCreatingShipments.JPG (64,829) 2008-09-30 13:55
https://issues.openbravo.com/file_download.php?file_id=292&type=bug
jpg
Issue History
2008-09-30 13:55plujanNew Issue
2008-09-30 13:55plujanAssigned To => cromero
2008-09-30 13:55plujansf_bug_id0 => 2138102
2008-09-30 13:55plujanFile Added: BUG_WrongMessageCreatingShipments.JPG
2008-09-30 13:55plujanRegression testing => No
2008-10-06 10:53cromeroStatusnew => scheduled
2008-10-06 10:53cromeroAssigned Tocromero => Dowid
2008-10-06 10:53cromerofix_in_branch => trunk
2008-11-13 23:54rafarodaAssigned ToDowid => Hennadzi
2008-11-19 13:46svnbotCheckin
2008-11-19 13:46svnbotNote Added: 0010405
2008-11-19 13:46svnbotStatusscheduled => resolved
2008-11-19 13:46svnbotResolutionopen => fixed
2008-11-19 13:46svnbotsvn_revision => 10234
2008-12-01 13:26krishnaStatusresolved => closed

Notes
(0010405)
svnbot   
2008-11-19 13:46   
Repository: openbravo
Revision: 10234
Author: hennadzi
Date: 2008-11-19 13:45:58 +0100 (Wed, 19 Nov 2008)

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

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