Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0017121Openbravo ERPA. Platformpublic2011-05-11 14:042011-06-16 12:03
AinhoaPagola 
iperdomo 
urgentmajorhave not tried
closedno change required 
5
pi 
 
OBPS
Core
No
0017121: Display Field in OBUISEL selector showing UUID
In the field definition tab of a OBUISEL selector, if a field different to the ID of the table linked to the selector is chosen, the UUID of the field is displayed, instead of the identifier of the record.
* To test this issue at least 2 products are needed. This products must have an Attribute set. And some transactions with these products are needed. For example, "vino tinto" and "vino blanco".

1) Create a new selector as defined in [1]
- In Defined Selector tab set:
  * Table: "M_transaction"
  * HQL where clause: e.attributeSetValue!='0'

- In Defined Selector Field create 4 new fields:
  * Movement date - Property: movementDate
  * Identificator - Property: _identifier
  * Attribute - Property: attributeSetValue
  * Article - Property: product. Default Expresion: OB.getParameters().get('inpmProductId').
For all the fields check central maintenance, sortable, filtable and show in grid.

- Go back to the Defined Selector tab and in the "display field" field select attribute.


2) Go to Tables and Columns and select OrderLine table.
- Select M_AttributeSetInstance_ID column and change its reference to OBUISEL_Selector Reference.
- Set Reference Serach Key to the new selector.

3) Change to Admin rol. Go to Saler Order. Create a new header. Create a new line selecting the product "vino tinto". The attribute selector will be displayed. Click on the picklist. Insetead of the identifier of the attributes, the UUID is displayed.

[1] http://wiki.openbravo.com/wiki/Projects/Selector/Developers_Manual#Step_1:_Define_a_Reference [^] [^] [^]
No tags attached.
related to defect 00170083.0MP0 closed maite Not possible to set a column different to the ID with OBUISEL selectors 
Issue History
2011-05-11 14:04AinhoaPagolaNew Issue
2011-05-11 14:04AinhoaPagolaAssigned To => alostale
2011-05-11 14:04AinhoaPagolaModules => Core
2011-05-11 14:04AinhoaPagolaOBNetwork customer => Yes
2011-05-11 16:43maiteIssue Monitored: maite
2011-05-11 16:43maiteIssue Monitored: networkb
2011-05-16 08:56alostaleStatusnew => scheduled
2011-05-16 08:56alostaleAssigned Toalostale => iperdomo
2011-05-16 08:56alostalefix_in_branch => pi
2011-05-27 10:57iperdomoRelationship addedrelated to 0017008
2011-06-16 12:03maiteStatusscheduled => closed
2011-06-16 12:03maiteResolutionopen => no change required

There are no notes attached to this issue.