8 |
<datasource name="searchDataSource" cache="1"/> |
<datasource name="searchDataSource" cache="1"/> |
9 |
|
|
10 |
<datasource name="neb:''.$entity_table.'ResultDataSource'" database="papo" |
<datasource name="neb:''.$entity_table.'ResultDataSource'" database="papo" |
11 |
table="neb:'_entity_data, _alien_entity_data, |
table="neb:'_entity_data, |
12 |
_persona_data, _'.$entity_table.'_data, |
_alien_entity_data, |
13 |
_entity_uid_data'" |
_persona_data, |
14 |
|
_'.$entity_table.'_data, |
15 |
|
_entity_uid_data, |
16 |
|
_entity_uid_data as cuit'" |
17 |
order_by="_entity_data.name"> |
order_by="_entity_data.name"> |
|
<!-- modified database --> |
|
|
<!-- entity_type_uid_conf, --> |
|
|
<!-- modified database --> |
|
18 |
<condition> |
<condition> |
19 |
<and> |
<and> |
20 |
<eq> |
<eq> |
33 |
<cfield name="_entity_data._table"/> |
<cfield name="_entity_data._table"/> |
34 |
<cfield name="_entity_uid_data.entity"/> |
<cfield name="_entity_uid_data.entity"/> |
35 |
</eq> |
</eq> |
36 |
|
<!-- el cuit --> |
37 |
<!-- use the configured code --> |
<eq> |
38 |
<!-- modified database --> |
<cfield name="_entity_data._table"/> |
39 |
|
<cfield name="cuit.entity"/> |
40 |
<!-- <eq> --> |
</eq> |
41 |
<!-- <cfield name="_entity_data.entity_type"/> --> |
<eq> |
42 |
<!-- <cfield name="entity_type_uid_conf.entity_type"/> --> |
<cfield name="cuit.entity_uid_type"/> |
43 |
<!-- </eq> --> |
<cconst value="neb:PAPO::cuitUidType"/> |
44 |
|
</eq> |
45 |
|
<!-- /el cuit --> |
46 |
<eq> |
<eq> |
47 |
<cconst value="neb:$entity_type"/> |
<cconst value="neb:$entity_type"/> |
48 |
<cfield name="entity_type_uid_conf.entity_type"/> |
<cfield name="entity_type_uid_conf.entity_type"/> |
49 |
</eq> |
</eq> |
|
|
|
|
|
|
|
|
|
|
<!-- /modified database --> |
|
50 |
<eq> |
<eq> |
51 |
<cfield name="_entity_uid_data.entity_uid_type"/> |
<cfield name="_entity_uid_data.entity_uid_type"/> |
52 |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
53 |
</eq> |
</eq> |
|
|
|
|
|
|
54 |
<!-- eocc: end of commented code --> |
<!-- eocc: end of commented code --> |
55 |
<null> |
<null> |
56 |
<cfield name="_entity_data._end_t"/> |
<cfield name="_entity_data._end_t"/> |
715 |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.initQuery() |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.initQuery() |
716 |
if str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchCodeEntry): |
if str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchCodeEntry): |
717 |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.codeListEntry = str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchCodeEntry)+'%' |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.codeListEntry = str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchCodeEntry)+'%' |
718 |
|
if str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchCuitEntry): |
719 |
|
<neb:Inline>$entity_table</neb:Inline>ResultBlock.cuitListEntry = str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchCuitEntry)+'%' |
720 |
if str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchNameEntry): |
if str(<neb:Inline>$entity_table</neb:Inline>SearchBlock.searchNameEntry): |
721 |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.nameListEntry = '%s%%' % <neb:Inline>$entity_table</neb:Inline>SearchBlock.searchNameEntry |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.nameListEntry = '%s%%' % <neb:Inline>$entity_table</neb:Inline>SearchBlock.searchNameEntry |
722 |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.processQuery() |
<neb:Inline>$entity_table</neb:Inline>ResultBlock.processQuery() |
979 |
<label text="Datos a buscar:" x="1" y="1"/> |
<label text="Datos a buscar:" x="1" y="1"/> |
980 |
<label text="Nombre o razón social" x="1" y="2" /> |
<label text="Nombre o razón social" x="1" y="2" /> |
981 |
<label text=" Código" x="1" y="3"/> |
<label text=" Código" x="1" y="3"/> |
982 |
|
<label text=" CUIT " x="1" y="4"/> |
983 |
<entry name="searchNameEntry" x="22" y="2" width="55"/> |
<entry name="searchNameEntry" x="22" y="2" width="55"/> |
984 |
<entry name="searchCodeEntry" x="22" y="3" width="35"/> |
<entry name="searchCodeEntry" x="22" y="3" width="35"/> |
985 |
|
<entry name="searchCuitEntry" x="22" y="4" width="35"/> |
986 |
<entry style="label" name="notificationEntry" x="1" y="19" width="67"/> |
<entry style="label" name="notificationEntry" x="1" y="19" width="67"/> |
987 |
<button x="59" y="3" trigger="searchTrigger" width="9" label="Buscar" name="searchBtn" height="1"/> |
<button x="59" y="3" trigger="searchTrigger" width="9" label="Buscar" name="searchBtn" height="1"/> |
988 |
<button x="69" y="3" trigger="printTrigger" width="10" label="Imprimir" name="printBtn" height="1"/> |
<button x="69" y="3" trigger="printTrigger" width="10" label="Imprimir" name="printBtn" height="1"/> |
990 |
|
|
991 |
<block name="neb:''.$entity_table.'ResultBlock'" datasource="neb:''.$entity_table.'ResultDataSource'"> |
<block name="neb:''.$entity_table.'ResultBlock'" datasource="neb:''.$entity_table.'ResultDataSource'"> |
992 |
<entry name="neb:''.$entity_table.'IdREntry'" field="_entity_data._table" hidden="" x="1" y="1" width="20" /> |
<entry name="neb:''.$entity_table.'IdREntry'" field="_entity_data._table" hidden="" x="1" y="1" width="20" /> |
993 |
<label text="Resultado" x="1" y="4"/> |
<label text="Resultado" x="1" y="5"/> |
994 |
<entry name="codeListEntry" field="_entity_uid_data.uid" x="1" y="5" width="20" rows="14"/> |
<entry name="cuitListEntry" field="cuit.uid" x="1" y="6" width="14" rows="14"/> |
995 |
<entry name="nameListEntry" field="_entity_data.name" x="21" y="5" width="58" rows="14"/> |
<entry name="codeListEntry" field="_entity_uid_data.uid" x="15" y="6" width="20" rows="14"/> |
996 |
<scrollbar page="12" x="80" y="5" width="1" height="14"/> |
<entry name="nameListEntry" field="_entity_data.name" x="35" y="6" width="45" rows="14"/> |
997 |
|
<scrollbar page="12" x="80" y="6" width="1" height="14"/> |
998 |
</block> |
</block> |
999 |
</page> |
</page> |
1000 |
|
|