349 |
</page> |
</page> |
350 |
<page name="Producto"> |
<page name="Producto"> |
351 |
<trigger type="pre-Focusout" src="askForChangesTrigger"/> |
<trigger type="pre-Focusout" src="askForChangesTrigger"/> |
352 |
<box label="Datos" x="0" y="0" height="20" width="45"> |
<box label="Datos" x="0" y="0" height="20" width="70"> |
353 |
<block name="productBlock" datasource="productDataSource"> |
<block name="productBlock" datasource="productDataSource"> |
354 |
<entry x="0" y="0" name="priceTypeEntry" |
<entry x="0" y="0" name="priceTypeEntry" |
355 |
field="_price_data.price_type" hidden="y"/> |
field="_price_data.price_type" hidden="y"/> |
359 |
x="1" y="1" width="20"/> |
x="1" y="1" width="20"/> |
360 |
<label text="Nombre Canónico:" x="1" y="1"/> |
<label text="Nombre Canónico:" x="1" y="1"/> |
361 |
<entry name="canonical_nameEntry" field="_product_data.canonical_name" |
<entry name="canonical_nameEntry" field="_product_data.canonical_name" |
362 |
x="1" y="2" width="40"/> |
x="2" y="2" width="48"/> |
363 |
|
<button x="57" y="2" width="10" height="1" label="Nuevo" trigger="newProductTrigger"> |
364 |
|
<trigger type="NAMED" name="newProductTrigger"> |
365 |
|
productBlock.newRecord() |
366 |
|
setFocus(productBlock.canonical_nameEntry) |
367 |
|
</trigger> |
368 |
|
</button> |
369 |
<label text="Clasificación:" x="1" y="3"/> |
<label text="Clasificación:" x="1" y="3"/> |
370 |
<entry x="1" y="4" width="30" name="product_classificationEntry" style="dropdown" |
<entry x="2" y="4" width="40" name="product_classificationEntry" style="dropdown" |
371 |
field="_product_data.product_classification" |
field="_product_data.product_classification" |
372 |
foreign_key="productClassificationDataSource._table" |
foreign_key="productClassificationDataSource._table" |
373 |
foreign_key_description="description"/> |
foreign_key_description="description"/> |
374 |
<button x="35" y="4" name="product_classificationButton" |
<button x="45" y="4" name="product_classificationButton" |
375 |
label="..." width="5" height="1" trigger="product_classificationTrigger"> |
label="..." width="5" height="1" trigger="product_classificationTrigger"> |
376 |
<trigger type="NAMED" name="product_classificationTrigger"> |
<trigger type="NAMED" name="product_classificationTrigger"> |
377 |
runForm('product_classification.gfd'); |
runForm('product_classification.gfd'); |
378 |
</trigger> |
</trigger> |
379 |
</button> |
</button> |
380 |
<label text="Ubicación:" x="1" y="5"/> |
<label text="Ubicación:" x="1" y="5"/> |
381 |
<entry x="1" y="6" width="30" name="physical_structureEntry" style="dropdown" |
<entry x="2" y="6" width="40" name="physical_structureEntry" style="dropdown" |
382 |
field="_product_data.location" |
field="_product_data.location" |
383 |
foreign_key="physicalStructureDataSource._table" |
foreign_key="physicalStructureDataSource._table" |
384 |
foreign_key_description="name"/> |
foreign_key_description="name"/> |
385 |
<button x="35" y="6" name="physical_structureButton" |
<button x="45" y="6" name="physical_structureButton" |
386 |
label="..." width="5" height="1" trigger="physical_structureTrigger"> |
label="..." width="5" height="1" trigger="physical_structureTrigger"> |
387 |
<trigger type="NAMED" name="physical_structureTrigger"> |
<trigger type="NAMED" name="physical_structureTrigger"> |
388 |
self.genericBox('No implementado', ['Ok']); |
self.genericBox('No implementado', ['Ok']); |
389 |
</trigger> |
</trigger> |
390 |
</button> |
</button> |
391 |
<label text="País de Origen:" x="1" y="7"/> |
<label text="País de Origen:" x="1" y="7"/> |
392 |
<entry x="1" y="8" width="30" name="countryEntry" style="dropdown" |
<entry x="2" y="8" width="40" name="countryEntry" style="dropdown" |
393 |
field="_product_data.country" |
field="_product_data.country" |
394 |
foreign_key="countryDataSource._table" |
foreign_key="countryDataSource._table" |
395 |
foreign_key_description="name"/> |
foreign_key_description="name"/> |
396 |
<button x="35" y="8" name="countryButton" |
<button x="45" y="8" name="countryButton" |
397 |
label="..." width="5" height="1" trigger="countryTrigger"> |
label="..." width="5" height="1" trigger="countryTrigger"> |
398 |
<trigger type="NAMED" name="countryTrigger"> |
<trigger type="NAMED" name="countryTrigger"> |
399 |
runForm('country.gfd'); |
runForm('country.gfd'); |