27 |
#storehouse |
#storehouse |
28 |
$ownStorehouseBlock =>"" |
$ownStorehouseBlock =>"" |
29 |
$ownStorehouseIdEntry => "ownStorehouseIdEntry" |
$ownStorehouseIdEntry => "ownStorehouseIdEntry" |
30 |
|
$ownStorehouseStockByInvoiceEntry => "ownStorehouseStockByInvoiceEntry" |
31 |
</neb:Vars> |
</neb:Vars> |
32 |
|
|
33 |
<!-- OWN STOREHOUSE --> |
<!-- OWN STOREHOUSE --> |
34 |
<neb:Block>if ($ownStorehouseBlock ne ""){</neb:Block> |
<neb:Block>if ($ownStorehouseBlock ne ""){</neb:Block> |
35 |
<!--busqueda de storehouse--> |
<!--busqueda de storehouse--> |
36 |
<datasource name="ownStorehowseResultDataSource" database="papo" |
<datasource name="ownStorehowseResultDataSource" database="papo" |
37 |
table="_entity_relation_data, _relation_types_data"> |
table="_entity_relation_data, _relation_types_data, _entity_data, _own_entity_data, _own_storehouse_data"> |
38 |
<condition> |
<condition> |
39 |
<and> |
<and> |
40 |
<eq> |
<eq> |
45 |
<cfield name="_relation_types_data.relation_type"/> |
<cfield name="_relation_types_data.relation_type"/> |
46 |
<cconst value="neb:PAPO::posOfStorehouseType"/> |
<cconst value="neb:PAPO::posOfStorehouseType"/> |
47 |
</eq> |
</eq> |
48 |
|
<eq> |
49 |
|
<cfield name="_entity_relation_data.entity_to"/> |
50 |
|
<cfield name="_entity_data._table"/> |
51 |
|
</eq> |
52 |
|
<eq> |
53 |
|
<cfield name="_own_entity_data.entity"/> |
54 |
|
<cfield name="_entity_data._table"/> |
55 |
|
</eq> |
56 |
|
<eq> |
57 |
|
<cfield name="_own_storehouse_data.own_entity"/> |
58 |
|
<cfield name="_own_entity_data._table"/> |
59 |
|
</eq> |
60 |
<null> |
<null> |
61 |
<cfield name="_entity_relation_data._end_t"/> |
<cfield name="_entity_relation_data._end_t"/> |
62 |
</null> |
</null> |
63 |
<null> |
<null> |
64 |
<cfield name="_relation_types_data._end_t"/> |
<cfield name="_relation_types_data._end_t"/> |
65 |
</null> |
</null> |
66 |
|
<null> |
67 |
|
<cfield name="_entity_data._end_t"/> |
68 |
|
</null> |
69 |
|
<null> |
70 |
|
<cfield name="_own_entity_data._end_t"/> |
71 |
|
</null> |
72 |
|
<null> |
73 |
|
<cfield name="_own_storehouse_data._end_t"/> |
74 |
|
</null> |
75 |
</and> |
</and> |
76 |
</condition> |
</condition> |
77 |
</datasource> |
</datasource> |
87 |
<block name="neb:$ownStorehouseBlock" datasource="ownStorehowseResultDataSource" > |
<block name="neb:$ownStorehouseBlock" datasource="ownStorehowseResultDataSource" > |
88 |
<entry name="neb:$ownStorehouseIdEntry" field="_entity_relation_data.entity_to" hidden="" x="70" y="5" /> |
<entry name="neb:$ownStorehouseIdEntry" field="_entity_relation_data.entity_to" hidden="" x="70" y="5" /> |
89 |
<entry name="neb:$ownPosEntityIdEntry" field="_entity_relation_data.entity_from" hidden="" x="70" y="6" /> |
<entry name="neb:$ownPosEntityIdEntry" field="_entity_relation_data.entity_from" hidden="" x="70" y="6" /> |
90 |
|
<entry name="neb:$ownStorehouseStockByInvoiceEntry" field="_own_storehouse_data.stock_by_invoice" hidden="" x="70" y="6" /> |
91 |
</block> |
</block> |
92 |
<!--/busqueda de storehouse--> |
<!--/busqueda de storehouse--> |
93 |
<neb:Block>}</neb:Block> |
<neb:Block>}</neb:Block> |