Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020280Openbravo ERP03. Procurement managementpublic2012-04-16 17:592012-05-25 12:10
maite 
ioritzCia 
highminoralways
closedfixed 
5
 
3.0MP12 
Core
No
0020280: Insufficient stock message needs to be improved
Insufficient stock message needs to be improved because, under some circumstances, does not show enough information
1. Create Warehouse Order for any BP and add several lines for different product
2. When processing "Book" button, associated shipment is going to be created. If there is no enough stock for one of referenced product, following error will be raised "Insufficient stock: line 150" by M_INOUT_POST procedure.

But "lineno" showed in message corresponds to "Cur_InOutLine.line" which is not really created as roll-back is performed. So in case shipment's line are not ordered in same order as order's lines, user does not know which order line is causing error.
Message throw in M_INOUT_POST procedure should contain which product is causing problem (for example, adding message cause to show product's name)
No tags attached.
related to defect 00215853.0MP15 closed ioritzCia Not possible to complete some good shipment susing a product whose name is longer than 40 characters 
Issue History
2012-04-16 17:59maiteNew Issue
2012-04-16 17:59maiteAssigned To => vmromanos
2012-04-16 17:59maiteModules => Core
2012-04-16 18:09maiteTarget Version => 3.0MP12
2012-04-17 10:49jonalegriaesarteAssigned Tovmromanos => jonalegriaesarte
2012-05-02 12:43jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2012-05-09 10:11hgbotCheckin
2012-05-09 10:11hgbotNote Added: 0048490
2012-05-09 10:11hgbotStatusnew => resolved
2012-05-09 10:11hgbotResolutionopen => fixed
2012-05-09 10:11hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8b2d0f4ae3fe3c96863acea46341585159dabdae [^]
2012-05-14 11:55maiteNote Added: 0048611
2012-05-14 11:55maiteStatusresolved => closed
2012-05-25 12:10hudsonbotCheckin
2012-05-25 12:10hudsonbotNote Added: 0049075
2012-09-10 12:49ioritzCiaRelationship addedrelated to 0021585

Notes
(0048490)
hgbot   
2012-05-09 10:11   
Repository: erp/devel/pi
Changeset: 8b2d0f4ae3fe3c96863acea46341585159dabdae
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Wed May 09 10:08:27 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8b2d0f4ae3fe3c96863acea46341585159dabdae [^]

Fixes issue 20280: Insufficient stock message needs to be improved.

---
M src-db/database/model/functions/M_INOUT_POST.xml
---
(0048611)
maite   
2012-05-14 11:55   
verified
(0049075)
hudsonbot   
2012-05-25 12:10   
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/5401e185a8b0 [^]

Maturity status: Test