Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028704Openbravo ERP04. Warehouse managementpublic2015-01-20 19:072016-02-12 15:44
ngarcia 
markmm82 
urgentmajoralways
scheduledopen 
5
 
 
Core
No
0028704: Create a Warehouse Rule in order to take the stock only from the warehouse defined in the header
Create a Warehouse Rule in order to take the stock only from the warehouse defined in the header.
As group admin role:
   Create a Warehouse order for F&B España S.A. and Región Norte warehouse
   Add a product which has stock only in Región Sur
   Book the order
   Check the automatically generated goods shipment has the Region Norte warehouse in header but the stock has been taken from a storage bin of Region Sur
No tags attached.
Issue History
2015-01-20 19:07ngarciaNew Issue
2015-01-20 19:07ngarciaAssigned To => dmiguelez
2015-01-20 19:07ngarciaModules => Core
2015-01-20 19:07ngarciaTriggers an Emergency Pack => No
2015-01-20 19:07ngarciaIssue Monitored: networkb
2016-02-03 17:08markmm82Statusnew => scheduled
2016-02-03 17:08markmm82Assigned Todmiguelez => markmm82
2016-02-12 15:44markmm82Note Added: 0084167

Notes
(0084167)
markmm82   
2016-02-12 15:44   
Test plan 1
First, create a new Warehouse Rule to be available in the Sales orders lines:
   Name: Unique Warehouse.
   Procedure: M_UNIQUEWAREHOUSE_RULE_PARAM.
   Save.

As group admin role:
   Create a Warehouse order
    Organization:F&B España S.A.
    Transaction document: Warehouse order.
    Warehouse: Región Norte warehouse.
   Add a line
    Select a product which has stock only in Región Sur (for instance: Agua sin Gas 1L)
    Warehouse rule: Unique Warehouse rule
   Book the order.
   Check an error message showing that the selected product has not enough stock, order is not processed and the shipment is not generated.

Test plan 2
As group admin role:
   Create a Warehouse order
    Organization:F&B España S.A.
    Transaction document: Warehouse order.
    Warehouse: Región Norte warehouse.
   Add a line
    Select a product which has stock in both warehouses Región Norte and Región Sur (for instance: Zumo de Naranja Bio)
    Warehouse rule: Unique Warehouse rule
   Book the order.
   Check the automatically generated goods shipment has the Region Norte warehouse in header and the stock has been taken from a storage bin of Region Norte.