1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2 |
|
|
3 |
<form tabbed="top" title="Productos" height="18" width="64"> |
<form tabbed="top" title="Productos" height="18" width="46"> |
4 |
<!-- <maintoolbar enabled=""/> --> |
<!-- <maintoolbar enabled=""/> --> |
5 |
<datasource name="focusDataSource" cache="1"/> |
<datasource name="focusDataSource" cache="1"/> |
6 |
<datasource name="searchDataSource" cache="1"/> |
<datasource name="searchDataSource" cache="1"/> |
9 |
--> |
--> |
10 |
<datasource name="productResultDataSource" database="papo" |
<datasource name="productResultDataSource" database="papo" |
11 |
table="product, _product_data, price, _price_data, product_code, _product_code_data, product_tax, _product_tax_data, product_store, _product_store_data" |
table="product, _product_data, price, _price_data, product_code, _product_code_data, product_tax, _product_tax_data, product_store, _product_store_data" |
12 |
historytable="_product_data, _price_data, _product_code_data, _product_tax_data, _product_store_data" prequery="y" cache="12"> |
historytable="_product_data, _price_data, _product_code_data, _product_tax_data, _product_store_data" |
13 |
|
prequery="y" cache="15" order_by="_product_data.canonical_name"> |
14 |
<condition> |
<condition> |
15 |
<and> |
<and> |
16 |
<!-- pega product con su _data --> |
<!-- pega product con su _data --> |
102 |
ABM de uno en particular (segunda pantaia) --> |
ABM de uno en particular (segunda pantaia) --> |
103 |
<datasource name="productDataSource" database="papo" |
<datasource name="productDataSource" database="papo" |
104 |
table="product, _product_data, price, _price_data, product_code, _product_code_data, product_tax, _product_tax_data, product_store, _product_store_data" |
table="product, _product_data, price, _price_data, product_code, _product_code_data, product_tax, _product_tax_data, product_store, _product_store_data" |
105 |
historytable="_product_data, _price_data, _product_code_data, _product_tax_data, _product_store_data"> |
historytable="_product_data, _price_data, _product_code_data, _product_tax_data, _product_store_data" |
106 |
|
order_by="_product_data.canonical_name"> |
107 |
<condition> |
<condition> |
108 |
<and> |
<and> |
109 |
<!-- pega product con su _data --> |
<!-- pega product con su _data --> |
191 |
</condition> |
</condition> |
192 |
</datasource> |
</datasource> |
193 |
|
|
|
|
|
|
<datasource name="product_measureDataSource" database="papo" |
|
|
table="product_measure, _product_measure_data" |
|
|
historytable="_product_measure_data"> |
|
|
<condition> |
|
|
<and> |
|
|
<!-- pega product_measure con su _data --> |
|
|
<eq> |
|
|
<cfield name="product_measure.id"/> |
|
|
<cfield name="_product_measure_data._table"/> |
|
|
</eq> |
|
|
<!-- tira medidas muertas --> |
|
|
<null> |
|
|
<cfield name="_product_measure_data._end_t"/> |
|
|
</null> |
|
|
</and> |
|
|
</condition> |
|
|
</datasource> |
|
|
|
|
194 |
<!-- datasources para dropdowns: con buscar los not null en _data estamos --> |
<!-- datasources para dropdowns: con buscar los not null en _data estamos --> |
195 |
|
|
196 |
<datasource name="productClassificationDataSource" database="papo" table="_product_classification_data"> |
<datasource name="productClassificationDataSource" database="papo" |
197 |
|
table="_product_classification_data" order_by="name"> |
198 |
<condition> |
<condition> |
199 |
<and> |
<and> |
200 |
<null> |
<null> |
204 |
</condition> |
</condition> |
205 |
</datasource> |
</datasource> |
206 |
|
|
207 |
<datasource name="physicalStructureDataSource" database="papo" table="_physical_structure_data"> |
<datasource name="physicalStructureDataSource" database="papo" |
208 |
|
table="_physical_structure_data" order_by="name"> |
209 |
<condition> |
<condition> |
210 |
<null> |
<null> |
211 |
<cfield name="_end_t"/> |
<cfield name="_end_t"/> |
213 |
</condition> |
</condition> |
214 |
</datasource> |
</datasource> |
215 |
|
|
216 |
<datasource name="countryDataSource" database="papo" table="_country_data"> |
<datasource name="countryDataSource" database="papo" |
217 |
<condition> |
table="_country_data" order_by="name"> |
|
<null> |
|
|
<cfield name="_end_t"/> |
|
|
</null> |
|
|
</condition> |
|
|
</datasource> |
|
|
|
|
|
<datasource name="product_measure_typeDataSource" database="papo" table="_product_measure_type_data"> |
|
218 |
<condition> |
<condition> |
219 |
<null> |
<null> |
220 |
<cfield name="_end_t"/> |
<cfield name="_end_t"/> |
297 |
<entry name="productIdREntry" field="product.id" hidden="y" x="1" y="1" width="20" /> |
<entry name="productIdREntry" field="product.id" hidden="y" x="1" y="1" width="20" /> |
298 |
<label text="Resultado" x="1" y="3"/> |
<label text="Resultado" x="1" y="3"/> |
299 |
<entry name="nameListEntry" field="_product_data.canonical_name" |
<entry name="nameListEntry" field="_product_data.canonical_name" |
300 |
x="1" y="4" width="40" rows="12"/> |
x="1" y="4" width="40" rows="15"/> |
301 |
<scrollbar page="12" x="42" y="4" width="1" height="12"/> |
<scrollbar page="12" x="42" y="4" width="1" height="15"/> |
302 |
</block> |
</block> |
303 |
</page> |
</page> |
304 |
<page name="Producto"> |
<page name="Producto"> |
305 |
<trigger type="pre-Focusout" src="askForChangesTrigger"/> |
<trigger type="pre-Focusout" src="askForChangesTrigger"/> |
306 |
<box label="Datos" x="0" y="0" height="20" width="64"> |
<box label="Datos" x="0" y="0" height="20" width="45"> |
307 |
<block name="productBlock" datasource="productDataSource"> |
<block name="productBlock" datasource="productDataSource"> |
308 |
<entry x="0" y="0" name="priceTypeEntry" |
<entry x="0" y="0" name="priceTypeEntry" |
309 |
field="_price_data.price_type" hidden="y"/> |
field="_price_data.price_type" hidden="y"/> |
369 |
</box> |
</box> |
370 |
</page> |
</page> |
371 |
|
|
|
<page name="Medidas"> |
|
|
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
|
|
<box label="Producto" x="0" y="0" height="5" width="64"> |
|
|
<block name="measureProductBlock" datasource="productDataSource"> |
|
|
<label text="Producto" x="1" y="1"/> |
|
|
<entry x="1" y="2" width="40" name="name" |
|
|
field="_product_data.canonical_name" readonly="please"/> |
|
|
</block> |
|
|
</box> |
|
|
<box x="0" y="5" label="Medidas" width="64" height="15"> |
|
|
<block name="measureBlock" datasource="product_measureDataSource"> |
|
|
<label x="1" y="1" text="Parámetro"/> |
|
|
<entry x="1" y="4" style="dropdown" name="measure_typeEntry" |
|
|
field="_product_measure_data.product_measure_type" |
|
|
foreign_key="product_measure_typeDataSource._table" |
|
|
foreign_key_description="name"/> |
|
|
<label x="1" y="3" text="Medida"/> |
|
|
<entry x="1" y="2" field="_product_measure_data.measure" name="measureEntry"/> |
|
|
</block> |
|
|
</box> |
|
|
</page> |
|
|
|
|
372 |
</form> |
</form> |