src-db/database/sourcedata/OBUISEL_SELECTOR.xml
author RM packaging bot <staff.rm@openbravo.com>
Wed, 02 Feb 2011 14:14:14 +0100
changeset 10299 9e5bcbfcf7c6
parent 10200 92bb01a74ac2
child 10380 135268392d37
permissions -rw-r--r--
CI: update AD_MODULE to version 10298
<?xml version='1.0' encoding='UTF-8'?>
<data>
<!--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[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
<!--862F54CB1B074513BD791C6789F4AA42-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
<!--862F54CB1B074513BD791C6789F4AA42-->  <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,  bploc.name as locationname, bploc.id as locationid,
   bp.customer as customer, bp.vendor as vendor
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
where @additional_filters@
  and usercontact.partnerAddress is null
  and bp.summaryLevel = false]]></HQL>
<!--862F54CB1B074513BD791C6789F4AA42-->  <ENTITY_ALIAS><![CDATA[bp]]></ENTITY_ALIAS>
<!--862F54CB1B074513BD791C6789F4AA42-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
<!--862F54CB1B074513BD791C6789F4AA42--></OBUISEL_SELECTOR>

</data>