Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034852Openbravo ERP07. Sales managementpublic2017-01-03 13:222017-01-09 18:31
psanjuan 
rqueralta 
urgentmajoralways
closedfixed 
20Professional Appliance
 
3.0PR16Q4.13.0PR16Q4.1 
markmm82
Core
Production - QA Approved
3.0PR16Q4
No
0034852: 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.0PR16Q4.1
2017-01-09 17:53hgbotCheckin
2017-01-09 17:53hgbotNote Added: 0093275
2017-01-09 17:53hgbotStatusscheduled => resolved
2017-01-09 17:53hgbotResolutionopen => fixed
2017-01-09 17:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q4.1/rev/4d5b8e238f10eac1b502ae1798561bd10056a362 [^]
2017-01-09 17:56markmm82Review Assigned To => markmm82
2017-01-09 17:56markmm82Note Added: 0093277
2017-01-09 17:56markmm82Statusresolved => closed
2017-01-09 17:56markmm82Fixed in Version => 3.0PR17Q2
2017-01-09 18:31markmm82Fixed in Version3.0PR17Q2 => 3.0PR16Q4.1

Notes
(0093275)
hgbot   
2017-01-09 17:53   
Repository: erp/backports/3.0PR16Q4.1
Changeset: 4d5b8e238f10eac1b502ae1798561bd10056a362
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Thu Jan 05 09:22:53 2017 -0500
URL: http://code.openbravo.com/erp/backports/3.0PR16Q4.1/rev/4d5b8e238f10eac1b502ae1798561bd10056a362 [^]

Fixed issue 34852: 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
---
(0093277)
markmm82   
2017-01-09 17:56   
Code review + Testing OK