Steps To Reproduce | - Log in as System administrator
- Go to Reference Window
- Select 'On hand warehouse'
- On Tab 'Defined Selector', double click the associated entry
- Modify the HQL query to add a location address field and save:
select w.id as id, w.name as name, w.locationAddress as location
from Warehouse w
where @additional_filters@
and w.active=true
- In subtab 'Defined Selector Field' create a new entry with the following info:
- Name: location
- Display column alias: location
- Reference: C_Location
- Show in grid: Yes
- Clause left part: w.locationAddress
Logout then login and switch to 'F&B International Group admin' role
- Open 'Sales Order' Window and create a new entry
- Select 'F&B EspaƱa, S.A' in Organization
- In 'Warehouse' selector, click the glass icon
- Click in the dropdown arrow in location column, then you can notice that two
checkboxes appears but with no description
An alternative way to reproduce it is to installed the attached diff. It will add two properties to the Product selector on the Lines subtab of the Sales Order window. |
Attached Files | 49826-reproducer.diff [^] (8,205 bytes) 2023-01-30 12:31 [Show Content] [Hide Content]diff --git a/src-db/database/sourcedata/AD_COLUMN.xml b/src-db/database/sourcedata/AD_COLUMN.xml
index 59e160b93e..b396df1324 100644
--- a/src-db/database/sourcedata/AD_COLUMN.xml
+++ b/src-db/database/sourcedata/AD_COLUMN.xml
@@ -34555,8 +34555,8 @@ Price Lists are used to determine the pricing, margin and cost of items purchase
<!--2221--> <HELP><![CDATA[Identifies an item which is either purchased or sold in this organization.]]></HELP>
<!--2221--> <COLUMNNAME><![CDATA[M_Product_ID]]></COLUMNNAME>
<!--2221--> <AD_TABLE_ID><![CDATA[260]]></AD_TABLE_ID>
-<!--2221--> <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
-<!--2221--> <AD_REFERENCE_VALUE_ID><![CDATA[800060]]></AD_REFERENCE_VALUE_ID>
+<!--2221--> <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
+<!--2221--> <AD_REFERENCE_VALUE_ID><![CDATA[712D9821BE8246AC95E6C16D8BEEBE5E]]></AD_REFERENCE_VALUE_ID>
<!--2221--> <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
<!--2221--> <ISKEY><![CDATA[N]]></ISKEY>
<!--2221--> <ISPARENT><![CDATA[N]]></ISPARENT>
diff --git a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml
index 3af1428b17..31983eb25e 100644
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml
@@ -1200,7 +1200,12 @@ where @additional_filters@]]></HQL>
<!--EB3C41F0973A4EDA91E475833792A6D4--> <DISPLAYFIELD_ID><![CDATA[797E2E6C7A6D4A349491B85A1C1ACB7D]]></DISPLAYFIELD_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4--> <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--EB3C41F0973A4EDA91E475833792A6D4--> <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
-<!--EB3C41F0973A4EDA91E475833792A6D4--> <HQL><![CDATA[select e.searchKey as searchKey, e.id as id, plv as priceListVersion, plv.name as priceListVersionName, c.id as currency, pp.priceLimit as priceLimit, e.name as productName, e.uOM as uOM, pp.standardPrice as standardPrice, pp.listPrice as netListPrice, pl.salesPriceList as salesPriceList, e.characteristicDescription as chDescription, gp.name as genericProduct
+<!--EB3C41F0973A4EDA91E475833792A6D4--> <HQL><![CDATA[select e.searchKey as searchKey, e.id as id, e.name as productName,
+ e.uOM as uOM, e.characteristicDescription as chDescription, e.productCategory as productCategory,
+plv as priceListVersion, plv.name as priceListVersionName, pl.salesPriceList as salesPriceList, plv.organization as organization,
+c.id as currency,
+pp.priceLimit as priceLimit, pp.standardPrice as standardPrice, pp.listPrice as netListPrice,
+gp.name as genericProduct
from PricingProductPrice pp
join pp.product e
join pp.priceListVersion plv
@@ -1210,7 +1215,7 @@ left join e.genericProduct gp
where e.isGeneric = 'N'
and e.active = 'Y'
and plv.active = 'Y'
- and @additional_filters@]]></HQL>
+and @additional_filters@]]></HQL>
<!--EB3C41F0973A4EDA91E475833792A6D4--> <ENTITY_ALIAS><![CDATA[e]]></ENTITY_ALIAS>
<!--EB3C41F0973A4EDA91E475833792A6D4--> <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
<!--EB3C41F0973A4EDA91E475833792A6D4--></OBUISEL_SELECTOR>
diff --git a/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml b/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
index aa5d046526..9228ab3eba 100644
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
@@ -305,6 +305,27 @@ Usually, company's internal identifiers for various records (products, customers
<!--0C9C3717BCC54876986C1FF78879242E--> <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
<!--0C9C3717BCC54876986C1FF78879242E--></OBUISEL_SELECTOR_FIELD>
+<!--0CA07D035DFC452DB3084088E678EC6E--><OBUISEL_SELECTOR_FIELD>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <OBUISEL_SELECTOR_FIELD_ID><![CDATA[0CA07D035DFC452DB3084088E678EC6E]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <OBUISEL_SELECTOR_ID><![CDATA[EB3C41F0973A4EDA91E475833792A6D4]]></OBUISEL_SELECTOR_ID>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <NAME><![CDATA[organization]]></NAME>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <ISCENTRALLYMAINTAINED><![CDATA[N]]></ISCENTRALLYMAINTAINED>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <SORT><![CDATA[Y]]></SORT>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <FILTER><![CDATA[Y]]></FILTER>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <SEARCHINSUGGESTIONBOX><![CDATA[N]]></SEARCHINSUGGESTIONBOX>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <SORTNO><![CDATA[0]]></SORTNO>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <DISPLAY_EXPRESSION><![CDATA[organization]]></DISPLAY_EXPRESSION>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <CLAUSE_LEFT_PART><![CDATA[plv.organization]]></CLAUSE_LEFT_PART>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <AD_REFERENCE_ID><![CDATA[276]]></AD_REFERENCE_ID>
+<!--0CA07D035DFC452DB3084088E678EC6E--> <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--0CA07D035DFC452DB3084088E678EC6E--></OBUISEL_SELECTOR_FIELD>
+
<!--0EE172E722774F0398B83152B48DAB8D--><OBUISEL_SELECTOR_FIELD>
<!--0EE172E722774F0398B83152B48DAB8D--> <OBUISEL_SELECTOR_FIELD_ID><![CDATA[0EE172E722774F0398B83152B48DAB8D]]></OBUISEL_SELECTOR_FIELD_ID>
<!--0EE172E722774F0398B83152B48DAB8D--> <OBUISEL_SELECTOR_ID><![CDATA[0E1E9236E2FE471FB946F8DA2803C537]]></OBUISEL_SELECTOR_ID>
@@ -2013,6 +2034,27 @@ Usually, company's internal identifiers for various records (products, customers
<!--61492056486D44F6B64A122CD166B735--> <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
<!--61492056486D44F6B64A122CD166B735--></OBUISEL_SELECTOR_FIELD>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--><OBUISEL_SELECTOR_FIELD>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <OBUISEL_SELECTOR_FIELD_ID><![CDATA[615800580F854B0AA83BB8E9C1C5C1D7]]></OBUISEL_SELECTOR_FIELD_ID>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <OBUISEL_SELECTOR_ID><![CDATA[EB3C41F0973A4EDA91E475833792A6D4]]></OBUISEL_SELECTOR_ID>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <NAME><![CDATA[productCategory]]></NAME>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <ISCENTRALLYMAINTAINED><![CDATA[N]]></ISCENTRALLYMAINTAINED>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <SORT><![CDATA[Y]]></SORT>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <FILTER><![CDATA[Y]]></FILTER>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <SEARCHINSUGGESTIONBOX><![CDATA[N]]></SEARCHINSUGGESTIONBOX>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <SHOWINGRID><![CDATA[Y]]></SHOWINGRID>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <SORTNO><![CDATA[0]]></SORTNO>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <ISOUTFIELD><![CDATA[N]]></ISOUTFIELD>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <DISPLAY_EXPRESSION><![CDATA[productCategory]]></DISPLAY_EXPRESSION>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <CLAUSE_LEFT_PART><![CDATA[e.productCategory]]></CLAUSE_LEFT_PART>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <AD_REFERENCE_ID><![CDATA[163]]></AD_REFERENCE_ID>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--> <SHOWINPICKLIST><![CDATA[N]]></SHOWINPICKLIST>
+<!--615800580F854B0AA83BB8E9C1C5C1D7--></OBUISEL_SELECTOR_FIELD>
+
<!--6232D2B8EECC499EB2CFB853A184F3AB--><OBUISEL_SELECTOR_FIELD>
<!--6232D2B8EECC499EB2CFB853A184F3AB--> <OBUISEL_SELECTOR_FIELD_ID><![CDATA[6232D2B8EECC499EB2CFB853A184F3AB]]></OBUISEL_SELECTOR_FIELD_ID>
<!--6232D2B8EECC499EB2CFB853A184F3AB--> <OBUISEL_SELECTOR_ID><![CDATA[159A0EA5DE8844E9B0E7198E5525C854]]></OBUISEL_SELECTOR_ID>
|