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
javier@15149
     1
<?xml version='1.0' encoding='UTF-8'?>
gorkaion@10200
     2
<data>
gorkaion@10616
     3
<!--2E64F551C7C4470C80C29DBA24B34A5F--><OBUISEL_SELECTOR>
gorkaion@10616
     4
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <OBUISEL_SELECTOR_ID><![CDATA[2E64F551C7C4470C80C29DBA24B34A5F]]></OBUISEL_SELECTOR_ID>
gorkaion@10616
     5
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
gorkaion@10616
     6
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
gorkaion@10616
     7
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
gorkaion@10616
     8
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <NAME><![CDATA[Product]]></NAME>
gorkaion@10616
     9
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_REFERENCE_ID><![CDATA[800060]]></AD_REFERENCE_ID>
gorkaion@10616
    10
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_TABLE_ID><![CDATA[FF8080812DFFA1CF012DFFB889F40016]]></AD_TABLE_ID>
javier@15823
    11
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <WHERECLAUSE><![CDATA[e.active='Y']]></WHERECLAUSE>
javier@16279
    12
<!--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>
gorkaion@10616
    13
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
gorkaion@10616
    14
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
gorkaion@10616
    15
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <VALUEFIELD_ID><![CDATA[2CB91FE062B541ACB00D82AC69858446]]></VALUEFIELD_ID>
shankar@18270
    16
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
gorkaion@10616
    17
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
gorkaion@10616
    18
<!--2E64F551C7C4470C80C29DBA24B34A5F-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
gorkaion@10616
    19
<!--2E64F551C7C4470C80C29DBA24B34A5F--></OBUISEL_SELECTOR>
gorkaion@10616
    20
david@13595
    21
<!--4028E61131FB4B1B0131FB5307F1000C--><OBUISEL_SELECTOR>
david@13595
    22
<!--4028E61131FB4B1B0131FB5307F1000C-->  <OBUISEL_SELECTOR_ID><![CDATA[4028E61131FB4B1B0131FB5307F1000C]]></OBUISEL_SELECTOR_ID>
david@13595
    23
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@13595
    24
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@13595
    25
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
david@13595
    26
<!--4028E61131FB4B1B0131FB5307F1000C-->  <NAME><![CDATA[Business Partner not filtered by default by customer/vendor]]></NAME>
david@13595
    27
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_REFERENCE_ID><![CDATA[4028E61131FB4B1B0131FB5226C90008]]></AD_REFERENCE_ID>
david@13595
    28
<!--4028E61131FB4B1B0131FB5307F1000C-->  <AD_TABLE_ID><![CDATA[291]]></AD_TABLE_ID>
david@13595
    29
<!--4028E61131FB4B1B0131FB5307F1000C-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
david@13595
    30
<!--4028E61131FB4B1B0131FB5307F1000C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@13595
    31
<!--4028E61131FB4B1B0131FB5307F1000C-->  <VALUEFIELD_ID><![CDATA[4028E61131FB4B1B0131FB5711430042]]></VALUEFIELD_ID>
david@13595
    32
<!--4028E61131FB4B1B0131FB5307F1000C-->  <DISPLAYFIELD_ID><![CDATA[4028E61131FB4B1B0131FB5625760036]]></DISPLAYFIELD_ID>
shankar@18270
    33
<!--4028E61131FB4B1B0131FB5307F1000C-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
david@13595
    34
<!--4028E61131FB4B1B0131FB5307F1000C-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
david@13595
    35
<!--4028E61131FB4B1B0131FB5307F1000C-->  <HQL><![CDATA[SELECT distinct bp.name as name,bp.id as bpid, bp.searchKey as value,
david@13595
    36
   bp.creditLimit - bp.creditUsed as creditAvailable, bp.creditUsed as creditUsed,
david@13595
    37
   COALESCE(contact.name, usercontact.name) as contactname, COALESCE(contact.id, usercontact.id) as contactid,
david@13595
    38
   bploc.name as locationname, bploc.id as locationid,
david@13595
    39
   bp.customer as customer, bp.vendor as vendor, bp.lifetimeRevenueToDate as income
david@13595
    40
FROM BusinessPartner bp left join bp.businessPartnerLocationList bploc
david@13595
    41
                        left join bploc.locationAddress loc
david@13595
    42
                        left join bploc.aDUserList contact
david@13595
    43
                        left join loc.region region
david@13595
    44
                        left join bp.aDUserList usercontact with usercontact.partnerAddress.id is null
david@13595
    45
where @additional_filters@
javier@15814
    46
  and bp.summaryLevel = false and bp.active=true]]></HQL>
david@13595
    47
<!--4028E61131FB4B1B0131FB5307F1000C-->  <ENTITY_ALIAS><![CDATA[bp]]></ENTITY_ALIAS>
david@13595
    48
<!--4028E61131FB4B1B0131FB5307F1000C-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
david@13595
    49
<!--4028E61131FB4B1B0131FB5307F1000C--></OBUISEL_SELECTOR>
david@13595
    50
gorkaion@10670
    51
<!--4C8BC3E8E56441F4B8C98C684A0C9212--><OBUISEL_SELECTOR>
gorkaion@10670
    52
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <OBUISEL_SELECTOR_ID><![CDATA[4C8BC3E8E56441F4B8C98C684A0C9212]]></OBUISEL_SELECTOR_ID>
gorkaion@10670
    53
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
gorkaion@10670
    54
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
gorkaion@10670
    55
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
gorkaion@10670
    56
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <NAME><![CDATA[Product Complete]]></NAME>
gorkaion@10670
    57
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_REFERENCE_ID><![CDATA[800011]]></AD_REFERENCE_ID>
gorkaion@10794
    58
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <AD_TABLE_ID><![CDATA[FF8080812E381D1E012E3898C5DD0010]]></AD_TABLE_ID>
javier@15823
    59
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <WHERECLAUSE><![CDATA[e.active='Y']]></WHERECLAUSE>
unai@15810
    60
<!--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>
gorkaion@10670
    61
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
gorkaion@10670
    62
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
gorkaion@10670
    63
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <VALUEFIELD_ID><![CDATA[D5CD42F686A14DFA949052B99900D679]]></VALUEFIELD_ID>
shankar@18270
    64
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
gorkaion@10670
    65
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
gorkaion@10794
    66
<!--4C8BC3E8E56441F4B8C98C684A0C9212-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
gorkaion@10670
    67
<!--4C8BC3E8E56441F4B8C98C684A0C9212--></OBUISEL_SELECTOR>
gorkaion@10670
    68
martin@17510
    69
<!--7809A075DD5C40A598FA80D7BEE70BCE--><OBUISEL_SELECTOR>
martin@17510
    70
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <OBUISEL_SELECTOR_ID><![CDATA[7809A075DD5C40A598FA80D7BEE70BCE]]></OBUISEL_SELECTOR_ID>
martin@17510
    71
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
martin@17510
    72
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
martin@17510
    73
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
martin@17510
    74
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <NAME><![CDATA[Storage Bin Selector]]></NAME>
martin@17510
    75
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <DESCRIPTION><![CDATA[Storage Bin Selector]]></DESCRIPTION>
martin@17510
    76
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <HELP><![CDATA[Storage Bin Selector]]></HELP>
martin@17510
    77
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_REFERENCE_ID><![CDATA[0537E1156A064FDE8EF0CFBC97577E5F]]></AD_REFERENCE_ID>
martin@17510
    78
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_TABLE_ID><![CDATA[207]]></AD_TABLE_ID>
martin@17510
    79
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <AD_COLUMN_ID><![CDATA[1389]]></AD_COLUMN_ID>
martin@17510
    80
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <WHERECLAUSE><![CDATA[e.active = true and e.warehouse.id=@inpmWarehouseId@]]></WHERECLAUSE>
martin@17510
    81
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
martin@17510
    82
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
shankar@18270
    83
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
martin@17510
    84
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
martin@17510
    85
<!--7809A075DD5C40A598FA80D7BEE70BCE-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
martin@17510
    86
<!--7809A075DD5C40A598FA80D7BEE70BCE--></OBUISEL_SELECTOR>
martin@17510
    87
pandeeswari@18819
    88
<!--814758DD755642E9BF38BD2E5AD713EC--><OBUISEL_SELECTOR>
pandeeswari@18819
    89
<!--814758DD755642E9BF38BD2E5AD713EC-->  <OBUISEL_SELECTOR_ID><![CDATA[814758DD755642E9BF38BD2E5AD713EC]]></OBUISEL_SELECTOR_ID>
pandeeswari@18819
    90
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
pandeeswari@18819
    91
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
pandeeswari@18819
    92
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
pandeeswari@18819
    93
<!--814758DD755642E9BF38BD2E5AD713EC-->  <NAME><![CDATA[User Dimension 1]]></NAME>
pandeeswari@18819
    94
<!--814758DD755642E9BF38BD2E5AD713EC-->  <DESCRIPTION><![CDATA[User Dimension 1]]></DESCRIPTION>
pandeeswari@18819
    95
<!--814758DD755642E9BF38BD2E5AD713EC-->  <HELP><![CDATA[User Dimension 1]]></HELP>
pandeeswari@18819
    96
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_REFERENCE_ID><![CDATA[0E0D1661E18E4E05A118785A7CF146B8]]></AD_REFERENCE_ID>
pandeeswari@18819
    97
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_TABLE_ID><![CDATA[16D0C2D87F744A508861CD957C4D3793]]></AD_TABLE_ID>
pandeeswari@18819
    98
<!--814758DD755642E9BF38BD2E5AD713EC-->  <AD_COLUMN_ID><![CDATA[B16A8E3E912041B5BBA658A7E41B93E9]]></AD_COLUMN_ID>
pandeeswari@18819
    99
<!--814758DD755642E9BF38BD2E5AD713EC-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
pandeeswari@18819
   100
<!--814758DD755642E9BF38BD2E5AD713EC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@18845
   101
<!--814758DD755642E9BF38BD2E5AD713EC-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
eduardo@18845
   102
<!--814758DD755642E9BF38BD2E5AD713EC-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
pandeeswari@18819
   103
<!--814758DD755642E9BF38BD2E5AD713EC-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
pandeeswari@18819
   104
<!--814758DD755642E9BF38BD2E5AD713EC--></OBUISEL_SELECTOR>
pandeeswari@18819
   105
gorkaion@10200
   106
<!--862F54CB1B074513BD791C6789F4AA42--><OBUISEL_SELECTOR>
gorkaion@10200
   107
<!--862F54CB1B074513BD791C6789F4AA42-->  <OBUISEL_SELECTOR_ID><![CDATA[862F54CB1B074513BD791C6789F4AA42]]></OBUISEL_SELECTOR_ID>
gorkaion@10200
   108
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
gorkaion@10200
   109
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
gorkaion@10200
   110
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
gorkaion@10200
   111
<!--862F54CB1B074513BD791C6789F4AA42-->  <NAME><![CDATA[Business Partner with contact and location]]></NAME>
gorkaion@10200
   112
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_REFERENCE_ID><![CDATA[800057]]></AD_REFERENCE_ID>
gorkaion@10200
   113
<!--862F54CB1B074513BD791C6789F4AA42-->  <AD_TABLE_ID><![CDATA[291]]></AD_TABLE_ID>
gorkaion@10200
   114
<!--862F54CB1B074513BD791C6789F4AA42-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
gorkaion@10200
   115
<!--862F54CB1B074513BD791C6789F4AA42-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
gorkaion@10200
   116
<!--862F54CB1B074513BD791C6789F4AA42-->  <VALUEFIELD_ID><![CDATA[B103893820FC4080809A97FABD49D8AF]]></VALUEFIELD_ID>
gorkaion@10200
   117
<!--862F54CB1B074513BD791C6789F4AA42-->  <DISPLAYFIELD_ID><![CDATA[9835921A3AA54B8D8D0126B3696F8354]]></DISPLAYFIELD_ID>
shankar@18270
   118
<!--862F54CB1B074513BD791C6789F4AA42-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
gorkaion@10200
   119
<!--862F54CB1B074513BD791C6789F4AA42-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
augusto@16708
   120
<!--862F54CB1B074513BD791C6789F4AA42-->  <HQL><![CDATA[SELECT bp.name as name,bp.id as bpid, bp.searchKey as value,
augusto@16708
   121
   bp.creditLimit - bp.creditUsed as creditAvailable, bp.creditUsed as creditUsed,
augusto@16708
   122
   bp.customer as customer, bp.vendor as vendor, 
augusto@16708
   123
   bp.businessPartnerCategory.name as category
augusto@16708
   124
FROM BusinessPartner bp
augusto@16708
   125
where @additional_filters@
augusto@16708
   126
  and bp.summaryLevel = false and bp.active=true]]></HQL>
augusto@16708
   127
<!--862F54CB1B074513BD791C6789F4AA42-->  <ENTITY_ALIAS><![CDATA[bp]]></ENTITY_ALIAS>
augusto@16708
   128
<!--862F54CB1B074513BD791C6789F4AA42-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
augusto@16708
   129
<!--862F54CB1B074513BD791C6789F4AA42--></OBUISEL_SELECTOR>
augusto@16708
   130
eduardo@18185
   131
<!--A085BAFF89C74D7696A877C697DF350F--><OBUISEL_SELECTOR>
eduardo@18185
   132
<!--A085BAFF89C74D7696A877C697DF350F-->  <OBUISEL_SELECTOR_ID><![CDATA[A085BAFF89C74D7696A877C697DF350F]]></OBUISEL_SELECTOR_ID>
eduardo@18185
   133
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
eduardo@18185
   134
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
eduardo@18185
   135
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
eduardo@18185
   136
<!--A085BAFF89C74D7696A877C697DF350F-->  <NAME><![CDATA[Valid Combination]]></NAME>
eduardo@18185
   137
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_REFERENCE_ID><![CDATA[4FA73FBEF8CE4A54926DDD317E385486]]></AD_REFERENCE_ID>
eduardo@18185
   138
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_TABLE_ID><![CDATA[176]]></AD_TABLE_ID>
eduardo@18185
   139
<!--A085BAFF89C74D7696A877C697DF350F-->  <AD_COLUMN_ID><![CDATA[1014]]></AD_COLUMN_ID>
eduardo@18185
   140
<!--A085BAFF89C74D7696A877C697DF350F-->  <WHERECLAUSE><![CDATA[e.active = true and e.accountingSchema.id=@inpcAcctschemaId@]]></WHERECLAUSE>
eduardo@18185
   141
<!--A085BAFF89C74D7696A877C697DF350F-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
eduardo@18185
   142
<!--A085BAFF89C74D7696A877C697DF350F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@18185
   143
<!--A085BAFF89C74D7696A877C697DF350F-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
eduardo@18185
   144
<!--A085BAFF89C74D7696A877C697DF350F-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
eduardo@18185
   145
<!--A085BAFF89C74D7696A877C697DF350F-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
eduardo@18185
   146
<!--A085BAFF89C74D7696A877C697DF350F--></OBUISEL_SELECTOR>
eduardo@18185
   147
victor@17777
   148
<!--A35B6EC33A2243018915908AEB1B3F5E--><OBUISEL_SELECTOR>
victor@17777
   149
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <OBUISEL_SELECTOR_ID><![CDATA[A35B6EC33A2243018915908AEB1B3F5E]]></OBUISEL_SELECTOR_ID>
victor@17777
   150
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
victor@17777
   151
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
victor@17777
   152
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
victor@17777
   153
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <NAME><![CDATA[Project]]></NAME>
victor@17777
   154
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_REFERENCE_ID><![CDATA[800061]]></AD_REFERENCE_ID>
victor@17777
   155
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <AD_TABLE_ID><![CDATA[203]]></AD_TABLE_ID>
victor@17902
   156
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <WHERECLAUSE><![CDATA[e.summaryLevel='N']]></WHERECLAUSE>
victor@17777
   157
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
victor@17777
   158
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
shankar@18270
   159
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
victor@17777
   160
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
victor@17777
   161
<!--A35B6EC33A2243018915908AEB1B3F5E-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
victor@17777
   162
<!--A35B6EC33A2243018915908AEB1B3F5E--></OBUISEL_SELECTOR>
victor@17777
   163
ioritz@18438
   164
<!--B748F356A65641D4974E5C349A16FB27--><OBUISEL_SELECTOR>
ioritz@18438
   165
<!--B748F356A65641D4974E5C349A16FB27-->  <OBUISEL_SELECTOR_ID><![CDATA[B748F356A65641D4974E5C349A16FB27]]></OBUISEL_SELECTOR_ID>
ioritz@18438
   166
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
ioritz@18438
   167
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
ioritz@18438
   168
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
ioritz@18438
   169
<!--B748F356A65641D4974E5C349A16FB27-->  <NAME><![CDATA[Org_no_org_access]]></NAME>
ioritz@18438
   170
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_REFERENCE_ID><![CDATA[9FFC72525D7E49069272B22293F7D163]]></AD_REFERENCE_ID>
ioritz@18438
   171
<!--B748F356A65641D4974E5C349A16FB27-->  <AD_TABLE_ID><![CDATA[155]]></AD_TABLE_ID>
ioritz@18438
   172
<!--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>
ioritz@18438
   173
<!--B748F356A65641D4974E5C349A16FB27-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
ioritz@18438
   174
<!--B748F356A65641D4974E5C349A16FB27-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
ioritz@18438
   175
<!--B748F356A65641D4974E5C349A16FB27-->  <VALUEFIELD_ID><![CDATA[190E45B61635477BBC0799229F889FD6]]></VALUEFIELD_ID>
ioritz@18438
   176
<!--B748F356A65641D4974E5C349A16FB27-->  <DISPLAYFIELD_ID><![CDATA[D7DF368232B34336ACC82DB829649720]]></DISPLAYFIELD_ID>
ioritz@18438
   177
<!--B748F356A65641D4974E5C349A16FB27-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
ioritz@18438
   178
<!--B748F356A65641D4974E5C349A16FB27-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
ioritz@18438
   179
<!--B748F356A65641D4974E5C349A16FB27-->  <HQL><![CDATA[select org.id as orgid, org.name as name, org.searchKey as value
ioritz@18438
   180
from Organization org
ioritz@18438
   181
where @additional_filters@]]></HQL>
ioritz@18438
   182
<!--B748F356A65641D4974E5C349A16FB27-->  <ENTITY_ALIAS><![CDATA[org]]></ENTITY_ALIAS>
ioritz@18438
   183
<!--B748F356A65641D4974E5C349A16FB27-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
ioritz@18438
   184
<!--B748F356A65641D4974E5C349A16FB27--></OBUISEL_SELECTOR>
ioritz@18438
   185
pandeeswari@18819
   186
<!--B8321631F57E463EB617289E936BAF3A--><OBUISEL_SELECTOR>
pandeeswari@18819
   187
<!--B8321631F57E463EB617289E936BAF3A-->  <OBUISEL_SELECTOR_ID><![CDATA[B8321631F57E463EB617289E936BAF3A]]></OBUISEL_SELECTOR_ID>
pandeeswari@18819
   188
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
pandeeswari@18819
   189
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
pandeeswari@18819
   190
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
pandeeswari@18819
   191
<!--B8321631F57E463EB617289E936BAF3A-->  <NAME><![CDATA[Cost Center Selector]]></NAME>
pandeeswari@18819
   192
<!--B8321631F57E463EB617289E936BAF3A-->  <DESCRIPTION><![CDATA[Cost Center Selector]]></DESCRIPTION>
pandeeswari@18819
   193
<!--B8321631F57E463EB617289E936BAF3A-->  <HELP><![CDATA[Cost Center Selector]]></HELP>
pandeeswari@18819
   194
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_REFERENCE_ID><![CDATA[DEE6B917B36D4648B2DA729FC2872CF4]]></AD_REFERENCE_ID>
pandeeswari@18819
   195
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_TABLE_ID><![CDATA[9072A1C049584DB69E4F42AE20B5CB66]]></AD_TABLE_ID>
pandeeswari@18819
   196
<!--B8321631F57E463EB617289E936BAF3A-->  <AD_COLUMN_ID><![CDATA[DB141BB0EEE7482CB93C3B53A9DEF96C]]></AD_COLUMN_ID>
pandeeswari@18819
   197
<!--B8321631F57E463EB617289E936BAF3A-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
pandeeswari@18819
   198
<!--B8321631F57E463EB617289E936BAF3A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@18845
   199
<!--B8321631F57E463EB617289E936BAF3A-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
eduardo@18845
   200
<!--B8321631F57E463EB617289E936BAF3A-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
pandeeswari@18819
   201
<!--B8321631F57E463EB617289E936BAF3A-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
pandeeswari@18819
   202
<!--B8321631F57E463EB617289E936BAF3A--></OBUISEL_SELECTOR>
pandeeswari@18819
   203
pandeeswari@18819
   204
<!--BD1DA40E134A42B9889B529302A96871--><OBUISEL_SELECTOR>
pandeeswari@18819
   205
<!--BD1DA40E134A42B9889B529302A96871-->  <OBUISEL_SELECTOR_ID><![CDATA[BD1DA40E134A42B9889B529302A96871]]></OBUISEL_SELECTOR_ID>
pandeeswari@18819
   206
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
pandeeswari@18819
   207
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
pandeeswari@18819
   208
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
pandeeswari@18819
   209
<!--BD1DA40E134A42B9889B529302A96871-->  <NAME><![CDATA[User Dimension 2]]></NAME>
pandeeswari@18819
   210
<!--BD1DA40E134A42B9889B529302A96871-->  <DESCRIPTION><![CDATA[User Dimension 2]]></DESCRIPTION>
pandeeswari@18819
   211
<!--BD1DA40E134A42B9889B529302A96871-->  <HELP><![CDATA[User Dimension 2]]></HELP>
pandeeswari@18819
   212
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_REFERENCE_ID><![CDATA[1850A5390D97470EBB35A3A5F43AB533]]></AD_REFERENCE_ID>
pandeeswari@18819
   213
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_TABLE_ID><![CDATA[EADDFEC95B5841D881BBA81A8D942CD2]]></AD_TABLE_ID>
pandeeswari@18819
   214
<!--BD1DA40E134A42B9889B529302A96871-->  <AD_COLUMN_ID><![CDATA[6C4D8B6F831947FEAE47B218DD43E9D2]]></AD_COLUMN_ID>
pandeeswari@18819
   215
<!--BD1DA40E134A42B9889B529302A96871-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
pandeeswari@18819
   216
<!--BD1DA40E134A42B9889B529302A96871-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@18845
   217
<!--BD1DA40E134A42B9889B529302A96871-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
eduardo@18845
   218
<!--BD1DA40E134A42B9889B529302A96871-->  <POPUPTEXTMATCHSTYLE><![CDATA[substring]]></POPUPTEXTMATCHSTYLE>
pandeeswari@18819
   219
<!--BD1DA40E134A42B9889B529302A96871-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
pandeeswari@18819
   220
<!--BD1DA40E134A42B9889B529302A96871--></OBUISEL_SELECTOR>
pandeeswari@18819
   221
eduardo@18281
   222
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E--><OBUISEL_SELECTOR>
eduardo@18281
   223
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <OBUISEL_SELECTOR_ID><![CDATA[DE9CFEFB6F49404995BE8B0FBF3F7F9E]]></OBUISEL_SELECTOR_ID>
eduardo@18281
   224
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
eduardo@18281
   225
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
eduardo@18281
   226
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
eduardo@18281
   227
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <NAME><![CDATA[Payment Schedule]]></NAME>
eduardo@18281
   228
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_REFERENCE_ID><![CDATA[1FAD22496E6F468DBC46CA23FE204B41]]></AD_REFERENCE_ID>
eduardo@18281
   229
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <AD_TABLE_ID><![CDATA[CE9AFF5F51B846AEAB0B6CBF829092CD]]></AD_TABLE_ID>
eduardo@18281
   230
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
eduardo@18281
   231
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
eduardo@18281
   232
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
eduardo@18281
   233
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
eduardo@18281
   234
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
eduardo@18281
   235
<!--DE9CFEFB6F49404995BE8B0FBF3F7F9E--></OBUISEL_SELECTOR>
eduardo@18281
   236
pandeeswari@18819
   237
<!--E65052A724B3451CA643A0CC355CEA40--><OBUISEL_SELECTOR>
pandeeswari@18819
   238
<!--E65052A724B3451CA643A0CC355CEA40-->  <OBUISEL_SELECTOR_ID><![CDATA[E65052A724B3451CA643A0CC355CEA40]]></OBUISEL_SELECTOR_ID>
pandeeswari@18819
   239
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
pandeeswari@18819
   240
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
pandeeswari@18819
   241
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
pandeeswari@18819
   242
<!--E65052A724B3451CA643A0CC355CEA40-->  <NAME><![CDATA[Asset Selector]]></NAME>
pandeeswari@18819
   243
<!--E65052A724B3451CA643A0CC355CEA40-->  <DESCRIPTION><![CDATA[Asset Selector]]></DESCRIPTION>
pandeeswari@18819
   244
<!--E65052A724B3451CA643A0CC355CEA40-->  <HELP><![CDATA[Asset Selector]]></HELP>
pandeeswari@18819
   245
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_REFERENCE_ID><![CDATA[444F3B4F45544B9CA45E4035D49C1176]]></AD_REFERENCE_ID>
pandeeswari@18819
   246
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_TABLE_ID><![CDATA[539]]></AD_TABLE_ID>
pandeeswari@18819
   247
<!--E65052A724B3451CA643A0CC355CEA40-->  <AD_COLUMN_ID><![CDATA[8070]]></AD_COLUMN_ID>
pandeeswari@18819
   248
<!--E65052A724B3451CA643A0CC355CEA40-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
pandeeswari@18819
   249
<!--E65052A724B3451CA643A0CC355CEA40-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
pandeeswari@18819
   250
<!--E65052A724B3451CA643A0CC355CEA40-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
pandeeswari@18819
   251
<!--E65052A724B3451CA643A0CC355CEA40-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
pandeeswari@18819
   252
<!--E65052A724B3451CA643A0CC355CEA40-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
pandeeswari@18819
   253
<!--E65052A724B3451CA643A0CC355CEA40--></OBUISEL_SELECTOR>
pandeeswari@18819
   254
david@18098
   255
<!--EB3C41F0973A4EDA91E475833792A6D4--><OBUISEL_SELECTOR>
david@18098
   256
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <OBUISEL_SELECTOR_ID><![CDATA[EB3C41F0973A4EDA91E475833792A6D4]]></OBUISEL_SELECTOR_ID>
david@18098
   257
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
david@18098
   258
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
david@18098
   259
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
david@18098
   260
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <NAME><![CDATA[ProductSimple]]></NAME>
david@18098
   261
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_REFERENCE_ID><![CDATA[712D9821BE8246AC95E6C16D8BEEBE5E]]></AD_REFERENCE_ID>
david@18098
   262
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <AD_TABLE_ID><![CDATA[208]]></AD_TABLE_ID>
david@18098
   263
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <FILTER_EXPRESSION><![CDATA[if (OB.getParameters().get('inpcCurrencyId')){ " pl.salesPriceList = " + OB.isSalesTransaction()  + " AND c.id = '" + OB.getParameters().get('inpcCurrencyId') + "'" }]]></FILTER_EXPRESSION>
david@18098
   264
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
david@18098
   265
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
david@18098
   266
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <VALUEFIELD_ID><![CDATA[EDADAD64A1634FDEA50343CE1AAAF1FB]]></VALUEFIELD_ID>
david@18098
   267
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <DISPLAYFIELD_ID><![CDATA[797E2E6C7A6D4A349491B85A1C1ACB7D]]></DISPLAYFIELD_ID>
shankar@18270
   268
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
david@18098
   269
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
david@18098
   270
<!--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
david@18098
   271
from PricingProductPrice pp
david@18098
   272
join pp.product p
david@18098
   273
join pp.priceListVersion plv
david@18098
   274
join plv.priceList pl
david@18098
   275
left join pl.currency c
david@18098
   276
where @additional_filters@]]></HQL>
david@18098
   277
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <ENTITY_ALIAS><![CDATA[pp]]></ENTITY_ALIAS>
david@18098
   278
<!--EB3C41F0973A4EDA91E475833792A6D4-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
david@18098
   279
<!--EB3C41F0973A4EDA91E475833792A6D4--></OBUISEL_SELECTOR>
david@18098
   280
augusto@16708
   281
<!--F132874BE0954A9B8C1301BE20704730--><OBUISEL_SELECTOR>
augusto@16708
   282
<!--F132874BE0954A9B8C1301BE20704730-->  <OBUISEL_SELECTOR_ID><![CDATA[F132874BE0954A9B8C1301BE20704730]]></OBUISEL_SELECTOR_ID>
augusto@16708
   283
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
augusto@16708
   284
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
augusto@16708
   285
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
augusto@16708
   286
<!--F132874BE0954A9B8C1301BE20704730-->  <NAME><![CDATA[Business Partner with contact and location]]></NAME>
augusto@16708
   287
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_REFERENCE_ID><![CDATA[531F166E5A7C437F9438A94AD8DDF212]]></AD_REFERENCE_ID>
augusto@16708
   288
<!--F132874BE0954A9B8C1301BE20704730-->  <AD_TABLE_ID><![CDATA[291]]></AD_TABLE_ID>
augusto@16708
   289
<!--F132874BE0954A9B8C1301BE20704730-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
augusto@16708
   290
<!--F132874BE0954A9B8C1301BE20704730-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
augusto@16710
   291
<!--F132874BE0954A9B8C1301BE20704730-->  <VALUEFIELD_ID><![CDATA[38075EEC36C24E3CAB44D1B33D2CE637]]></VALUEFIELD_ID>
augusto@16708
   292
<!--F132874BE0954A9B8C1301BE20704730-->  <DISPLAYFIELD_ID><![CDATA[7CA7330BA4864D2FB1FED44CDB88A622]]></DISPLAYFIELD_ID>
shankar@18270
   293
<!--F132874BE0954A9B8C1301BE20704730-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[substring]]></SUGGESTIONTEXTMATCHSTYLE>
augusto@16708
   294
<!--F132874BE0954A9B8C1301BE20704730-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
augusto@16708
   295
<!--F132874BE0954A9B8C1301BE20704730-->  <HQL><![CDATA[SELECT distinct bp.name as name,bp.id as bpid, bp.searchKey as value,
gorkaion@10200
   296
   bp.creditLimit - bp.creditUsed as creditAvailable, bp.creditUsed as creditUsed,
gorkaion@10380
   297
   COALESCE(contact.name, usercontact.name) as contactname, COALESCE(contact.id, usercontact.id) as contactid,
gorkaion@10380
   298
   bploc.name as locationname, bploc.id as locationid,
gorkaion@10383
   299
   bp.customer as customer, bp.vendor as vendor, bp.lifetimeRevenueToDate as income
asier@14289
   300
FROM BusinessPartner bp left join bp.businessPartnerLocationList bploc with bploc.active=true
asier@14289
   301
                        left join bploc.locationAddress loc with loc.active = true
asier@14289
   302
                        left join bploc.aDUserList contact with contact.active=true
gorkaion@10200
   303
                        left join loc.region region
asier@14289
   304
                        left join bp.aDUserList usercontact with usercontact.partnerAddress.id is null and usercontact.active=true
gorkaion@10200
   305
where @additional_filters@
javier@15814
   306
  and bp.summaryLevel = false and bp.active=true]]></HQL>
augusto@16708
   307
<!--F132874BE0954A9B8C1301BE20704730-->  <ENTITY_ALIAS><![CDATA[bp]]></ENTITY_ALIAS>
augusto@16708
   308
<!--F132874BE0954A9B8C1301BE20704730-->  <CUSTOM_QUERY><![CDATA[Y]]></CUSTOM_QUERY>
augusto@16708
   309
<!--F132874BE0954A9B8C1301BE20704730--></OBUISEL_SELECTOR>
gorkaion@10200
   310
gorkaion@10200
   311
</data>