Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040314Openbravo ERP07. Sales managementpublic2019-02-26 17:472019-03-06 15:27
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR19Q13.0PR19Q1 
Sandrahuguet
Core
No
0040314: Create Shipments From Orders is linking invoice lines with shipment lines that have different products if the order is invoiced
Create Shipments From Orders is linking invoice lines with shipment lines that have different products if the order is invoiced
As group admin role:
   Create 4 products and add a sales price to them
   Create a Goods Receipt:
      Add 2.5 units of the A product in a storage bin
      Add 5 units of the A product in a different storage bin
      Add 2.5 units of the A product in a different storage bin
      Add 5 units of the B product in a different storage bin

   Create a Sales Order
      Add 10 units of the A product to it
      Add 5 units of the B product to it
      Add 10 units of the C product to it
      Add 10 units of the D product to it

    Set it's invoice terms as Immediate and book it

    Go to Create Invoices From Orders and select previously created order
    Go to Create Shipments From Orders and select previously created order

    Go to the Sales Invoice created and check that the 3rd (product C) and 4th
 (product D) lines are related with the 2nd line of the shipment (product B)
No tags attached.
blocks defect 0040278 closed AtulOpenbravo Create Shipments From Orders is linking invoice lines with shipment lines that have different products if the order is invoiced 
Issue History
2019-03-05 11:29AtulOpenbravoTypedefect => backport
2019-03-05 11:29AtulOpenbravoTarget Version => 3.0PR19Q1
2019-03-06 07:11AtulOpenbravoNote Added: 0110247
2019-03-06 15:27hgbotCheckin
2019-03-06 15:27hgbotNote Added: 0110255
2019-03-06 15:27hgbotStatusscheduled => resolved
2019-03-06 15:27hgbotResolutionopen => fixed
2019-03-06 15:27hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/660371b53c8181ba83e0f01464967f1844e26137 [^]
2019-03-06 15:27SandrahuguetReview Assigned To => Sandrahuguet
2019-03-06 15:27SandrahuguetNote Added: 0110256
2019-03-06 15:27SandrahuguetStatusresolved => closed
2019-03-06 15:27SandrahuguetFixed in Version => 3.0PR19Q1

Notes
(0110247)
AtulOpenbravo   
2019-03-06 07:11   
Test Plan

- Login as F&B International Group admin role:
- Create 4 products in F&B Espana Org. and add a sales price to them
- Create a Goods Receipt in F&B Espana Org.
      Add 2.5 units of the product A in a storage bin RN-0-0-0
      Add 5 units of the product A in a different storage bin RN-1-0-0
      Add 2.5 units of the product A in a different storage bin RN-2-0-0
      Add 5 units of the B product A in a different storage bin RN-Dev

- Create a Sales Order in F&B Espana Org.
      Add 10 units of the A product to it
      Add 5 units of the B product to it
      Add 10 units of the C product to it
      Add 10 units of the D product to it

- Set it's invoice terms as Immediate and book it

- Go to Create Invoices From Orders and select previously created order
- Go to Create Shipments From Orders and select previously created order

- Go to the Sales Invoice created and check that the 3rd (product C) and 4th
 (product D) lines have Goods Shipment Line reference as blank.
(0110255)
hgbot   
2019-03-06 15:27   
Repository: erp/backports/3.0PR19Q1
Changeset: 660371b53c8181ba83e0f01464967f1844e26137
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Thu Feb 28 11:24:05 2019 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/660371b53c8181ba83e0f01464967f1844e26137 [^]

Fixes Issue 0040314:Create Shipments From Orders is linking invoice
lines with shipment lines that have different products if the order
is invoiced

Reset the m_inoutline_id stored in v_NextNo when a new orderline
is being used to create m_inoutline record

---
M src-db/database/model/functions/M_INOUT_CREATE.xml
---
(0110256)
Sandrahuguet   
2019-03-06 15:27   
Code review + testing ok