6 |
<datasource name="focusDataSource" cache="1"/> |
<datasource name="focusDataSource" cache="1"/> |
7 |
<datasource name="searchDataSource" cache="1"/> |
<datasource name="searchDataSource" cache="1"/> |
8 |
<datasource name="providerResultDataSource" database="papo" |
<datasource name="providerResultDataSource" database="papo" |
9 |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, _entity_uid_data" |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, _entity_uid_data" |
10 |
order_by="_entity_data.name"> |
order_by="_entity_data.name"> |
11 |
<condition> |
<condition> |
12 |
<and> |
<and> |
26 |
<cfield name="_entity_data._table"/> |
<cfield name="_entity_data._table"/> |
27 |
<cfield name="_entity_uid_data.entity"/> |
<cfield name="_entity_uid_data.entity"/> |
28 |
</eq> |
</eq> |
29 |
<!-- use the configured code --> |
<!-- modified database --> |
30 |
<eq> |
|
31 |
<cfield name="_entity_data.entity_type"/> |
<!-- <eq> --> |
32 |
<cfield name="entity_type_uid_conf.entity_type"/> |
<!-- <cfield name="_entity_data.entity_type"/> --> |
33 |
</eq> |
<!-- <cfield name="entity_type_uid_conf.entity_type"/> --> |
34 |
|
<!-- </eq> --> |
35 |
|
|
36 |
|
<eq> |
37 |
|
<cconst value="8"/> |
38 |
|
<cfield name="entity_type_uid_conf.entity_type"/> |
39 |
|
</eq> |
40 |
|
<!-- /modified database --> |
41 |
<eq> |
<eq> |
42 |
<cfield name="_entity_uid_data.entity_uid_type"/> |
<cfield name="_entity_uid_data.entity_uid_type"/> |
43 |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
44 |
</eq> |
</eq> |
45 |
<!-- eocc: end of commented code --> |
|
46 |
<null> |
<null> |
47 |
<cfield name="_entity_data._end_t"/> |
<cfield name="_entity_data._end_t"/> |
48 |
</null> |
</null> |
61 |
</and> |
</and> |
62 |
</condition> |
</condition> |
63 |
</datasource> |
</datasource> |
64 |
|
<!-- abm --> |
65 |
<datasource name="providerDataSource" database="papo" |
<datasource name="providerDataSource" database="papo" |
66 |
table="entity, _entity_data, alien_entity, _alien_entity_data, persona, _persona_data, provider, _provider_data, entity_type_uid_conf" |
table="entity, _entity_data, alien_entity, _alien_entity_data, persona, _persona_data, provider, _provider_data, entity_type_uid_conf" |
67 |
historytable="_entity_data, _alien_entity_data, _persona_data, _provider_data"> |
historytable="_entity_data, _alien_entity_data, _persona_data, _provider_data"> |
111 |
</condition> |
</condition> |
112 |
</datasource> |
</datasource> |
113 |
|
|
114 |
|
<!-- parte de multi entities --> |
115 |
|
|
116 |
|
|
117 |
|
<datasource name="entityTypesDataSource" database="papo" |
118 |
|
detaillink="_entity_types_data.entity" master="providerDataSource" |
119 |
|
masterlink="entity.id" table="entity_types, _entity_types_data" historytable="_entity_types_data"> |
120 |
|
<condition> |
121 |
|
<and> |
122 |
|
<eq> |
123 |
|
<cfield name="entity_types.id"/> |
124 |
|
<cfield name="_entity_types_data._table"/> |
125 |
|
</eq> |
126 |
|
<null> |
127 |
|
<cfield name="_entity_types_data._end_t"/> |
128 |
|
</null> |
129 |
|
</and> |
130 |
|
</condition> |
131 |
|
</datasource> |
132 |
|
|
133 |
|
<!-- limite de credito --> |
134 |
|
|
135 |
|
|
136 |
<datasource name="creditLimit1DataSource" database="papo" |
<datasource name="creditLimit1DataSource" database="papo" |
137 |
detaillink="_credit_limit_data.entity" master="providerDataSource" |
detaillink="_credit_limit_data.entity" master="providerDataSource" |
138 |
masterlink="entity.id" table="credit_limit, _credit_limit_data" historytable="_credit_limit_data"> |
masterlink="entity.id" table="credit_limit, _credit_limit_data" historytable="_credit_limit_data"> |
258 |
</and> |
</and> |
259 |
</condition> |
</condition> |
260 |
</datasource> |
</datasource> |
261 |
|
<!-- modified database --> |
262 |
|
<!-- <datasource name="addressDataSource" --> |
263 |
|
<!-- database="papo" table="address, _address_data" historytable="_address_data" --> |
264 |
|
<!-- master="providerDataSource" masterlink="entity.id" detaillink="_address_data.entity"> --> |
265 |
|
<!-- <condition> --> |
266 |
|
<!-- <and> --> |
267 |
|
<!-- <eq> --> |
268 |
|
<!-- <cfield name="address.id"/> --> |
269 |
|
<!-- <cfield name="_address_data._table"/> --> |
270 |
|
<!-- </eq> --> |
271 |
|
<!-- <null> --> |
272 |
|
<!-- <cfield name="_address_data._end_t"/> --> |
273 |
|
<!-- </null> --> |
274 |
|
<!-- </and> --> |
275 |
|
<!-- </condition> --> |
276 |
|
<!-- </datasource> --> |
277 |
|
|
278 |
|
<!-- <datasource name="telephoneDataSource" --> |
279 |
|
<!-- database="papo" table="telephone, _telephone_data" historytable="_telephone_data" --> |
280 |
|
<!-- master="providerDataSource" masterlink="entity.id" detaillink="_telephone_data.entity"> --> |
281 |
|
<!-- <condition> --> |
282 |
|
<!-- <and> --> |
283 |
|
<!-- <eq> --> |
284 |
|
<!-- <cfield name="telephone.id"/> --> |
285 |
|
<!-- <cfield name="_telephone_data._table"/> --> |
286 |
|
<!-- </eq> --> |
287 |
|
<!-- <null> --> |
288 |
|
<!-- <cfield name="_telephone_data._end_t"/> --> |
289 |
|
<!-- </null> --> |
290 |
|
<!-- </and> --> |
291 |
|
<!-- </condition> --> |
292 |
|
<!-- </datasource> --> |
293 |
|
<!-- /modified database --> |
294 |
|
|
|
<datasource name="addressDataSource" |
|
|
database="papo" table="address, _address_data" historytable="_address_data" |
|
|
master="providerDataSource" masterlink="entity.id" detaillink="_address_data.entity"> |
|
|
<condition> |
|
|
<and> |
|
|
<eq> |
|
|
<cfield name="address.id"/> |
|
|
<cfield name="_address_data._table"/> |
|
|
</eq> |
|
|
<null> |
|
|
<cfield name="_address_data._end_t"/> |
|
|
</null> |
|
|
</and> |
|
|
</condition> |
|
|
</datasource> |
|
|
|
|
|
<datasource name="telephoneDataSource" |
|
|
database="papo" table="telephone, _telephone_data" historytable="_telephone_data" |
|
|
master="providerDataSource" masterlink="entity.id" detaillink="_telephone_data.entity"> |
|
|
<condition> |
|
|
<and> |
|
|
<eq> |
|
|
<cfield name="telephone.id"/> |
|
|
<cfield name="_telephone_data._table"/> |
|
|
</eq> |
|
|
<null> |
|
|
<cfield name="_telephone_data._end_t"/> |
|
|
</null> |
|
|
</and> |
|
|
</condition> |
|
|
</datasource> |
|
295 |
|
|
296 |
<datasource name="printProviderDataSource" database="papo" |
<datasource name="printProviderDataSource" database="papo" |
297 |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, _entity_uid_data" |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, _entity_uid_data" |
315 |
<cfield name="_entity_uid_data.entity"/> |
<cfield name="_entity_uid_data.entity"/> |
316 |
</eq> |
</eq> |
317 |
<!-- use the configured code --> |
<!-- use the configured code --> |
318 |
<eq> |
<!-- modified database --> |
319 |
<cfield name="_entity_data.entity_type"/> |
<!-- <eq> --> |
320 |
<cfield name="entity_type_uid_conf.entity_type"/> |
<!-- <cfield name="_entity_data.entity_type"/> --> |
321 |
</eq> |
<!-- <cfield name="entity_type_uid_conf.entity_type"/> --> |
322 |
|
<!-- </eq> --> |
323 |
|
|
324 |
|
<eq> |
325 |
|
<cconst value="8"/> |
326 |
|
<cfield name="entity_type_uid_conf.entity_type"/> |
327 |
|
</eq> |
328 |
|
<!-- /modified database --> |
329 |
<eq> |
<eq> |
330 |
<cfield name="_entity_uid_data.entity_uid_type"/> |
<cfield name="_entity_uid_data.entity_uid_type"/> |
331 |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
361 |
</condition> |
</condition> |
362 |
</datasource> |
</datasource> |
363 |
|
|
364 |
<datasource name="printTelephoneDataSource" |
<!-- modified database --> |
365 |
database="papo" table="_telephone_data"> |
<!-- <datasource name="printTelephoneDataSource" --> |
366 |
|
<!-- database="papo" table="_telephone_data"> --> |
367 |
|
<!-- <condition> --> |
368 |
|
<!-- <and> --> |
369 |
|
<!-- <null> --> |
370 |
|
<!-- <cfield name="_telephone_data._end_t"/> --> |
371 |
|
<!-- </null> --> |
372 |
|
<!-- </and> --> |
373 |
|
<!-- </condition> --> |
374 |
|
<!-- </datasource> --> |
375 |
|
<!-- /modified database --> |
376 |
|
<!-- address --> |
377 |
|
<datasource name="addressDataSource" |
378 |
|
database="papo" table="address, _address_data" historytable="_address_data" |
379 |
|
master="providerDataSource" masterlink="entity.id" detaillink="_address_data.entity"> |
380 |
<condition> |
<condition> |
381 |
<and> |
<and> |
382 |
|
<eq> |
383 |
|
<cfield name="address.id"/> |
384 |
|
<cfield name="_address_data._table"/> |
385 |
|
</eq> |
386 |
|
<null> |
387 |
|
<cfield name="_address_data._end_t"/> |
388 |
|
</null> |
389 |
|
</and> |
390 |
|
</condition> |
391 |
|
</datasource> |
392 |
|
|
393 |
|
<datasource database="papo" name="addressTypeResultDataSource" |
394 |
|
table="address_type, _address_type_data" historytable="_address_type_data"> |
395 |
|
<condition> |
396 |
|
<and> |
397 |
|
<eq> |
398 |
|
<cfield name="address_type.id"/> |
399 |
|
<cfield name="_address_type_data._table"/> |
400 |
|
</eq> |
401 |
<null> |
<null> |
402 |
<cfield name="_telephone_data._end_t"/> |
<cfield name="_address_type_data._end_t"/> |
403 |
</null> |
</null> |
404 |
</and> |
</and> |
405 |
</condition> |
</condition> |
406 |
</datasource> |
</datasource> |
407 |
|
<!-- attribute --> |
408 |
|
|
409 |
|
<datasource name="attributeDataSource" |
410 |
|
database="papo" table="entity_attribute, _entity_attribute_data" historytable="_entity_attribute_data" |
411 |
|
master="providerDataSource" masterlink="entity.id" detaillink="_entity_attribute_data.entity"> |
412 |
|
<condition> |
413 |
|
<and> |
414 |
|
<eq> |
415 |
|
<cfield name="entity_attribute.id"/> |
416 |
|
<cfield name="_entity_attribute_data._table"/> |
417 |
|
</eq> |
418 |
|
<null> |
419 |
|
<cfield name="_entity_attribute_data._end_t"/> |
420 |
|
</null> |
421 |
|
</and> |
422 |
|
</condition> |
423 |
|
</datasource> |
424 |
|
|
425 |
|
<datasource database="papo" name="categoryTypeResultDataSource" |
426 |
|
table="category_type, _category_type_data, _category_entity_type_data" historytable="_category_type_data"> |
427 |
|
<condition> |
428 |
|
<and> |
429 |
|
<eq> |
430 |
|
<cfield name="category_type.id"/> |
431 |
|
<cfield name="_category_type_data._table"/> |
432 |
|
</eq> |
433 |
|
<!-- provider es el 8--> |
434 |
|
<eq> |
435 |
|
<cconst value="8"/> |
436 |
|
<cfield name="_category_entity_type_data.entity_type"/> |
437 |
|
</eq> |
438 |
|
<eq> |
439 |
|
<cfield name="category_type.id"/> |
440 |
|
<cfield name="_category_entity_type_data.category_type"/> |
441 |
|
</eq> |
442 |
|
<null> |
443 |
|
<cfield name="_category_type_data._end_t"/> |
444 |
|
</null> |
445 |
|
<null> |
446 |
|
<cfield name="_category_entity_type_data._end_t"/> |
447 |
|
</null> |
448 |
|
</and> |
449 |
|
</condition> |
450 |
|
</datasource> |
451 |
|
|
452 |
|
<datasource database="papo" name="categoryAtributeResultDataSource" |
453 |
|
table="category_attribute, _category_attribute_data" historytable="_category_attribute_data"> |
454 |
|
<condition> |
455 |
|
<and> |
456 |
|
<eq> |
457 |
|
<cfield name="category_attribute.id"/> |
458 |
|
<cfield name="_category_attribute_data._table"/> |
459 |
|
</eq> |
460 |
|
<null> |
461 |
|
<cfield name="_category_attribute_data._end_t"/> |
462 |
|
</null> |
463 |
|
</and> |
464 |
|
</condition> |
465 |
|
</datasource> |
466 |
|
|
467 |
|
<!-- TRIGGERS--> |
468 |
|
|
469 |
|
<!-- abm --> |
470 |
<trigger name="commitTrigger" type="NAMED"> |
<trigger name="commitTrigger" type="NAMED"> |
471 |
isOk= 1 |
isOk= 1 |
472 |
message= '' |
message= '' |
498 |
providerBlock.initQuery() |
providerBlock.initQuery() |
499 |
providerBlock.providerIdEntry = tmpId |
providerBlock.providerIdEntry = tmpId |
500 |
providerBlock.processQuery() |
providerBlock.processQuery() |
501 |
|
# modified database |
502 |
|
entityTypesBlock.providerEntityEntry = str(providerBlock.providerIdEntry) |
503 |
|
entityTypesBlock.providerEntityTypeEntry = 8 |
504 |
|
entityTypesBlock.commit() |
505 |
|
# le doy de alta a las 4 direcciones basicas |
506 |
|
addressBlock.addressTypeIdEntry = 1 |
507 |
|
addressBlock.nextRecord() |
508 |
|
addressBlock.addressTypeIdEntry = 2 |
509 |
|
addressBlock.nextRecord() |
510 |
|
addressBlock.addressTypeIdEntry = 3 |
511 |
|
addressBlock.nextRecord() |
512 |
|
addressBlock.addressTypeIdEntry = 4 |
513 |
|
entityTypesBlock.commit() |
514 |
|
# /modified database |
515 |
else: |
else: |
516 |
providerBlock.commit() |
providerBlock.commit() |
517 |
else: |
else: |
533 |
hack.confirmPageChanges(self, 'commitTrigger', providerBlock) |
hack.confirmPageChanges(self, 'commitTrigger', providerBlock) |
534 |
</trigger> |
</trigger> |
535 |
|
|
536 |
<trigger name="telephoneDeleteTrigger" type="NAMED"> |
<!-- modified database --> |
537 |
telephoneBlock.deleteRecord() |
<!-- <trigger name="telephoneDeleteTrigger" type="NAMED"> --> |
538 |
telephoneBlock.commit() |
<!-- telephoneBlock.deleteRecord() --> |
539 |
</trigger> |
<!-- telephoneBlock.commit() --> |
540 |
|
<!-- </trigger> --> |
541 |
<trigger name="telephoneRollbackTrigger" type="NAMED"> |
|
542 |
import hack |
<!-- <trigger name="telephoneRollbackTrigger" type="NAMED"> --> |
543 |
hack.rollback(telephoneBlock) |
<!-- import hack --> |
544 |
</trigger> |
<!-- hack.rollback(telephoneBlock) --> |
545 |
|
<!-- </trigger> --> |
546 |
|
<!-- /modified database --> |
547 |
|
|
548 |
<trigger name="addressDeleteTrigger" type="NAMED"> |
<trigger name="addressDeleteTrigger" type="NAMED"> |
549 |
addressBlock.deleteRecord() |
addressBlock.deleteRecord() |
553 |
<trigger name="addressRollbackTrigger" type="NAMED"> |
<trigger name="addressRollbackTrigger" type="NAMED"> |
554 |
import hack |
import hack |
555 |
hack.rollback(addressBlock) |
hack.rollback(addressBlock) |
556 |
|
callTrigger('addressTypeNameSearchTrigger') |
557 |
</trigger> |
</trigger> |
558 |
|
<!-- /modified database --> |
559 |
|
|
560 |
|
|
561 |
<trigger name="creditLimitRollbackTrigger" type="NAMED"> |
<trigger name="creditLimitRollbackTrigger" type="NAMED"> |
562 |
creditLimit1Block.processRollback(1) |
creditLimit1Block.processRollback(1) |
570 |
rollback(providerTaxProfileBlock) |
rollback(providerTaxProfileBlock) |
571 |
</trigger> |
</trigger> |
572 |
|
|
573 |
|
<!-- impresión --> |
574 |
|
|
575 |
<trigger name="printTrigger" type="NAMED"><![CDATA[ |
<trigger name="printTrigger" type="NAMED"><![CDATA[ |
576 |
callTrigger('startWaitingModeTrigger') |
callTrigger('startWaitingModeTrigger') |
577 |
import gnue.common.GConditions as GConditions |
import gnue.common.GConditions as GConditions |
613 |
more = providerResulSet.firstRecord(); |
more = providerResulSet.firstRecord(); |
614 |
|
|
615 |
while more: |
while more: |
|
|
|
616 |
addressCondition = GConditions.GCondition() |
addressCondition = GConditions.GCondition() |
617 |
eq = GConditions.GCeq(addressCondition) |
tmpAnd = GConditions.GCand(addressCondition) |
618 |
GConditions.GCField(eq,"_address_data.entity") |
eq1 = GConditions.GCeq(tmpAnd) |
619 |
GConditions.GCConst(eq,str(providerResulSet.current.getField("_entity_data._table"))) |
GConditions.GCField(eq1,"_address_data.entity") |
620 |
|
GConditions.GCConst(eq1,str(providerResulSet.current.getField("_entity_data._table"))) |
621 |
|
eq2 = GConditions.GCeq(tmpAnd) |
622 |
|
GConditions.GCField(eq2,"_address_data.address_type") |
623 |
|
GConditions.GCConst(eq2,"1") |
624 |
|
|
625 |
addressResulSet = printAddressDataSource.createResultSet(addressCondition) |
addressResulSet = printAddressDataSource.createResultSet(addressCondition) |
626 |
anAddress = addressResulSet.firstRecord() |
anAddress = addressResulSet.firstRecord() |
627 |
addresses = [] |
addresses = [] |
628 |
|
|
629 |
while anAddress: |
while anAddress: |
630 |
addresses.append(addressResulSet.current.getField("address")) |
addresses.append(addressResulSet.current.getField("address")) |
631 |
|
# para que no me de error si el campo esta vacio |
632 |
anAddress = addressResulSet.nextRecord() |
anAddress = addressResulSet.nextRecord() |
633 |
|
|
634 |
|
# ahora telefono es una direccion de address_type = '2' |
635 |
|
|
636 |
telephoneCondition = GConditions.GCondition() |
addressCondition = GConditions.GCondition() |
637 |
eq = GConditions.GCeq(telephoneCondition) |
tmpAnd = GConditions.GCand(addressCondition) |
638 |
GConditions.GCField(eq,"_telephone_data.entity") |
eq1 = GConditions.GCeq(tmpAnd) |
639 |
GConditions.GCConst(eq,str(providerResulSet.current.getField("_entity_data._table"))) |
GConditions.GCField(eq1,"_address_data.entity") |
640 |
telephoneResulSet = printTelephoneDataSource.createResultSet(telephoneCondition) |
GConditions.GCConst(eq1,str(providerResulSet.current.getField("_entity_data._table"))) |
641 |
|
eq2 = GConditions.GCeq(tmpAnd) |
642 |
|
GConditions.GCField(eq2,"_address_data.address_type") |
643 |
|
GConditions.GCConst(eq2,"2") |
644 |
|
telephoneResulSet = printAddressDataSource.createResultSet(addressCondition) |
645 |
anTelephone = telephoneResulSet.firstRecord() |
anTelephone = telephoneResulSet.firstRecord() |
646 |
telephones = [] |
telephones = [] |
647 |
|
|
648 |
while anTelephone: |
while anTelephone: |
649 |
telephones.append(telephoneResulSet.current.getField("telephone")) |
telephones.append(telephoneResulSet.current.getField("address") ) |
650 |
|
# para que no me de error si el campo esta vacio |
651 |
anTelephone = telephoneResulSet.nextRecord() |
anTelephone = telephoneResulSet.nextRecord() |
652 |
|
|
653 |
line = "| " +printField(providerResulSet.current.getField("_entity_uid_data.uid"),14)+ " | " |
line = "| " +printField(providerResulSet.current.getField("_entity_uid_data.uid"),14)+ " | " |
654 |
line += printField(providerResulSet.current.getField("_entity_data.name"),20) + " | " |
line += printField(providerResulSet.current.getField("_entity_data.name"),20) + " | " |
655 |
line += printField(addresses.pop(),20) + " | " |
if addresses: |
656 |
line += printField(telephones.pop(),20) + " |" |
line += printField(addresses.pop(),20) + " | " |
657 |
|
else: |
658 |
|
line += printField(" ",20) + " | " |
659 |
|
if telephones: |
660 |
|
line += printField(telephones.pop(),20) + " |" |
661 |
|
else: |
662 |
|
line += printField(" ",20) + " | " |
663 |
table.append(line) |
table.append(line) |
664 |
|
|
665 |
while addresses or telephones: |
while addresses or telephones: |
666 |
line = "| " + printField(" ",14) + " | " |
line = "| " + printField(" ",14) + " | " |
667 |
line += printField(" ",20) + " | " |
line += printField(" ",20) + " | " |
686 |
|
|
687 |
]]></trigger> |
]]></trigger> |
688 |
|
|
689 |
|
<!-- /impresion --> |
690 |
|
|
691 |
<trigger name="startWaitingModeTrigger" type="NAMED"><![CDATA[ |
<trigger name="startWaitingModeTrigger" type="NAMED"><![CDATA[ |
692 |
setStatusText("Procesando ...") |
setStatusText("Procesando ...") |
693 |
try: |
try: |
740 |
providerSearchBlock.notificationEntry ='%6d registros encontrados' % providerResultBlock.getRecordCount() |
providerSearchBlock.notificationEntry ='%6d registros encontrados' % providerResultBlock.getRecordCount() |
741 |
</trigger> |
</trigger> |
742 |
|
|
743 |
<page name="Proveedores"> |
<!-- address --> |
744 |
|
<trigger name="addressTypeNameSearchTrigger" type="NAMED"><![CDATA[ |
745 |
|
print "trigger de busqueda de nombres" |
746 |
|
addressBlock.firstRecord() |
747 |
|
for index in range(addressBlock.getRecordCount()): |
748 |
|
if str(addressBlock.addressTypeIdEntry) != "": |
749 |
|
addressTypeResultBlock.processRollback() |
750 |
|
addressTypeResultBlock.initQuery() |
751 |
|
addressTypeResultBlock.addressTypeResultIdEntry= str(addressBlock.addressTypeIdEntry) |
752 |
|
addressTypeResultBlock.processQuery() |
753 |
|
addressBlock.addressTypeNameEntry= str(addressTypeResultBlock.addressTypeResultNameEntry) |
754 |
|
addressBlock.nextRecord() |
755 |
|
]]></trigger> |
756 |
|
|
757 |
|
|
758 |
|
<!-- new_schema_begin --> |
759 |
|
<trigger type="NAMED" name="callAddressTypeTrigger"><![CDATA[ |
760 |
|
try: |
761 |
|
# gnue version <= 0.4 |
762 |
|
from gnue.forms.GFEvent import GFEvent |
763 |
|
except ImportError: |
764 |
|
# gnue version >= 0.5 |
765 |
|
from gnue.common.events.Event import Event as GFEvent |
766 |
|
|
767 |
|
# busy clock |
768 |
|
form._object.dispatchEvent(GFEvent('beginWAIT')) |
769 |
|
setStatusText('buscando...') |
770 |
|
|
771 |
|
def setAddressType (recNo): |
772 |
|
if recNo>=0: |
773 |
|
addressTypeResultBlock.jumpRecord (recNo) |
774 |
|
addressBlock.addressTypeIdEntry= str(addressTypeResultBlock.addressTypeResultIdEntry) |
775 |
|
addressBlock.addressTypeNameEntry= str(addressTypeResultBlock.addressTypeResultNameEntry) |
776 |
|
|
777 |
|
# look for the name... |
778 |
|
addressTypeResultBlock.processRollback () |
779 |
|
addressTypeResultBlock.initQuery () |
780 |
|
addressTypeResultBlock.addressTypeResultNameEntry= str(addressBlock.addressTypeNameEntry)+'%' |
781 |
|
addressTypeResultBlock.processQuery () |
782 |
|
|
783 |
|
# are there too much results? |
784 |
|
resultCount= addressTypeResultBlock.getRecordCount () |
785 |
|
if resultCount>1: |
786 |
|
# do the select-man |
787 |
|
runForm ('addressTypeSelect.gfd', { |
788 |
|
'data':addressTypeResultBlock, |
789 |
|
'callback': setAddressType |
790 |
|
}) |
791 |
|
elif resultCount==1: |
792 |
|
setAddressType (0) |
793 |
|
|
794 |
|
setStatusText('Ok') |
795 |
|
form._object.dispatchEvent(GFEvent('endWAIT')) |
796 |
|
]]></trigger> |
797 |
|
<!-- new_schema_end --> |
798 |
|
<!-- categorias --> |
799 |
|
|
800 |
|
<trigger name="attributeNameSearchTrigger" type="NAMED"><![CDATA[ |
801 |
|
print "trigger de busqueda de nombres" |
802 |
|
attributeBlock.firstRecord() |
803 |
|
for index in range(attributeBlock.getRecordCount()): |
804 |
|
if str(attributeBlock.categoryAtributeIdEntry) != "": |
805 |
|
categoryAtributeResultBlock.processRollback() |
806 |
|
categoryAtributeResultBlock.initQuery() |
807 |
|
categoryTypeResultBlock.processRollback() |
808 |
|
categoryTypeResultBlock.initQuery() |
809 |
|
categoryAtributeResultBlock.categoryAtributeResultIdEntry= str(attributeBlock.categoryAtributeIdEntry) |
810 |
|
categoryAtributeResultBlock.processQuery() |
811 |
|
attributeBlock.categoryAtributeNameEntry= str(categoryAtributeResultBlock.categoryAtributeResultNameEntry) |
812 |
|
categoryTypeResultBlock.categoryTypeResultIdEntry = str(categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry) |
813 |
|
attributeBlock.categoryTypeIdEntry= str(categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry) |
814 |
|
categoryTypeResultBlock.processQuery() |
815 |
|
attributeBlock.categoryTypeNameEntry= str(categoryTypeResultBlock.categoryTypeResultNameEntry) |
816 |
|
attributeBlock.nextRecord() |
817 |
|
]]></trigger> |
818 |
|
|
819 |
|
<!-- pantallites de busquede category--> |
820 |
|
|
821 |
|
<trigger type="NAMED" name="callCategoryTypeTrigger"><![CDATA[ |
822 |
|
try: |
823 |
|
# gnue version <= 0.4 |
824 |
|
from gnue.forms.GFEvent import GFEvent |
825 |
|
except ImportError: |
826 |
|
# gnue version >= 0.5 |
827 |
|
from gnue.common.events.Event import Event as GFEvent |
828 |
|
|
829 |
|
# busy clock |
830 |
|
form._object.dispatchEvent(GFEvent('beginWAIT')) |
831 |
|
setStatusText('buscando...') |
832 |
|
|
833 |
|
def setCategoryType (recNo): |
834 |
|
if recNo>=0: |
835 |
|
categoryTypeResultBlock.jumpRecord (recNo) |
836 |
|
attributeBlock.categoryTypeIdEntry= str(categoryTypeResultBlock.categoryTypeResultIdEntry) |
837 |
|
attributeBlock.categoryTypeNameEntry= str(categoryTypeResultBlock.categoryTypeResultNameEntry) |
838 |
|
|
839 |
|
# look for the name... |
840 |
|
categoryTypeResultBlock.processRollback () |
841 |
|
categoryTypeResultBlock.initQuery () |
842 |
|
categoryTypeResultBlock.categoryTypeResultNameEntry= str(attributeBlock.categoryTypeNameEntry)+'%' |
843 |
|
categoryTypeResultBlock.processQuery () |
844 |
|
|
845 |
|
# are there too much results? |
846 |
|
resultCount= categoryTypeResultBlock.getRecordCount () |
847 |
|
if resultCount>1: |
848 |
|
# do the select-man |
849 |
|
runForm ('categoryTypeSelect.gfd', { |
850 |
|
'data':categoryTypeResultBlock, |
851 |
|
'callback': setCategoryType |
852 |
|
}) |
853 |
|
elif resultCount==1: |
854 |
|
setCategoryType (0) |
855 |
|
|
856 |
|
setStatusText('Ok') |
857 |
|
form._object.dispatchEvent(GFEvent('endWAIT')) |
858 |
|
]]></trigger> |
859 |
|
|
860 |
|
<!-- pantallites de busquede category_attribute--> |
861 |
|
|
862 |
|
<trigger type="NAMED" name="callCategoryAtributeTrigger"><![CDATA[ |
863 |
|
try: |
864 |
|
# gnue version <= 0.4 |
865 |
|
from gnue.forms.GFEvent import GFEvent |
866 |
|
except ImportError: |
867 |
|
# gnue version >= 0.5 |
868 |
|
from gnue.common.events.Event import Event as GFEvent |
869 |
|
|
870 |
|
# busy clock |
871 |
|
form._object.dispatchEvent(GFEvent('beginWAIT')) |
872 |
|
setStatusText('buscando...') |
873 |
|
|
874 |
|
def setCategoryAtribute (recNo): |
875 |
|
if recNo>=0: |
876 |
|
categoryAtributeResultBlock.jumpRecord (recNo) |
877 |
|
attributeBlock.categoryAtributeIdEntry= str(categoryAtributeResultBlock.categoryAtributeResultIdEntry) |
878 |
|
attributeBlock.categoryAtributeNameEntry= str(categoryAtributeResultBlock.categoryAtributeResultNameEntry) |
879 |
|
|
880 |
|
# look for the name... |
881 |
|
categoryAtributeResultBlock.processRollback () |
882 |
|
categoryAtributeResultBlock.initQuery () |
883 |
|
categoryAtributeResultBlock.categoryAtributeResultNameEntry= str(attributeBlock.categoryAtributeNameEntry)+'%' |
884 |
|
categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry= str(attributeBlock.categoryTypeIdEntry) |
885 |
|
categoryAtributeResultBlock.processQuery () |
886 |
|
|
887 |
|
# are there too much results? |
888 |
|
resultCount= categoryAtributeResultBlock.getRecordCount () |
889 |
|
if resultCount>1: |
890 |
|
# do the select-man |
891 |
|
runForm ('categoryAtributeSelect.gfd', { |
892 |
|
'data':categoryAtributeResultBlock, |
893 |
|
'callback': setCategoryAtribute |
894 |
|
}) |
895 |
|
elif resultCount==1: |
896 |
|
setCategoryAtribute (0) |
897 |
|
|
898 |
|
setStatusText('Ok') |
899 |
|
form._object.dispatchEvent(GFEvent('endWAIT')) |
900 |
|
]]></trigger> |
901 |
|
|
902 |
|
<trigger name="categoryDeleteTrigger" type="NAMED"><![CDATA[ |
903 |
|
attributeBlock.deleteRecord() |
904 |
|
attributeBlock.commit() |
905 |
|
]]></trigger> |
906 |
|
|
907 |
|
<trigger name="categoryRollbackTrigger" type="NAMED"><![CDATA[ |
908 |
|
import hack |
909 |
|
hack.rollback(attributeBlock) |
910 |
|
]]></trigger> |
911 |
|
|
912 |
|
<!-- PAGES --> |
913 |
|
|
914 |
|
<page name="Búsqueda"> |
915 |
<trigger type="Pre-Focusout"> |
<trigger type="Pre-Focusout"> |
916 |
providerBlock.processRollback() |
providerBlock.processRollback() |
917 |
if providerResultBlock.getRecordCount() > 0 and not providerResultBlock.getCurrentRecord().isEmpty(): |
if providerResultBlock.getRecordCount() > 0 and not providerResultBlock.getCurrentRecord().isEmpty(): |
942 |
</block> |
</block> |
943 |
</page> |
</page> |
944 |
|
|
945 |
<page name="Proveedor"> |
<page name="Gestión"> |
946 |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
947 |
<box label="Datos" |
<box label="Datos" |
948 |
x="0" y="0" height="20" width="64"> |
x="0" y="0" height="20" width="64"> |
973 |
x="1" y="3"/> |
x="1" y="3"/> |
974 |
<entry name="nameEntry" field="_entity_data.name" |
<entry name="nameEntry" field="_entity_data.name" |
975 |
x="1" y="4" width="40"/> |
x="1" y="4" width="40"/> |
976 |
<entry name="entityTypeEntry" field="_entity_data.entity_type" |
<!-- modified database --> |
977 |
x="1" y="1" width="40" hidden=""/> |
<!-- <entry name="entityTypeEntry" field="_entity_data.entity_type" --> |
978 |
|
<!-- x="1" y="1" width="40" hidden=""/> --> |
979 |
|
<!-- /modified database --> |
980 |
<label text="Observaciones" |
<label text="Observaciones" |
981 |
x="1" y="7"/> |
x="1" y="7"/> |
982 |
<entry name="obs" field="_entity_data.observations" |
<entry name="obs" field="_entity_data.observations" |
1002 |
<button x="21" y="17" trigger="providerRollbackTrigger" width="9" label="Cancelar" |
<button x="21" y="17" trigger="providerRollbackTrigger" width="9" label="Cancelar" |
1003 |
name="providerRollbackBtn" height="1"/> |
name="providerRollbackBtn" height="1"/> |
1004 |
</block> |
</block> |
1005 |
</box> |
|
1006 |
</page> |
<!-- modified database --> |
1007 |
|
<!-- entity types --> |
1008 |
<page name="Direcciones"> |
<block name="entityTypesBlock" datasource="entityTypesDataSource" > |
1009 |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
<entry name="clientEntityTypeEntry" field="_entity_types_data.entity_type" |
1010 |
<box label="Direcciones" |
x="40" y="4" width="4" hidden=""/> |
1011 |
x="0" y="0" height="5" width="64"> |
<entry name="clientEntityEntry" field="_entity_types_data.entity" |
1012 |
<block name="addressProviderBlock" datasource="providerDataSource"> |
x="40" y="4" width="4" hidden=""/> |
|
<label text="Nombre o Razón Social" |
|
|
x="1" y="1"/> |
|
|
<entry name="name" field="_entity_data.name" readonly="" |
|
|
x="1" y="2" width="40"> |
|
|
</entry> |
|
|
</block> |
|
|
</box> |
|
|
<box label="Direcciones" |
|
|
x="0" y="5" height="15" width="64"> |
|
|
<block name="addressBlock" datasource="addressDataSource"> |
|
|
<label text="Direcciones" |
|
|
x="1" y="1"/> |
|
|
<entry name="address" field="_address_data.address" rows="4" |
|
|
x="1" y="2" width="39"/> |
|
|
<scrollbar page="4" |
|
|
x="41" y="2" width="1" height="4"/> |
|
|
<button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" |
|
|
name="addressCommitBtn" height="1"/> |
|
|
<button x="11" y="12" trigger="addressDeleteTrigger" width="9" label="Borrar" |
|
|
name="addressDeleteBtn" height="1"/> |
|
|
<button x="21" y="12" trigger="addressRollbackTrigger" width="9" label="Cancelar" |
|
|
name="addressRollbackBtn" height="1"/> |
|
1013 |
</block> |
</block> |
1014 |
|
|
1015 |
</box> |
</box> |
1016 |
</page> |
</page> |
1017 |
|
<!-- /modified database --> |
1018 |
|
|
1019 |
<page name="Teléfonos"> |
|
1020 |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
<!-- modified database --> |
1021 |
<box label="Teléfonos" |
<!-- <page name="Direcciones"> --> |
1022 |
x="0" y="0" height="5" width="64"> |
<!-- <trigger type="Pre-Focusout" src="askForChangesTrigger"/> --> |
1023 |
<block name="providerTelephoneBlock" datasource="providerDataSource"> |
<!-- <box label="Direcciones" --> |
1024 |
<label text="Nombre o Razón Social" |
<!-- x="0" y="0" height="5" width="64"> --> |
1025 |
x="1" y="1"/> |
<!-- <block name="addressProviderBlock" datasource="providerDataSource"> --> |
1026 |
<entry name="name" field="_entity_data.name" readonly="" |
<!-- <label text="Nombre o Razón Social" --> |
1027 |
x="1" y="2" width="40"/> |
<!-- x="1" y="1"/> --> |
1028 |
</block> |
<!-- <entry name="name" field="_entity_data.name" readonly="" --> |
1029 |
</box> |
<!-- x="1" y="2" width="40"> --> |
1030 |
<box label="Teléfonos" |
<!-- </entry> --> |
1031 |
x="0" y="5" height="15" width="64"> |
<!-- </block> --> |
1032 |
<block name="telephoneBlock" datasource="telephoneDataSource"> |
<!-- </box> --> |
1033 |
<label text="Teléfonos" |
<!-- <box label="Direcciones" --> |
1034 |
x="1" y="1"/> |
<!-- x="0" y="5" height="15" width="64"> --> |
1035 |
<entry name="telephone" field="_telephone_data.telephone" rows="4" |
<!-- <block name="addressBlock" datasource="addressDataSource"> --> |
1036 |
x="1" y="2" width="39"/> |
<!-- <label text="Direcciones" --> |
1037 |
<scrollbar page="4" |
<!-- x="1" y="1"/> --> |
1038 |
x="41" y="2" width="1" height="4"/> |
<!-- <entry name="address" field="_address_data.address" rows="4" --> |
1039 |
<button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" |
<!-- x="1" y="2" width="39"/> --> |
1040 |
name="telephoneCommitBtn" height="1"/> |
<!-- <scrollbar page="4" --> |
1041 |
<button x="11" y="12" trigger="telephoneDeleteTrigger" width="9" label="Borrar" |
<!-- x="41" y="2" width="1" height="4"/> --> |
1042 |
name="telephoneDeleteBtn" height="1"/> |
<!-- <button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" --> |
1043 |
<button x="21" y="12" trigger="telephoneRollbackTrigger" width="9" label="Cancelar" |
<!-- name="addressCommitBtn" height="1"/> --> |
1044 |
name="telephoneRollbackBtn" height="1"/> |
<!-- <button x="11" y="12" trigger="addressDeleteTrigger" width="9" label="Borrar" --> |
1045 |
</block> |
<!-- name="addressDeleteBtn" height="1"/> --> |
1046 |
</box> |
<!-- <button x="21" y="12" trigger="addressRollbackTrigger" width="9" label="Cancelar" --> |
1047 |
</page> |
<!-- name="addressRollbackBtn" height="1"/> --> |
1048 |
|
<!-- </block> --> |
1049 |
|
<!-- </box> --> |
1050 |
|
<!-- </page> --> |
1051 |
|
|
1052 |
|
<!-- <page name="Teléfonos"> --> |
1053 |
|
<!-- <trigger type="Pre-Focusout" src="askForChangesTrigger"/> --> |
1054 |
|
<!-- <box label="Teléfonos" --> |
1055 |
|
<!-- x="0" y="0" height="5" width="64"> --> |
1056 |
|
<!-- <block name="providerTelephoneBlock" datasource="providerDataSource"> --> |
1057 |
|
<!-- <label text="Nombre o Razón Social" --> |
1058 |
|
<!-- x="1" y="1"/> --> |
1059 |
|
<!-- <entry name="name" field="_entity_data.name" readonly="" --> |
1060 |
|
<!-- x="1" y="2" width="40"/> --> |
1061 |
|
<!-- </block> --> |
1062 |
|
<!-- </box> --> |
1063 |
|
<!-- <box label="Teléfonos" --> |
1064 |
|
<!-- x="0" y="5" height="15" width="64"> --> |
1065 |
|
<!-- <block name="telephoneBlock" datasource="telephoneDataSource"> --> |
1066 |
|
<!-- <label text="Teléfonos" --> |
1067 |
|
<!-- x="1" y="1"/> --> |
1068 |
|
<!-- <entry name="telephone" field="_telephone_data.telephone" rows="4" --> |
1069 |
|
<!-- x="1" y="2" width="39"/> --> |
1070 |
|
<!-- <scrollbar page="4" --> |
1071 |
|
<!-- x="41" y="2" width="1" height="4"/> --> |
1072 |
|
<!-- <button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" --> |
1073 |
|
<!-- name="telephoneCommitBtn" height="1"/> --> |
1074 |
|
<!-- <button x="11" y="12" trigger="telephoneDeleteTrigger" width="9" label="Borrar" --> |
1075 |
|
<!-- name="telephoneDeleteBtn" height="1"/> --> |
1076 |
|
<!-- <button x="21" y="12" trigger="telephoneRollbackTrigger" width="9" label="Cancelar" --> |
1077 |
|
<!-- name="telephoneRollbackBtn" height="1"/> --> |
1078 |
|
<!-- </block> --> |
1079 |
|
<!-- </box> --> |
1080 |
|
<!-- </page> --> |
1081 |
|
|
1082 |
<page name="Límites de crédito"> |
<page name="Límites de crédito"> |
1083 |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
1143 |
name="uidRollbackBtn" height="1"/> |
name="uidRollbackBtn" height="1"/> |
1144 |
</box> |
</box> |
1145 |
</page> |
</page> |
1146 |
|
<!-- direcciones --> |
1147 |
|
<page name="Direcciones"> |
1148 |
|
<trigger type="Pre-Focusin" src="addressTypeNameSearchTrigger"/> |
1149 |
|
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
1150 |
|
<box label="Direcciones" |
1151 |
|
x="0" y="0" height="5" width="84"> |
1152 |
|
<block name="addressProviderBlock" datasource="providerDataSource"> |
1153 |
|
<label text="Nombre o Razón Social" |
1154 |
|
x="1" y="1"/> |
1155 |
|
<entry name="name" field="_entity_data.name" readonly="" |
1156 |
|
x="1" y="2" width="40"> |
1157 |
|
</entry> |
1158 |
|
</block> |
1159 |
|
</box> |
1160 |
|
<box label="Direcciones" |
1161 |
|
x="0" y="5" height="15" width="84"> |
1162 |
|
<block name="addressBlock" datasource="addressDataSource"> |
1163 |
|
<label text="type" x="1" y="1"/> |
1164 |
|
<label text="valor" x="27" y="1"/> |
1165 |
|
<label text="obsevacion" x="57" y="1"/> |
1166 |
|
<entry name="addressTypeIdEntry" field="_address_data.address_type" rows="8" |
1167 |
|
x="1" y="2" width="2" hidden="" /> |
1168 |
|
<entry name="addressTypeNameEntry" rows="8" |
1169 |
|
x="1" y="2" width="20"/> |
1170 |
|
<entry name="addressValueEntry" field="_address_data.address" rows="8" |
1171 |
|
x="30" y="2" width="30"/> |
1172 |
|
<entry name="addressCommentEntry" field="_address_data.comment" rows="8" |
1173 |
|
x="60" y="2" width="20"/> |
1174 |
|
<scrollbar page="8" |
1175 |
|
x="81" y="2" width="1" height="8"/> |
1176 |
|
<button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" |
1177 |
|
name="addressCommitBtn" height="1"/> |
1178 |
|
<button x="11" y="12" trigger="addressDeleteTrigger" width="9" label="Borrar" |
1179 |
|
name="addressDeleteBtn" height="1"/> |
1180 |
|
<button x="21" y="12" trigger="addressRollbackTrigger" width="9" label="Cancelar" |
1181 |
|
name="addressRollbackBtn" height="1"/> |
1182 |
|
<button x="22" y="2" trigger="callAddressTypeTrigger" width="7" label="Buscar" |
1183 |
|
name="addressTypeBtn" height="8"/> |
1184 |
|
</block> |
1185 |
|
|
1186 |
|
<block name="addressTypeResultBlock" datasource="addressTypeResultDataSource"> |
1187 |
|
<entry name="addressTypeResultIdEntry" field="_address_type_data._table" |
1188 |
|
x="75" y="4" width="2" hidden=""/> |
1189 |
|
<entry name="addressTypeResultNameEntry" field="_address_type_data.name" |
1190 |
|
x="78" y="4" width="20" hidden=""/> |
1191 |
|
</block> |
1192 |
|
</box> |
1193 |
|
</page> |
1194 |
|
<!-- categorias --> |
1195 |
|
<page name="Categorias"> |
1196 |
|
<trigger type="Pre-Focusin" src="attributeNameSearchTrigger"/> |
1197 |
|
<!-- <trigger type="Pre-Focusout" src="askForChangesTrigger"/> --> |
1198 |
|
<box label="Direcciones" |
1199 |
|
x="0" y="0" height="5" width="84"> |
1200 |
|
<block name="categoryProviderBlock" datasource="providerDataSource"> |
1201 |
|
<label text="Nombre o Razón Social" |
1202 |
|
x="1" y="1"/> |
1203 |
|
<entry name="categoryProviderName" field="_entity_data.name" readonly="" |
1204 |
|
x="1" y="2" width="40"> |
1205 |
|
</entry> |
1206 |
|
</block> |
1207 |
|
</box> |
1208 |
|
<box label="Categorias" |
1209 |
|
x="0" y="5" height="15" width="84"> |
1210 |
|
<block name="attributeBlock" datasource="attributeDataSource"> |
1211 |
|
<label text="category" x="1" y="1"/> |
1212 |
|
<label text="attribute" x="30" y="1"/> |
1213 |
|
<entry name="categoryTypeIdEntry" rows="8" |
1214 |
|
x="1" y="2" hidden=""/> |
1215 |
|
<entry name="categoryTypeNameEntry" rows="8" |
1216 |
|
x="1" y="2" width="20"/> |
1217 |
|
<entry name="categoryAtributeIdEntry" field="_entity_attribute_data.category_attribute" rows="8" |
1218 |
|
x="23" y="2" hidden=""/> |
1219 |
|
<entry name="categoryAtributeNameEntry" rows="8" |
1220 |
|
x="30" y="2" width="20"/> |
1221 |
|
<scrollbar page="8" |
1222 |
|
x="60" y="2" width="1" height="8"/> |
1223 |
|
<button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" |
1224 |
|
name="categoryCommitBtn" height="1"/> |
1225 |
|
<button x="11" y="12" trigger="categoryDeleteTrigger" width="9" label="Borrar" |
1226 |
|
name="categoryDeleteBtn" height="1"/> |
1227 |
|
<button x="21" y="12" trigger="categoryRollbackTrigger" width="9" label="Cancelar" |
1228 |
|
name="categoryRollbackBtn" height="1"/> |
1229 |
|
<button x="22" y="2" trigger="callCategoryTypeTrigger" width="7" label="Buscar" |
1230 |
|
name="categoryTypeBtn" height="8"/> |
1231 |
|
<button x="51" y="2" trigger="callCategoryAtributeTrigger" width="7" label="Buscar" |
1232 |
|
name="categoryAtributeBtn" height="8"/> |
1233 |
|
</block> |
1234 |
|
<block name="categoryTypeResultBlock" datasource="categoryTypeResultDataSource"> |
1235 |
|
<entry name="categoryTypeResultIdEntry" field="_category_type_data._table" |
1236 |
|
x="55" y="2" width="2" hidden=""/> |
1237 |
|
<entry name="categoryTypeResultNameEntry" field="_category_type_data.name" |
1238 |
|
x="58" y="2" width="20" hidden=""/> |
1239 |
|
</block> |
1240 |
|
<block name="categoryAtributeResultBlock" datasource="categoryAtributeResultDataSource"> |
1241 |
|
<entry name="categoryAtributeResultIdEntry" field="_category_attribute_data._table" |
1242 |
|
x="55" y="8" width="2" hidden=""/> |
1243 |
|
<entry name="categoryAtributeResultTypeIdEntry" field="_category_attribute_data.category_type" |
1244 |
|
x="58" y="8" width="2" hidden=""/> |
1245 |
|
<entry name="categoryAtributeResultNameEntry" field="_category_attribute_data.name" |
1246 |
|
x="61" y="8" width="20" hidden=""/> |
1247 |
|
</block> |
1248 |
|
</box> |
1249 |
|
</page> |
1250 |
|
|
1251 |
</form> |
</form> |
1252 |
|
|