Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019370Openbravo ERPA. Platformpublic2011-12-27 12:282012-04-02 06:12
psarobe 
dmiguelez 
urgentmajoralways
closedfixed 
5
 
3.0MP10 
Core
No
0019370: P&E: Pin feature is not working as expected
When you select a record a pin shows up meaning that this record is not only selected by it is pin up. So when you use another search criteria that this record doesn't satisfy it remains

This is not happening and the record disappears with all the info you entered
1. Login as Openbravo/openbravo
2. Go to Return from Customer
3. Click New and select a customer. Save
4. Click the button Pick/edit lines
5. Clean the filters
6. You will see a lot of record. Pick the first one and enter a qty, i.e 1
7. in the first column type a value that does not fit with the selected record
8. The record disappears. This is wrong
9. Clean the filter
10. The record appears again but without the info you entered. This is wrong
The record should remain no matter what filters you put
VMA-Reviewed
related to defect 0020101 closed migueldejuana In Pick and Execute Window, it does not send the Form Data as expected 
Issue History
2011-12-27 12:28psarobeNew Issue
2011-12-27 12:28psarobeAssigned To => alostale
2011-12-27 12:28psarobeModules => Core
2011-12-27 16:10iperdomoStatusnew => scheduled
2011-12-27 16:10iperdomoAssigned Toalostale => iperdomo
2011-12-27 16:10iperdomofix_in_branch => pi
2011-12-27 18:39iperdomoAssigned Toiperdomo => gorkaion
2011-12-27 18:41iperdomoNote Added: 0044037
2012-01-24 09:48gorkaionAssigned Togorkaion => jonalegriaesarte
2012-01-24 09:50gorkaionNote Added: 0044498
2012-01-24 10:01jonalegriaesarteTarget Version => 3.0MP9
2012-01-24 10:01jonalegriaesartefix_in_branchpi =>
2012-02-15 13:14jonalegriaesarteTarget Version3.0MP9 =>
2012-02-15 19:03iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-17 09:06vmromanosTag Attached: VMA-Reviewed
2012-03-23 14:25dmiguelezAssigned Tovmromanos => dmiguelez
2012-03-23 14:42dmiguelezRelationship addedrelated to 0020101
2012-03-26 19:05dmiguelezNote Added: 0046742
2012-03-28 13:06hgbotCheckin
2012-03-28 13:06hgbotNote Added: 0046825
2012-03-28 13:06hgbotStatusscheduled => resolved
2012-03-28 13:06hgbotResolutionopen => fixed
2012-03-28 13:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6d62caf89ace64b01ed2b98869e95e932c90bf0c [^]
2012-03-28 13:08vmromanosNote Added: 0046826
2012-03-28 13:08vmromanosStatusresolved => closed
2012-03-28 13:08vmromanosFixed in Version => 3.0MP10
2012-04-02 06:12hudsonbotCheckin
2012-04-02 06:12hudsonbotNote Added: 0047257

Notes
(0044037)
iperdomo   
2011-12-27 18:41   
The problem is the id generation for the rows.
The pin works sending the id of the row to the server, and "retain" that row using an OR operator.

The C_RM_ORDER_PICK_EDIT_LINES view is using get_uuid() in the SELECT statement, so on each run, a new uuid is generated, so the id sent in the request is not longer valid.
(0044498)
gorkaion   
2012-01-24 09:50   
Fix for M_RM_Shipment_Pick_Edit, use COALESCE(iol.m_inoutline_id, sd.m_storagedetail_id, ol.c_orderline_id)) instead of get_uuid().

Views C_RM_ORDER_PICK_EDIT_LINES and M_RM_Receipt_Pick_Edit also need to be fixed.
(0046742)
dmiguelez   
2012-03-26 19:05   
Test Plan:

Login as Openbravo/openbravo

Go to Return from Customer
Click New with Busines Partner: Healthy Food Supermarkets.
Click the button Pick/edit lines
Clean the filters
You will see a lot of record. Pick the first one and enter a qty: 10
In the first column type a value that does not fit with the selected record
The record should not disappear.
Click on Done.
Book the Return from Customer.

Go to Return Material Receipt
Click New with Busines Partner: Healthy Food Supermarkets.
Click the button Pick/edit lines
A record should appear with Returned 10.
Pick the first one and enter a Receiving: 10
In the first column type a value that does not fit with the selected record
The record should not disappear.

Go to Return to Vendor
Click New with Busines Partner: Be Soft Drinker.
Click the button Pick/edit lines
Clean the filters
You will see a lot of record. Pick the first one and enter a qty: 10
In the first column type a value that does not fit with the selected record
The record should not disappear.
Click on Done.
Book the Return to Vendor.

Go to Return Material Receipt
Click New with Busines Partner: Be Soft Drinker.
Click the button Pick/edit lines
Two records should appear with Returned 10.
Pick the first one and enter a Ship Qty: 10
In the first column type a value that does not fit with the selected record
The record should not disappear.
There is a reported issue that prevents this window from working properly.
(0046825)
hgbot   
2012-03-28 13:06   
Repository: erp/devel/pi
Changeset: 6d62caf89ace64b01ed2b98869e95e932c90bf0c
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Tue Mar 27 09:39:19 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6d62caf89ace64b01ed2b98869e95e932c90bf0c [^]

Fixes issue 19370: Changed the ID's of the Views
Plus added extra lenght to the definition of an ID.

---
M src-db/database/model/views/C_RM_ORDER_PICK_EDIT_LINES.xml
M src-db/database/model/views/M_RM_RECEIPT_PICK_EDIT.xml
M src-db/database/model/views/M_RM_SHIPMENT_PICK_EDIT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
---
(0046826)
vmromanos   
2012-03-28 13:08   
code review + testing OK
(0047257)
hudsonbot   
2012-04-02 06:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/7814864461ac [^]

Maturity status: Test