Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040315Openbravo ERP07. Sales managementpublic2019-02-26 17:472019-03-06 15:28
ngarcia 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR18Q4.33.0PR18Q4.3 
Sandrahuguet
Core
No
0040315: 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.0PR18Q4.3
2019-03-06 07:10AtulOpenbravoNote Added: 0110246
2019-03-06 13:44hgbotCheckin
2019-03-06 13:44hgbotNote Added: 0110254
2019-03-06 13:44hgbotStatusscheduled => resolved
2019-03-06 13:44hgbotResolutionopen => fixed
2019-03-06 13:44hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q4.3/rev/a6f6f363f490c330ab5eb903a49afe0abc59d032 [^]
2019-03-06 15:28SandrahuguetReview Assigned To => Sandrahuguet
2019-03-06 15:28SandrahuguetNote Added: 0110257
2019-03-06 15:28SandrahuguetStatusresolved => closed
2019-03-06 15:28SandrahuguetFixed in Version => 3.0PR18Q4.3

Notes
(0110246)
AtulOpenbravo   
2019-03-06 07:10   
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.
(0110254)
hgbot   
2019-03-06 13:44   
Repository: erp/backports/3.0PR18Q4.3
Changeset: a6f6f363f490c330ab5eb903a49afe0abc59d032
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.0PR18Q4.3/rev/a6f6f363f490c330ab5eb903a49afe0abc59d032 [^]

Fixes Issue 0040315: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
---
(0110257)
Sandrahuguet   
2019-03-06 15:28   
Code review + testing OK