src-db/database/sourcedata/OBUISEL_SELECTOR.xml
author RM packaging bot <staff.rm@openbravo.com>
Thu, 03 Jan 2013 11:56:05 +0100
changeset 19144 792728467ed0
parent 18931 27df55a6dfa9
child 19237 bc903224a576
permissions -rw-r--r--
CI: update AD_MODULE to version 19143
<?xml version='1.0' encoding='UTF-8'?>
<data>
<!--2E64F551C7C4470C80C29DBA24B34A5F--><OBUISEL_SELECTOR>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <OBUISEL_SELECTOR_ID><![CDATA[2E64F551C7C4470C80C29DBA24B34A5F]]></OBUISEL_SELECTOR_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <NAME><![CDATA[Product]]></NAME>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_REFERENCE_ID><![CDATA[800060]]></AD_REFERENCE_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_TABLE_ID><![CDATA[FF8080812DFFA1CF012DFFB889F40016]]></AD_TABLE_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <WHERECLAUSE><![CDATA[e.active='Y']]></WHERECLAUSE>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <FILTER_EXPRESSION><![CDATA[if (OB.getParameters().get('inpcCurrencyId')){ " e.productPrice.priceListVersion.priceList.salesPriceList = " + OB.isSalesTransaction()  + " AND e.productPrice.priceListVersion.priceList.currency.id = '" + OB.getParameters().get('inpcCurrencyId') + "'" }]]></FILTER_EXPRESSION>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <VALUEFIELD_ID><![CDATA[2CB91FE062B541ACB00D82AC69858446]]></VALUEFIELD_ID>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--2E64F551C7C4470C80C29DBA24B34A5F--></OBUISEL_SELECTOR>

<!--4028E61131FB4B1B0131FB5307F1000C--><OBUISEL_SELECTOR>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <OBUISEL_SELECTOR_ID><![CDATA[4028E61131FB4B1B0131FB5307F1000C]]></OBUISEL_SELECTOR_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <NAME><![CDATA[Business Partner not filtered by default by customer/vendor]]></NAME>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_REFERENCE_ID><![CDATA[4028E61131FB4B1B0131FB5226C90008]]></AD_REFERENCE_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_TABLE_ID><![CDATA[291]]></AD_TABLE_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <VALUEFIELD_ID><![CDATA[4028E61131FB4B1B0131FB5711430042]]></VALUEFIELD_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <DISPLAYFIELD_ID><![CDATA[4028E61131FB4B1B0131FB5625760036]]></DISPLAYFIELD_ID>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <HQL><![CDATA[SELECT distinct bp.name as name,bp.id as bpid, bp.searchKey as value,
   bp.creditLimit - bp.creditUsed as creditAvailable, bp.creditUsed as creditUsed,
   COALESCE(contact.name, usercontact.name) as contactname, COALESCE(contact.id, usercontact.id) as contactid,
   bploc.name as locationname, bploc.id as locationid,
   bp.customer as customer, bp.vendor as vendor, bp.lifetimeRevenueToDate as income
FROM BusinessPartner bp left join bp.businessPartnerLocationList bploc
                        left join bploc.locationAddress loc
                        left join bploc.aDUserList contact
                        left join loc.region region
                        left join bp.aDUserList usercontact with usercontact.partnerAddress.id is null
where @additional_filters@
  and bp.summaryLevel = false and bp.active=true]]></HQL>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <ENTITY_ALIAS><![CDATA[bp]]></ENTITY_ALIAS>
<!--4028E61131FB4B1B0131FB5307F1000C-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
<!--4028E61131FB4B1B0131FB5307F1000C--></OBUISEL_SELECTOR>

<!--4C8BC3E8E56441F4B8C98C684A0C9212--><OBUISEL_SELECTOR>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <OBUISEL_SELECTOR_ID><![CDATA[4C8BC3E8E56441F4B8C98C684A0C9212]]></OBUISEL_SELECTOR_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <NAME><![CDATA[Product Complete]]></NAME>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_REFERENCE_ID><![CDATA[800011]]></AD_REFERENCE_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_TABLE_ID><![CDATA[FF8080812E381D1E012E3898C5DD0010]]></AD_TABLE_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <WHERECLAUSE><![CDATA[e.active='Y']]></WHERECLAUSE>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <FILTER_EXPRESSION><![CDATA["( (\'"+OB.getWindowId()+"\' in (\'800051\', \'800052\', \'800096\') and e.product.production = true and e.stocked = false) or \'"+OB.getWindowId()+"\' not in (\'800051\', \'800052\', \'800096\'))"]]></FILTER_EXPRESSION>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <VALUEFIELD_ID><![CDATA[D5CD42F686A14DFA949052B99900D679]]></VALUEFIELD_ID>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--4C8BC3E8E56441F4B8C98C684A0C9212--></OBUISEL_SELECTOR>

<!--7809A075DD5C40A598FA80D7BEE70BCE--><OBUISEL_SELECTOR>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <OBUISEL_SELECTOR_ID><![CDATA[7809A075DD5C40A598FA80D7BEE70BCE]]></OBUISEL_SELECTOR_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <NAME><![CDATA[Storage Bin Selector]]></NAME>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <DESCRIPTION><![CDATA[Storage Bin Selector]]></DESCRIPTION>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <HELP><![CDATA[Storage Bin Selector]]></HELP>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_REFERENCE_ID><![CDATA[0537E1156A064FDE8EF0CFBC97577E5F]]></AD_REFERENCE_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_TABLE_ID><![CDATA[207]]></AD_TABLE_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_COLUMN_ID><![CDATA[1389]]></AD_COLUMN_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <WHERECLAUSE><![CDATA[e.active = true and e.warehouse.id=@inpmWarehouseId@]]></WHERECLAUSE>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--7809A075DD5C40A598FA80D7BEE70BCE--></OBUISEL_SELECTOR>

<!--814758DD755642E9BF38BD2E5AD713EC--><OBUISEL_SELECTOR>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <OBUISEL_SELECTOR_ID><![CDATA[814758DD755642E9BF38BD2E5AD713EC]]></OBUISEL_SELECTOR_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <NAME><![CDATA[User Dimension 1]]></NAME>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <DESCRIPTION><![CDATA[User Dimension 1]]></DESCRIPTION>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <HELP><![CDATA[User Dimension 1]]></HELP>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_REFERENCE_ID><![CDATA[0E0D1661E18E4E05A118785A7CF146B8]]></AD_REFERENCE_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_TABLE_ID><![CDATA[16D0C2D87F744A508861CD957C4D3793]]></AD_TABLE_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_COLUMN_ID><![CDATA[B16A8E3E912041B5BBA658A7E41B93E9]]></AD_COLUMN_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
<!--814758DD755642E9BF38BD2E5AD713EC-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--814758DD755642E9BF38BD2E5AD713EC--></OBUISEL_SELECTOR>

<!--862F54CB1B074513BD791C6789F4AA42--><OBUISEL_SELECTOR>
<!--862F54CB1B074513BD791C6789F4AA42-->  <OBUISEL_SELECTOR_ID><![CDATA[862F54CB1B074513BD791C6789F4AA42]]></OBUISEL_SELECTOR_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <NAME><![CDATA[Business Partner with contact and location]]></NAME>
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_REFERENCE_ID><![CDATA[800057]]></AD_REFERENCE_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_TABLE_ID><![CDATA[291]]></AD_TABLE_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--862F54CB1B074513BD791C6789F4AA42-->  <VALUEFIELD_ID><![CDATA[B103893820FC4080809A97FABD49D8AF]]></VALUEFIELD_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <DISPLAYFIELD_ID><![CDATA[9835921A3AA54B8D8D0126B3696F8354]]></DISPLAYFIELD_ID>
<!--862F54CB1B074513BD791C6789F4AA42-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--862F54CB1B074513BD791C6789F4AA42-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--862F54CB1B074513BD791C6789F4AA42-->  <HQL><![CDATA[SELECT bp.name as name,bp.id as bpid, bp.searchKey as value,
   bp.creditLimit - bp.creditUsed as creditAvailable, bp.creditUsed as creditUsed,
   bp.customer as customer, bp.vendor as vendor, 
   bp.businessPartnerCategory.name as category
FROM BusinessPartner bp
where @additional_filters@
  and bp.summaryLevel = false and bp.active=true]]></HQL>
<!--862F54CB1B074513BD791C6789F4AA42-->  <ENTITY_ALIAS><![CDATA[bp]]></ENTITY_ALIAS>
<!--862F54CB1B074513BD791C6789F4AA42-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
<!--862F54CB1B074513BD791C6789F4AA42--></OBUISEL_SELECTOR>

<!--A085BAFF89C74D7696A877C697DF350F--><OBUISEL_SELECTOR>
<!--A085BAFF89C74D7696A877C697DF350F-->  <OBUISEL_SELECTOR_ID><![CDATA[A085BAFF89C74D7696A877C697DF350F]]></OBUISEL_SELECTOR_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <NAME><![CDATA[Valid Combination]]></NAME>
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_REFERENCE_ID><![CDATA[4FA73FBEF8CE4A54926DDD317E385486]]></AD_REFERENCE_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_TABLE_ID><![CDATA[176]]></AD_TABLE_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_COLUMN_ID><![CDATA[1014]]></AD_COLUMN_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <WHERECLAUSE><![CDATA[e.active = true and e.accountingSchema.id=@inpcAcctschemaId@]]></WHERECLAUSE>
<!--A085BAFF89C74D7696A877C697DF350F-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--A085BAFF89C74D7696A877C697DF350F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--A085BAFF89C74D7696A877C697DF350F-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--A085BAFF89C74D7696A877C697DF350F-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
<!--A085BAFF89C74D7696A877C697DF350F-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--A085BAFF89C74D7696A877C697DF350F--></OBUISEL_SELECTOR>

<!--A35B6EC33A2243018915908AEB1B3F5E--><OBUISEL_SELECTOR>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <OBUISEL_SELECTOR_ID><![CDATA[A35B6EC33A2243018915908AEB1B3F5E]]></OBUISEL_SELECTOR_ID>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <NAME><![CDATA[Project]]></NAME>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_REFERENCE_ID><![CDATA[800061]]></AD_REFERENCE_ID>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_TABLE_ID><![CDATA[203]]></AD_TABLE_ID>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <WHERECLAUSE><![CDATA[e.summaryLevel='N']]></WHERECLAUSE>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--A35B6EC33A2243018915908AEB1B3F5E--></OBUISEL_SELECTOR>

<!--B748F356A65641D4974E5C349A16FB27--><OBUISEL_SELECTOR>
<!--B748F356A65641D4974E5C349A16FB27-->  <OBUISEL_SELECTOR_ID><![CDATA[B748F356A65641D4974E5C349A16FB27]]></OBUISEL_SELECTOR_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <NAME><![CDATA[Org_no_org_access]]></NAME>
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_REFERENCE_ID><![CDATA[9FFC72525D7E49069272B22293F7D163]]></AD_REFERENCE_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_TABLE_ID><![CDATA[155]]></AD_TABLE_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <FILTER_EXPRESSION><![CDATA[((org.client = @ad_client_id@     and (select r.id          from ADRole r          where r.manual = 'Y'            and r.id = @ad_role_id@) = @ad_role_id@)   or (org.id in (select org2                  from ADRole r2                    left join r2.aDRoleOrganizationList ol                    left join ol.organization org2                  where r2.id = @ad_role_id@)))]]></FILTER_EXPRESSION>
<!--B748F356A65641D4974E5C349A16FB27-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--B748F356A65641D4974E5C349A16FB27-->  <VALUEFIELD_ID><![CDATA[190E45B61635477BBC0799229F889FD6]]></VALUEFIELD_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <DISPLAYFIELD_ID><![CDATA[D7DF368232B34336ACC82DB829649720]]></DISPLAYFIELD_ID>
<!--B748F356A65641D4974E5C349A16FB27-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--B748F356A65641D4974E5C349A16FB27-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
<!--B748F356A65641D4974E5C349A16FB27-->  <HQL><![CDATA[select org.id as orgid, org.name as name, org.searchKey as value
from Organization org
where @additional_filters@]]></HQL>
<!--B748F356A65641D4974E5C349A16FB27-->  <ENTITY_ALIAS><![CDATA[org]]></ENTITY_ALIAS>
<!--B748F356A65641D4974E5C349A16FB27-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
<!--B748F356A65641D4974E5C349A16FB27--></OBUISEL_SELECTOR>

<!--B8321631F57E463EB617289E936BAF3A--><OBUISEL_SELECTOR>
<!--B8321631F57E463EB617289E936BAF3A-->  <OBUISEL_SELECTOR_ID><![CDATA[B8321631F57E463EB617289E936BAF3A]]></OBUISEL_SELECTOR_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <NAME><![CDATA[Cost Center Selector]]></NAME>
<!--B8321631F57E463EB617289E936BAF3A-->  <DESCRIPTION><![CDATA[Cost Center Selector]]></DESCRIPTION>
<!--B8321631F57E463EB617289E936BAF3A-->  <HELP><![CDATA[Cost Center Selector]]></HELP>
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_REFERENCE_ID><![CDATA[DEE6B917B36D4648B2DA729FC2872CF4]]></AD_REFERENCE_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_TABLE_ID><![CDATA[9072A1C049584DB69E4F42AE20B5CB66]]></AD_TABLE_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_COLUMN_ID><![CDATA[DB141BB0EEE7482CB93C3B53A9DEF96C]]></AD_COLUMN_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--B8321631F57E463EB617289E936BAF3A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--B8321631F57E463EB617289E936BAF3A-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--B8321631F57E463EB617289E936BAF3A-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
<!--B8321631F57E463EB617289E936BAF3A-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--B8321631F57E463EB617289E936BAF3A--></OBUISEL_SELECTOR>

<!--BD1DA40E134A42B9889B529302A96871--><OBUISEL_SELECTOR>
<!--BD1DA40E134A42B9889B529302A96871-->  <OBUISEL_SELECTOR_ID><![CDATA[BD1DA40E134A42B9889B529302A96871]]></OBUISEL_SELECTOR_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <NAME><![CDATA[User Dimension 2]]></NAME>
<!--BD1DA40E134A42B9889B529302A96871-->  <DESCRIPTION><![CDATA[User Dimension 2]]></DESCRIPTION>
<!--BD1DA40E134A42B9889B529302A96871-->  <HELP><![CDATA[User Dimension 2]]></HELP>
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_REFERENCE_ID><![CDATA[1850A5390D97470EBB35A3A5F43AB533]]></AD_REFERENCE_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_TABLE_ID><![CDATA[EADDFEC95B5841D881BBA81A8D942CD2]]></AD_TABLE_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_COLUMN_ID><![CDATA[6C4D8B6F831947FEAE47B218DD43E9D2]]></AD_COLUMN_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--BD1DA40E134A42B9889B529302A96871-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--BD1DA40E134A42B9889B529302A96871-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--BD1DA40E134A42B9889B529302A96871-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
<!--BD1DA40E134A42B9889B529302A96871-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--BD1DA40E134A42B9889B529302A96871--></OBUISEL_SELECTOR>

<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E--><OBUISEL_SELECTOR>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <OBUISEL_SELECTOR_ID><![CDATA[DE9CFEFB6F49404995BE8B0FBF3F7F9E]]></OBUISEL_SELECTOR_ID>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <NAME><![CDATA[Payment Schedule]]></NAME>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_REFERENCE_ID><![CDATA[1FAD22496E6F468DBC46CA23FE204B41]]></AD_REFERENCE_ID>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_TABLE_ID><![CDATA[CE9AFF5F51B846AEAB0B6CBF829092CD]]></AD_TABLE_ID>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E--></OBUISEL_SELECTOR>

<!--E65052A724B3451CA643A0CC355CEA40--><OBUISEL_SELECTOR>
<!--E65052A724B3451CA643A0CC355CEA40-->  <OBUISEL_SELECTOR_ID><![CDATA[E65052A724B3451CA643A0CC355CEA40]]></OBUISEL_SELECTOR_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <NAME><![CDATA[Asset Selector]]></NAME>
<!--E65052A724B3451CA643A0CC355CEA40-->  <DESCRIPTION><![CDATA[Asset Selector]]></DESCRIPTION>
<!--E65052A724B3451CA643A0CC355CEA40-->  <HELP><![CDATA[Asset Selector]]></HELP>
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_REFERENCE_ID><![CDATA[444F3B4F45544B9CA45E4035D49C1176]]></AD_REFERENCE_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_TABLE_ID><![CDATA[539]]></AD_TABLE_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_COLUMN_ID><![CDATA[8070]]></AD_COLUMN_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--E65052A724B3451CA643A0CC355CEA40-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--E65052A724B3451CA643A0CC355CEA40-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
<!--E65052A724B3451CA643A0CC355CEA40-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--E65052A724B3451CA643A0CC355CEA40-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
<!--E65052A724B3451CA643A0CC355CEA40--></OBUISEL_SELECTOR>

<!--EB3C41F0973A4EDA91E475833792A6D4--><OBUISEL_SELECTOR>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <OBUISEL_SELECTOR_ID><![CDATA[EB3C41F0973A4EDA91E475833792A6D4]]></OBUISEL_SELECTOR_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <NAME><![CDATA[ProductSimple]]></NAME>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_REFERENCE_ID><![CDATA[712D9821BE8246AC95E6C16D8BEEBE5E]]></AD_REFERENCE_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_TABLE_ID><![CDATA[208]]></AD_TABLE_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <FILTER_EXPRESSION><![CDATA[if (OB.getParameters().get('inpcCurrencyId')){ " pl.salesPriceList = " + OB.isSalesTransaction()  + " AND c.id = '" + OB.getParameters().get('inpcCurrencyId') + "'" }]]></FILTER_EXPRESSION>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <VALUEFIELD_ID><![CDATA[EDADAD64A1634FDEA50343CE1AAAF1FB]]></VALUEFIELD_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <DISPLAYFIELD_ID><![CDATA[797E2E6C7A6D4A349491B85A1C1ACB7D]]></DISPLAYFIELD_ID>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <HQL><![CDATA[select p.searchKey as searchKey, p.id as id, plv as priceListVersion, plv.name as priceListVersionName, c.id as currency, pp.priceLimit as priceLimit, p.name as productName,p.uOM as uOM, pp.standardPrice as standardPrice, pp.listPrice as netListPrice, pl.salesPriceList as salesPriceList
from PricingProductPrice pp
join pp.product p
join pp.priceListVersion plv
join plv.priceList pl
left join pl.currency c
where @additional_filters@]]></HQL>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <ENTITY_ALIAS><![CDATA[pp]]></ENTITY_ALIAS>
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
<!--EB3C41F0973A4EDA91E475833792A6D4--></OBUISEL_SELECTOR>

<!--F132874BE0954A9B8C1301BE20704730--><OBUISEL_SELECTOR>
<!--F132874BE0954A9B8C1301BE20704730-->  <OBUISEL_SELECTOR_ID><![CDATA[F132874BE0954A9B8C1301BE20704730]]></OBUISEL_SELECTOR_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <NAME><![CDATA[Business Partner with contact and location]]></NAME>
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_REFERENCE_ID><![CDATA[531F166E5A7C437F9438A94AD8DDF212]]></AD_REFERENCE_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_TABLE_ID><![CDATA[291]]></AD_TABLE_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--F132874BE0954A9B8C1301BE20704730-->  <VALUEFIELD_ID><![CDATA[38075EEC36C24E3CAB44D1B33D2CE637]]></VALUEFIELD_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <DISPLAYFIELD_ID><![CDATA[7CA7330BA4864D2FB1FED44CDB88A622]]></DISPLAYFIELD_ID>
<!--F132874BE0954A9B8C1301BE20704730-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
<!--F132874BE0954A9B8C1301BE20704730-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--F132874BE0954A9B8C1301BE20704730-->  <HQL><![CDATA[SELECT distinct bp.name as name,bp.id as bpid, bp.searchKey as value,
   bp.creditLimit - bp.creditUsed as creditAvailable, bp.creditUsed as creditUsed,
   COALESCE(contact.name, usercontact.name) as contactname, COALESCE(contact.id, usercontact.id) as contactid,
   bploc.name as locationname, bploc.id as locationid,
   bp.customer as customer, bp.vendor as vendor, bp.lifetimeRevenueToDate as income
FROM BusinessPartner bp left join bp.businessPartnerLocationList bploc with bploc.active=true
                        left join bploc.locationAddress loc with loc.active = true
                        left join bploc.aDUserList contact with contact.active=true
                        left join loc.region region
                        left join bp.aDUserList usercontact with usercontact.partnerAddress.id is null and usercontact.active=true
where @additional_filters@
  and bp.summaryLevel = false and bp.active=true]]></HQL>
<!--F132874BE0954A9B8C1301BE20704730-->  <ENTITY_ALIAS><![CDATA[bp]]></ENTITY_ALIAS>
<!--F132874BE0954A9B8C1301BE20704730-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
<!--F132874BE0954A9B8C1301BE20704730--></OBUISEL_SELECTOR>

</data>