Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034851Openbravo ERP07. Sales managementpublic2017-01-03 13:222017-01-09 19:39
psanjuan 
rqueralta 
urgentmajoralways
closedfixed 
20Professional Appliance
 
3.0PR17Q13.0PR17Q1 
markmm82
Core
Production - QA Approved
3.0PR16Q4
No
0034851: Not possible to select a shipment in RFC window if that shipment has not been created from an order.
Not possible to select a shipment in RFC window if that shipment has not been created from an order.
In Livebuilds Q4.
Go to product window and create a new one named Product 1 for F&B España.
Enter a purchase price list (Tarifa Bebidas Alegres) and a sales price list (Tarifa de Ventas) in tab "Price".
Enter any unit and list price.

Go to purchase order window and create a new one for F&B España, Bebidas Alegres business partner.
Go to Lines and select the product. Enter an ordered Qty = 500 Units.
Book the order.

Go to Goods Receipt windown and create a new one for F&B España, Bebidas Alegres business partner.
Use Create Lines From. Select the order. Enter a storage bin (RN-0-0-0) and receipt all quanity.
Complete the receipt.

Go to Sales order window and create a new one for F&B España, Alimentos y Supermercados business partner.
Go to Lines and select Product 1. Enter an ordered quantity = 10.
Book the order.

Go to Goods Shipment window and create a new one for F&B España, Alimentos y Supermercados business partner.
Use Create Lines From. Select the sales order just created. Enter a warehouse position RN-0-0-0, and select all lines. Press OK.
Complete the shipment. Write down shipment order number 210, for instance.

In Goods Shipment window create another one for F&B España, Alimentos y Supermercados business partner.
Go to lines tab and create a new one. Select Product 1. Change Movement quantity to 15. Storage bin RN-0-0-0.
Complete the shipment. Write down shipment order number 211, for instance.
 

Go to Return from Customer window, and create a new one for F&B España, Alimentos y Supermercados business partner.
Click on Pick/Edit Lines.

Verify that shipment number 210 (the one created from the sales order) is shown, while shipment number 211 (the one created from scrath) is not.

Both shipment must be shown for selection in Return From Customer window.

Same flow is working in purchase cycle, anyway please double check.
No tags attached.
blocks defect 0034839 closed rqueralta Not possible to select a shipment in RFC window if that shipment has not been created from an order. 
Issue History
2017-01-04 16:11rqueraltaTypedefect => backport
2017-01-04 16:11rqueraltaTarget Version => 3.0PR17Q1
2017-01-09 16:12hgbotCheckin
2017-01-09 16:12hgbotNote Added: 0093267
2017-01-09 16:12hgbotStatusscheduled => resolved
2017-01-09 16:12hgbotResolutionopen => fixed
2017-01-09 16:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q1/rev/db942c7919d3d3d77aa9bee380f61e03dd3363ea [^]
2017-01-09 17:55markmm82Review Assigned To => markmm82
2017-01-09 17:55markmm82Note Added: 0093276
2017-01-09 17:55markmm82Statusresolved => closed
2017-01-09 17:55markmm82Fixed in Version => 3.0PR17Q2
2017-01-09 19:39markmm82Fixed in Version3.0PR17Q2 => 3.0PR17Q1

Notes
(0093267)
hgbot   
2017-01-09 16:12   
Repository: erp/backports/3.0PR17Q1
Changeset: db942c7919d3d3d77aa9bee380f61e03dd3363ea
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Thu Jan 05 09:21:26 2017 -0500
URL: http://code.openbravo.com/erp/backports/3.0PR17Q1/rev/db942c7919d3d3d77aa9bee380f61e03dd3363ea [^]

Fixed issue 34851: Not possible to select a GS in RFC not created from an order

 Restructured HQL inserter query for discount to select a GS in RFC has not been
 created from an order

---
M src/org/openbravo/common/datasource/ReturnFromCustomerHQLInserter.java
---
(0093276)
markmm82   
2017-01-09 17:55   
Code review + Testing OK