13 |
<datasource name="tmpSearchDataSource" cache="1"/> |
<datasource name="tmpSearchDataSource" cache="1"/> |
14 |
<datasource name="currentSearchIdDataSource" cache="1"/> |
<datasource name="currentSearchIdDataSource" cache="1"/> |
15 |
|
|
16 |
<datasource name="contactDataSource" database="papo" |
<datasource name="contactDataSource" database="papo" |
17 |
table="entity, _entity_data, alien_entity, _alien_entity_data,contact, _contact_data" |
table="entity, _entity_data, alien_entity, _alien_entity_data,contact, _contact_data" |
18 |
order_by="_entity_data.name"> |
order_by="_entity_data.name"> |
19 |
<condition> |
<condition> |
20 |
<and> |
<and> |
51 |
</condition> |
</condition> |
52 |
</datasource> |
</datasource> |
53 |
|
|
54 |
<datasource name="receivedDataSource" database="papo" |
<datasource name="receivedDataSource" database="papo" |
55 |
table="entity, _entity_data, own_entity, _own_entity_data, employee, _employee_data" order_by="_entity_data.name"> |
table="entity, _entity_data, own_entity, _own_entity_data, employee, _employee_data" order_by="_entity_data.name"> |
56 |
<condition> |
<condition> |
57 |
<and> |
<and> |
88 |
</condition> |
</condition> |
89 |
</datasource> |
</datasource> |
90 |
|
|
91 |
<datasource name="providerSearchDataSource" database="papo" |
<datasource name="providerSearchDataSource" database="papo" |
92 |
table="_entity_data, _alien_entity_data, _persona_data, _persona_tax_profile_data, _tax_profile_data, |
table="_entity_data, _alien_entity_data, _persona_data, _persona_tax_profile_data, _tax_profile_data, |
93 |
_provider_data, entity_type_uid_conf, |
_provider_data, entity_type_uid_conf, |
94 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
95 |
<condition> |
<condition> |
96 |
<and> |
<and> |
149 |
</condition> |
</condition> |
150 |
</datasource> |
</datasource> |
151 |
|
|
152 |
<datasource name="providerUIDDataSource" database="papo" |
<datasource name="providerUIDDataSource" database="papo" |
153 |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
154 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
155 |
<condition> |
<condition> |
156 |
<and> |
<and> |
175 |
<cfield name="entity_type_uid_conf.entity_type"/> |
<cfield name="entity_type_uid_conf.entity_type"/> |
176 |
</eq> |
</eq> |
177 |
<eq> |
<eq> |
178 |
<cfield name="_entity_uid_data.entity_uid_type"/> |
<cfield name="_entity_uid_data.entity_uid_type"/> |
179 |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
180 |
</eq> |
</eq> |
181 |
<null> |
<null> |
197 |
</condition> |
</condition> |
198 |
</datasource> |
</datasource> |
199 |
|
|
200 |
<datasource name="providerNameDataSource" database="papo" |
<datasource name="providerNameDataSource" database="papo" |
201 |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
202 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
203 |
<condition> |
<condition> |
204 |
<and> |
<and> |
245 |
</condition> |
</condition> |
246 |
</datasource> |
</datasource> |
247 |
|
|
248 |
<datasource name="transportUIDDataSource" database="papo" |
<datasource name="transportUIDDataSource" database="papo" |
249 |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
250 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
251 |
<condition> |
<condition> |
252 |
<and> |
<and> |
293 |
</condition> |
</condition> |
294 |
</datasource> |
</datasource> |
295 |
|
|
296 |
<datasource name="transportNameDataSource" database="papo" |
<datasource name="transportNameDataSource" database="papo" |
297 |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
table="_entity_data, _alien_entity_data, _persona_data, _provider_data, entity_type_uid_conf, |
298 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
299 |
<condition> |
<condition> |
300 |
<and> |
<and> |
400 |
<!-- </condition> --> |
<!-- </condition> --> |
401 |
<!-- </datasource> --> |
<!-- </datasource> --> |
402 |
|
|
403 |
<datasource name="transportDataSource" database="papo" |
<datasource name="transportDataSource" database="papo" |
404 |
table="entity, _entity_data, alien_entity, _alien_entity_data, persona, _persona_data, provider, _provider_data" |
table="entity, _entity_data, alien_entity, _alien_entity_data, persona, _persona_data, provider, _provider_data" |
405 |
order_by="_entity_data.name"> |
order_by="_entity_data.name"> |
406 |
<condition> |
<condition> |
407 |
<and> |
<and> |
450 |
</datasource> |
</datasource> |
451 |
|
|
452 |
<!-- |
<!-- |
453 |
datasource usado para la búsqueda |
datasource usado para la búsqueda |
454 |
--> |
--> |
455 |
<datasource name="productSearchDataSource" database="papo" |
<datasource name="productSearchDataSource" database="papo" |
456 |
table=" _product_data, _product_code_data, _product_tax_data" |
table=" _product_data, _product_code_data, _product_tax_data" |
457 |
cache="15" order_by="_product_data.canonical_name"> |
cache="15" order_by="_product_data.canonical_name"> |
458 |
<condition> |
<condition> |
464 |
<eq> |
<eq> |
465 |
<cfield name="_product_data._table"/> |
<cfield name="_product_data._table"/> |
466 |
<cfield name="_product_code_data.product"/> |
<cfield name="_product_code_data.product"/> |
467 |
</eq> |
</eq> |
468 |
<!-- solamente códigos internos (id 1) --> |
<!-- solamente códigos internos (id 1) --> |
469 |
<eq> |
<eq> |
470 |
<cfield name="_product_code_data.product_code_type"/> |
<cfield name="_product_code_data.product_code_type"/> |
492 |
</condition> |
</condition> |
493 |
</datasource> |
</datasource> |
494 |
|
|
495 |
<datasource name="productUIDDataSource" database="papo" |
<datasource name="productUIDDataSource" database="papo" |
496 |
table=" _product_data, _product_code_data, _product_tax_data" |
table=" _product_data, _product_code_data, _product_tax_data" |
497 |
cache="15" order_by="_product_data.canonical_name"> |
cache="15" order_by="_product_data.canonical_name"> |
498 |
<condition> |
<condition> |
501 |
<eq> |
<eq> |
502 |
<cfield name="_product_data._table"/> |
<cfield name="_product_data._table"/> |
503 |
<cfield name="_product_code_data.product"/> |
<cfield name="_product_code_data.product"/> |
504 |
</eq> |
</eq> |
505 |
<!-- solamente códigos internos (id 1) --> |
<!-- solamente códigos internos (id 1) --> |
506 |
<eq> |
<eq> |
507 |
<cfield name="_product_code_data.product_code_type"/> |
<cfield name="_product_code_data.product_code_type"/> |
526 |
</condition> |
</condition> |
527 |
</datasource> |
</datasource> |
528 |
|
|
529 |
<datasource name="productNameDataSource" database="papo" |
<datasource name="productNameDataSource" database="papo" |
530 |
table=" _product_data, _product_code_data, _product_tax_data" |
table=" _product_data, _product_code_data, _product_tax_data" |
531 |
cache="15" order_by="_product_data.canonical_name"> |
cache="15" order_by="_product_data.canonical_name"> |
532 |
<condition> |
<condition> |
535 |
<eq> |
<eq> |
536 |
<cfield name="_product_data._table"/> |
<cfield name="_product_data._table"/> |
537 |
<cfield name="_product_code_data.product"/> |
<cfield name="_product_code_data.product"/> |
538 |
</eq> |
</eq> |
539 |
<!-- solamente códigos internos (id 1) --> |
<!-- solamente códigos internos (id 1) --> |
540 |
<eq> |
<eq> |
541 |
<cfield name="_product_code_data.product_code_type"/> |
<cfield name="_product_code_data.product_code_type"/> |
560 |
</condition> |
</condition> |
561 |
</datasource> |
</datasource> |
562 |
|
|
563 |
<datasource name="productTaxDataSource" database="papo" |
<datasource name="productTaxDataSource" database="papo" |
564 |
table=" _product_data, _product_tax_data" |
table=" _product_data, _product_tax_data" |
565 |
order_by="_product_data.canonical_name"> |
order_by="_product_data.canonical_name"> |
566 |
<condition> |
<condition> |
597 |
</condition> |
</condition> |
598 |
</datasource> |
</datasource> |
599 |
|
|
600 |
<datasource name="productDataSource" database="papo" table="_product_data" |
<datasource name="productDataSource" database="papo" table="_product_data" |
601 |
order_by="canonical_name"> |
order_by="canonical_name"> |
602 |
<condition> |
<condition> |
603 |
<null> |
<null> |
605 |
</null> |
</null> |
606 |
</condition> |
</condition> |
607 |
</datasource> |
</datasource> |
608 |
|
|
609 |
<datasource database="papo" name="resultAlienDocumentDataSource" table="alien_document" |
<datasource database="papo" name="resultAlienDocumentDataSource" table="alien_document" |
610 |
order_by="date"> |
order_by="date"> |
611 |
<condition> |
<condition> |
612 |
<eq> |
<eq> |
613 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
614 |
<cconst value="17"/> |
<cconst value="17"/> |
615 |
</eq> |
</eq> |
616 |
</condition> |
</condition> |
617 |
</datasource> |
</datasource> |
618 |
|
|
619 |
<datasource database="papo" name="alienDocumentDataSource" table="alien_document" |
<datasource database="papo" name="alienDocumentDataSource" table="alien_document" |
620 |
order_by="date"> |
order_by="date"> |
621 |
<condition> |
<condition> |
622 |
<eq> |
<eq> |
623 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
624 |
<cconst value="17"/> |
<cconst value="17"/> |
625 |
</eq> |
</eq> |
626 |
</condition> |
</condition> |
627 |
</datasource> |
</datasource> |
628 |
|
|
629 |
<datasource database="papo" name="alienDocumentShowDataSource" table="alien_document" |
<datasource database="papo" name="alienDocumentShowDataSource" table="alien_document" |
630 |
order_by="date"> |
order_by="date"> |
631 |
<condition> |
<condition> |
632 |
<eq> |
<eq> |
633 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
634 |
<cconst value="17"/> |
<cconst value="17"/> |
635 |
</eq> |
</eq> |
636 |
</condition> |
</condition> |
637 |
</datasource> |
</datasource> |
638 |
|
|
639 |
<datasource database="papo" detaillink="alien_item.alien_document" |
<datasource database="papo" detaillink="alien_item.alien_document" |
640 |
master="alienDocumentDataSource" masterlink="id" name="alienItemDataSource" |
master="alienDocumentDataSource" masterlink="id" name="alienItemDataSource" |
641 |
table="alien_item, alien_product_item, alien_item_tax"> |
table="alien_item, alien_product_item, alien_item_tax"> |
642 |
<condition> |
<condition> |
643 |
<and> |
<and> |
644 |
<eq> |
<eq> |
645 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
646 |
<cfield name="alien_product_item.alien_item"/> |
<cfield name="alien_product_item.alien_item"/> |
647 |
</eq> |
</eq> |
648 |
<eq> |
<eq> |
649 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
650 |
<cfield name="alien_item_tax.alien_item"/> |
<cfield name="alien_item_tax.alien_item"/> |
651 |
</eq> |
</eq> |
652 |
<eq> |
<eq> |
653 |
<cfield name="alien_item_tax.tax"/> |
<cfield name="alien_item_tax.tax"/> |
654 |
<cconst value="1"/> |
<cconst value="1"/> |
655 |
</eq> |
</eq> |
656 |
</and> |
</and> |
657 |
</condition> |
</condition> |
658 |
</datasource> |
</datasource> |
659 |
|
|
660 |
<datasource database="papo" detaillink="alien_item.alien_document" |
<datasource database="papo" name="alienItemShowDataSource" |
|
master="alienDocumentShowDataSource" masterlink="id" name="alienItemShowDataSource" |
|
661 |
table="alien_item, alien_product_item, alien_item_tax"> |
table="alien_item, alien_product_item, alien_item_tax"> |
662 |
<condition> |
<condition> |
663 |
<and> |
<and> |
664 |
<eq> |
<eq> |
665 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
666 |
<cfield name="alien_product_item.alien_item"/> |
<cfield name="alien_product_item.alien_item"/> |
667 |
</eq> |
</eq> |
668 |
<eq> |
<eq> |
669 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
670 |
<cfield name="alien_item_tax.alien_item"/> |
<cfield name="alien_item_tax.alien_item"/> |
671 |
</eq> |
</eq> |
672 |
<eq> |
<eq> |
673 |
<cfield name="alien_item_tax.tax"/> |
<cfield name="alien_item_tax.tax"/> |
674 |
<cconst value="1"/> |
<cconst value="1"/> |
675 |
</eq> |
</eq> |
676 |
</and> |
</and> |
677 |
</condition> |
</condition> |
678 |
</datasource> |
</datasource> |
699 |
</and> |
</and> |
700 |
</condition> |
</condition> |
701 |
</datasource> |
</datasource> |
702 |
|
|
703 |
<datasource name="lookUpTaxDataSource" database="papo" |
<datasource name="lookUpTaxDataSource" database="papo" |
704 |
table="product,_product_data,product_tax,_product_tax_data,tax,_tax_data"> |
table="product,_product_data,product_tax,_product_tax_data,tax,_tax_data"> |
705 |
<condition> |
<condition> |
749 |
callTrigger('searchOwnPosData') |
callTrigger('searchOwnPosData') |
750 |
#/cargo el own-pos entity id |
#/cargo el own-pos entity id |
751 |
</trigger> |
</trigger> |
|
|
|
|
<trigger name="startWaitingModeTrigger" type="NAMED"><![CDATA[ |
|
|
setStatusText("Procesando ...") |
|
|
try: |
|
|
# gnue version <= 0.4 |
|
|
from gnue.forms.GFEvent import GFEvent |
|
|
except ImportError: |
|
|
# gnue version >= 0.5 |
|
|
from gnue.common.events.Event import Event as GFEvent |
|
752 |
|
|
753 |
# busy clock |
<neb:Sub neb:src="wait.nebc"/> |
|
self._object.dispatchEvent(GFEvent('beginWAIT')) |
|
|
]]></trigger> |
|
|
|
|
|
<trigger name="endWaitingModeTrigger" type="NAMED"><![CDATA[ |
|
|
try: |
|
|
# gnue version <= 0.4 |
|
|
from gnue.forms.GFEvent import GFEvent |
|
|
except ImportError: |
|
|
# gnue version >= 0.5 |
|
|
from gnue.common.events.Event import Event as GFEvent |
|
754 |
|
|
|
self._object.dispatchEvent(GFEvent('endWAIT')) |
|
|
setStatusText("Listo") |
|
|
]]></trigger> |
|
|
|
|
755 |
<trigger name="toDayTrigger" type="NAMED"> |
<trigger name="toDayTrigger" type="NAMED"> |
756 |
alienDocumentBlock.dateEntry = alienDocumentDataSource.getTimeStamp() |
alienDocumentBlock.dateEntry = alienDocumentDataSource.getTimeStamp() |
757 |
</trigger> |
</trigger> |
758 |
|
|
759 |
<trigger name="commitTrigger" type="NAMED"> |
<trigger name="commitTrigger" type="NAMED"> |
760 |
if not alienDocumentBlock.getCurrentRecord().isInserted(): |
from gnue.common.GDataObjects import ConnectionError as DBError |
|
genericBox("No se puede grabar modificaciones",["Aceptar"]) |
|
|
elif not str(alienDocumentBlock.numberEntry): |
|
|
genericBox("Falta el número del remito",["Aceptar"]) |
|
|
elif not str(alienDocumentBlock.dateEntry): |
|
|
genericBox("Falta la fecha del remito",["Aceptar"]) |
|
|
else: |
|
|
if alienItemBlock.getRecordCount() > 0 and len(alienItemBlock.qtyEntry) > 0 and len(alienItemBlock.productEntry) > 0: |
|
|
alienDocumentBlock.idEntry.autofillBySequence('alien_document_id_seq') |
|
|
alienDocumentBlock.ownEntityIdEntry = str(ownPosBlock.ownPosEntityIdEntry) |
|
|
alienDocumentBlock.commit() |
|
|
lAlienDocId = str(alienDocumentBlock.idEntry) |
|
|
setFocus(alienDocumentBlock.dateEntry) |
|
|
alienItemToUpdBlock.initQuery() |
|
|
alienItemToUpdBlock.alienDocumentToUpdEntry = lAlienDocId |
|
|
alienItemToUpdBlock.processQuery() |
|
|
lRecordCount = alienItemToUpdBlock.getRecordCount() |
|
|
for recNum in range(lRecordCount): |
|
|
alienItemToUpdBlock.jumpRecord(recNum) |
|
|
alienItemToUpdBlock.levelEntry.atomicModify(lambda x:x+round(float(str(alienItemToUpdBlock.qtyEntry)),4)) |
|
|
alienItemToUpdBlock.clear() |
|
|
else: |
|
|
alienDocumentBlock.clear() |
|
761 |
|
|
762 |
callTrigger('rollbackTrigger') |
if alienItemBlock.getRecordCount() > 0 and len(alienItemBlock.qtyEntry) > 0 and len(alienItemBlock.productEntry) > 0: |
763 |
|
if not alienDocumentBlock.getCurrentRecord().isInserted(): |
764 |
|
genericBox("No se puede grabar modificaciones",["Aceptar"]) |
765 |
|
elif not str(alienDocumentBlock.numberEntry): |
766 |
|
genericBox("Falta el número del remito",["Aceptar"]) |
767 |
|
elif not str(alienDocumentBlock.dateEntry): |
768 |
|
genericBox("Falta la fecha del remito",["Aceptar"]) |
769 |
|
else: |
770 |
|
try: |
771 |
|
commitProgress= 0 |
772 |
|
alienDocumentBlock.ownEntityIdEntry = str(ownPosBlock.ownPosEntityIdEntry) |
773 |
|
alienDocumentBlock.postChanges () |
774 |
|
|
775 |
|
commitProgress= 1 |
776 |
|
lAlienDocId = str(alienDocumentBlock.idEntry) |
777 |
|
alienItemToUpdBlock.initQuery() |
778 |
|
alienItemToUpdBlock.alienDocumentToUpdEntry = lAlienDocId |
779 |
|
alienItemToUpdBlock.processQuery() |
780 |
|
lRecordCount = alienItemToUpdBlock.getRecordCount() |
781 |
|
for recNum in range(lRecordCount): |
782 |
|
alienItemToUpdBlock.jumpRecord(recNum) |
783 |
|
alienItemToUpdBlock.levelEntry.atomicModify(lambda x:x+round(float(str(alienItemToUpdBlock.qtyEntry)),4)) |
784 |
|
alienItemToUpdBlock.clear() |
785 |
|
|
786 |
|
commitConnection () |
787 |
|
except DBError, err: |
788 |
|
errors= ['el documento', 'los cambios de stock'] |
789 |
|
rollbackConnection () |
790 |
|
genericBox ('Hay problemas para grabar %s: %s.\nLos datos no han sido grabados.' % (errors[commitProgress], err), ['Aceptar']) |
791 |
|
else: |
792 |
|
# sure this is what we want? |
793 |
|
alienDocumentBlock.clear() |
794 |
|
|
795 |
|
callTrigger('rollbackTrigger') |
796 |
</trigger> |
</trigger> |
|
|
|
|
<trigger name="rollbackTrigger" type="NAMED"> |
|
|
for block in form._object._blockList: |
|
|
block.clear() |
|
|
#alienDocumentBlock.newRecord() |
|
|
|
|
797 |
|
|
798 |
|
<trigger name="rollbackTrigger" type="NAMED"> |
799 |
|
for block in form._object._blockList: |
800 |
|
block.clear() |
801 |
</trigger> |
</trigger> |
802 |
|
|
803 |
<trigger name="deleteTrigger" type="NAMED"> |
<trigger name="deleteTrigger" type="NAMED"> |
804 |
lAlienDocId = str(alienDocumentShowBlock.idEntry) |
from gnue.common.GDataObjects import ConnectionError as DBError |
805 |
alienItemToUpdBlock.initQuery() |
|
806 |
alienItemToUpdBlock.alienDocumentToUpdEntry = lAlienDocId |
try: |
807 |
alienItemToUpdBlock.processQuery() |
# search for the stock levels of the products |
808 |
|
lAlienDocId = str(alienDocumentShowBlock.idEntry) |
809 |
lRecordCount = alienItemToUpdBlock.getRecordCount() |
alienItemToUpdBlock.initQuery() |
810 |
for recNum in range(lRecordCount): |
alienItemToUpdBlock.alienDocumentToUpdEntry = lAlienDocId |
811 |
alienItemToUpdBlock.jumpRecord(recNum) |
alienItemToUpdBlock.processQuery() |
812 |
alienItemToUpdBlock.levelEntry.atomicModify(lambda x:x-round(float(str(alienItemToUpdBlock.qtyEntry)),4)) |
|
813 |
alienItemToUpdBlock.clear() |
commitProgress= 0 |
814 |
lRecordCount = alienItemShowBlock.getRecordCount() |
lRecordCount = alienItemToUpdBlock.getRecordCount() |
815 |
for recNum in range(lRecordCount): |
for recNum in range(lRecordCount): |
816 |
alienItemShowBlock.jumpRecord(recNum) |
alienItemToUpdBlock.jumpRecord(recNum) |
817 |
alienItemShowBlock.deleteRecord() |
alienItemToUpdBlock.levelEntry.atomicModify(lambda x:x-round(float(str(alienItemToUpdBlock.qtyEntry)),4)) |
818 |
alienItemBlock.commit() |
# atomicModify already takes care of the 'commiting' of the data, so only clear the block |
819 |
alienDocumentShowBlock.deleteRecord() |
alienItemToUpdBlock.clear() |
820 |
alienDocumentShowBlock.commit() |
|
821 |
alienDocumentShowBlock.clear() |
# go fetch the items of the document... |
822 |
|
# there's a bug somewhere that prevents us to do it w/ master/slaves. |
823 |
|
# alienItemShowBlock.initQuery() |
824 |
|
# alienItemShowBlock.alienDocumentEntry = lAlienDocId |
825 |
|
# alienItemShowBlock.processQuery() |
826 |
|
|
827 |
|
# ... and delete them all. |
828 |
|
commitProgress= 1 |
829 |
|
lRecordCount = alienItemShowBlock.getRecordCount() |
830 |
|
print "[%s] rc: %s" % (str (alienItemShowBlock.alienDocumentEntry), str (lRecordCount)) |
831 |
|
for recNum in range(lRecordCount): |
832 |
|
alienItemShowBlock.jumpRecord(recNum) |
833 |
|
alienItemShowBlock.deleteRecord() |
834 |
|
alienItemShowBlock.postChanges () |
835 |
|
|
836 |
|
# and last, delete the doc. |
837 |
|
commitProgress= 2 |
838 |
|
alienDocumentShowBlock.deleteRecord() |
839 |
|
alienDocumentShowBlock.postChanges() |
840 |
|
alienDocumentShowBlock.clear() |
841 |
|
|
842 |
|
commitConnection () |
843 |
|
except DBError, err: |
844 |
|
errors= ['los cambios de stock', 'los ítems del remito', 'los datos del remito'] |
845 |
|
rollbackConnection () |
846 |
|
genericBox ('Hay problemas para borrar %s: %s.\nLos datos no han sido borrados.' % (errors[commitProgress], err), ['Aceptar']) |
847 |
|
|
848 |
totalShowBlock.ivaEntry = "0.00" |
totalShowBlock.ivaEntry = "0.00" |
849 |
totalShowBlock.netoEntry = "0.00" |
totalShowBlock.netoEntry = "0.00" |
851 |
</trigger> |
</trigger> |
852 |
|
|
853 |
<trigger name="quitTrigger" type="NAMED"> |
<trigger name="quitTrigger" type="NAMED"> |
854 |
alienDocumentBlock.clear() |
alienDocumentBlock.clear() |
855 |
self.exit() |
self.exit() |
856 |
</trigger> |
</trigger> |
857 |
|
|
866 |
elif typeDespatchNote == 11: |
elif typeDespatchNote == 11: |
867 |
result = "C" |
result = "C" |
868 |
alienDocumentShowBlock.despatchNoteTypeEntry = result |
alienDocumentShowBlock.despatchNoteTypeEntry = result |
869 |
|
|
870 |
</trigger> |
</trigger> |
871 |
|
|
872 |
<trigger name="totalCalcShowTrigger" type="NAMED"> |
<trigger name="totalCalcShowTrigger" type="NAMED"> |
873 |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
874 |
import hack |
import hack |
875 |
|
|
876 |
|
|
877 |
lTNeto = 0 |
lTNeto = 0 |
878 |
lTTax = 0 |
lTTax = 0 |
879 |
|
|
880 |
sum = 0 |
sum = 0 |
881 |
lRecords = alienItemShowDataSource.getRecords() |
lRecords = alienItemShowDataSource.getRecords() |
882 |
for index in range(len(lRecords)): |
for index in range(len(lRecords)): |
897 |
totalShowBlock.netoEntry = "0.00" |
totalShowBlock.netoEntry = "0.00" |
898 |
totalShowBlock.ivaEntry = "0.00" |
totalShowBlock.ivaEntry = "0.00" |
899 |
totalShowBlock.totalEntry = "0.00" |
totalShowBlock.totalEntry = "0.00" |
900 |
|
|
901 |
</trigger> |
</trigger> |
902 |
|
|
903 |
<trigger name="totalCalcTrigger" type="NAMED"> |
<trigger name="totalCalcTrigger" type="NAMED"> |
904 |
import hack |
import hack |
905 |
|
|
906 |
lQty = hack.a2f(alienItemBlock.qtyEntry) |
lQty = hack.a2f(alienItemBlock.qtyEntry) |
907 |
lBonus = hack.a2f(alienItemBlock.bonusEntry) |
lBonus = hack.a2f(alienItemBlock.bonusEntry) |
908 |
lDiscount = hack.a2f(alienItemBlock.discountEntry) |
lDiscount = hack.a2f(alienItemBlock.discountEntry) |
916 |
|
|
917 |
lTNeto = 0 |
lTNeto = 0 |
918 |
lTTax = 0 |
lTTax = 0 |
919 |
|
|
920 |
sum = 0 |
sum = 0 |
921 |
lRecords = alienItemDataSource.getRecords() |
lRecords = alienItemDataSource.getRecords() |
922 |
for index in range(len(lRecords)): |
for index in range(len(lRecords)): |
951 |
resultBlock.dateREntry = str(alienDocumentSearchBlock.dateSEntry) |
resultBlock.dateREntry = str(alienDocumentSearchBlock.dateSEntry) |
952 |
resultBlock.guideNumerREntry = str(alienDocumentSearchBlock.guideNumerSEntry) |
resultBlock.guideNumerREntry = str(alienDocumentSearchBlock.guideNumerSEntry) |
953 |
resultBlock.bundlesREntry = str(alienDocumentSearchBlock.bundlesSEntry) |
resultBlock.bundlesREntry = str(alienDocumentSearchBlock.bundlesSEntry) |
954 |
|
|
955 |
resultBlock.processQuery() |
resultBlock.processQuery() |
956 |
</trigger> |
</trigger> |
957 |
|
|
959 |
genericBox("No implementado",["Aceptar"]) |
genericBox("No implementado",["Aceptar"]) |
960 |
</trigger> |
</trigger> |
961 |
|
|
|
<trigger name="okTrigger" type="NAMED"> |
|
|
|
|
|
</trigger> |
|
|
|
|
962 |
<trigger name="providerSearchPage1Trigger" type="NAMED"> |
<trigger name="providerSearchPage1Trigger" type="NAMED"> |
963 |
currentSearchIdBlock.searchId = "1" |
currentSearchIdBlock.searchId = "1" |
964 |
callTrigger('providerSearchTrigger') |
callTrigger('providerSearchTrigger') |
978 |
nameToSearch = str(alienDocumentBlock.providerNameSEntry) |
nameToSearch = str(alienDocumentBlock.providerNameSEntry) |
979 |
|
|
980 |
callTrigger('startWaitingModeTrigger') |
callTrigger('startWaitingModeTrigger') |
981 |
providerResultBlock.reset() |
providerResultBlock.reset() |
982 |
providerResultBlock.initQuery() |
providerResultBlock.initQuery() |
983 |
if codeToSearch: |
if codeToSearch: |
984 |
providerResultBlock.providerCodeEntry = codeToSearch+"%" |
providerResultBlock.providerCodeEntry = codeToSearch+"%" |
994 |
if returnValue >= 0: |
if returnValue >= 0: |
995 |
providerResultBlock.jumpRecord(returnValue) |
providerResultBlock.jumpRecord(returnValue) |
996 |
callTrigger('afterProviderSearchTrigger') |
callTrigger('afterProviderSearchTrigger') |
997 |
|
|
998 |
runForm ('providerSelect.gfd', {'data': providerResultBlock, 'callback': callback}) |
runForm ('providerSelect.gfd', {'data': providerResultBlock, 'callback': callback}) |
999 |
elif recordCount == 1: |
elif recordCount == 1: |
1000 |
providerResultBlock.jumpRecord(0) |
providerResultBlock.jumpRecord(0) |
1009 |
alienDocumentSearchBlock.providerSEntry = str(providerResultBlock.idEntry) |
alienDocumentSearchBlock.providerSEntry = str(providerResultBlock.idEntry) |
1010 |
else: |
else: |
1011 |
import hack |
import hack |
1012 |
|
|
1013 |
alienDocumentBlock.providerCodeSEntry = str(providerResultBlock.providerCodeEntry) |
alienDocumentBlock.providerCodeSEntry = str(providerResultBlock.providerCodeEntry) |
1014 |
alienDocumentBlock.providerNameSEntry = str(providerResultBlock.providerNameEntry) |
alienDocumentBlock.providerNameSEntry = str(providerResultBlock.providerNameEntry) |
1015 |
alienDocumentBlock.providerEntry = str(providerResultBlock.idEntry) |
alienDocumentBlock.providerEntry = str(providerResultBlock.idEntry) |
1047 |
if returnValue >= 0: |
if returnValue >= 0: |
1048 |
transportResultBlock.jumpRecord(returnValue) |
transportResultBlock.jumpRecord(returnValue) |
1049 |
callTrigger('afterTransportSearchTrigger') |
callTrigger('afterTransportSearchTrigger') |
1050 |
|
|
1051 |
runForm ('transportSelect.gfd', {'data': transportResultBlock, 'callback': callback}) |
runForm ('transportSelect.gfd', {'data': transportResultBlock, 'callback': callback}) |
1052 |
elif recordCount == 1: |
elif recordCount == 1: |
1053 |
transportResultBlock.jumpRecord(0) |
transportResultBlock.jumpRecord(0) |
1083 |
if returnValue >= 0: |
if returnValue >= 0: |
1084 |
productResultBlock.jumpRecord(returnValue) |
productResultBlock.jumpRecord(returnValue) |
1085 |
callTrigger('afterProductSearchTrigger') |
callTrigger('afterProductSearchTrigger') |
1086 |
|
|
1087 |
runForm ('productSelect.gfd', {'data': productResultBlock, 'callback': callback}) |
runForm ('productSelect.gfd', {'data': productResultBlock, 'callback': callback}) |
1088 |
elif recordCount == 1: |
elif recordCount == 1: |
1089 |
productResultBlock.jumpRecord(0) |
productResultBlock.jumpRecord(0) |
1116 |
alienDocumentShowBlock.clear() |
alienDocumentShowBlock.clear() |
1117 |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
1118 |
alienDocumentShowBlock.initQuery() |
alienDocumentShowBlock.initQuery() |
1119 |
alienDocumentShowBlock.idEntry = ("%s" % resultBlock.idREntry) |
alienDocumentShowBlock.idEntry = str (resultBlock.idREntry) |
1120 |
alienDocumentShowBlock.processQuery() |
alienDocumentShowBlock.processQuery() |
1121 |
|
|
1122 |
|
# they're no more a detail becasue there's a bug somewhere. please leave it alone. |
1123 |
|
alienItemShowBlock.initQuery() |
1124 |
|
alienItemShowBlock.alienDocumentEntry = str (resultBlock.idREntry) |
1125 |
|
alienItemShowBlock.processQuery() |
1126 |
|
|
1127 |
recordCount = alienItemShowBlock.getRecordCount() |
recordCount = alienItemShowBlock.getRecordCount() |
1128 |
alienItemShowBlock.firstRecord() |
alienItemShowBlock.firstRecord() |
1129 |
setParameter('despatchNoteDate',str(alienDocumentShowBlock.dateEntry)) |
setParameter('despatchNoteDate',str(alienDocumentShowBlock.dateEntry)) |
1130 |
</trigger> |
</trigger> |
1131 |
|
|
1132 |
<trigger name="providerTrigger" type="NAMED"> |
<trigger name="providerTrigger" type="NAMED"> |
1133 |
runForm('provider.gfd') |
runForm('provider.gfd') |
1134 |
</trigger> |
</trigger> |
1135 |
|
|
1136 |
<trigger name="productTrigger" type="NAMED"> |
<trigger name="productTrigger" type="NAMED"> |
1137 |
runForm('product.gfd') |
runForm('product.gfd') |
1138 |
</trigger> |
</trigger> |
1139 |
|
|
1140 |
<trigger name="lookUpTax" type="NAMED"><![CDATA[ |
<trigger name="lookUpTax" type="NAMED"><![CDATA[ |
1141 |
from hack import search |
from hack import search |
1142 |
|
|
1143 |
# do the bartman |
# do the bartman |
1144 |
search (lookUpTaxBlock, lookUpTaxBlock.searchThisProductEntry, alienItemBlock.productEntry) |
search (lookUpTaxBlock, lookUpTaxBlock.searchThisProductEntry, alienItemBlock.productEntry) |
1145 |
alienItemBlock.taxPercentEntry= lookUpTaxBlock.foundTaxEntry |
alienItemBlock.taxPercentEntry= lookUpTaxBlock.foundTaxEntry |
1149 |
|
|
1150 |
<page name="Búsqueda de Remitos de Proveedor"> |
<page name="Búsqueda de Remitos de Proveedor"> |
1151 |
<!-- <trigger type="Pre-Focusout" src="resultFocusOutTrigger"/> --> |
<!-- <trigger type="Pre-Focusout" src="resultFocusOutTrigger"/> --> |
1152 |
<box height="12" label="Remito de Productos de Proveedor" |
<box height="12" label="Remito de Productos de Proveedor" |
1153 |
name="despatchNoteSearchBox" width="107" x="0" y="0"> |
name="despatchNoteSearchBox" width="107" x="0" y="0"> |
1154 |
|
|
1155 |
<block datasource="tmpSearchDataSource" name="alienDocumentSearchBlock" restrictInsert=""> |
<block datasource="tmpSearchDataSource" name="alienDocumentSearchBlock" restrictInsert=""> |
1224 |
<label name="numberLbl" text="Número" x="1" y="8" /> |
<label name="numberLbl" text="Número" x="1" y="8" /> |
1225 |
<entry field="number" name="numberSEntry" width="20" x="1" y="9"/> |
<entry field="number" name="numberSEntry" width="20" x="1" y="9"/> |
1226 |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
1227 |
<entry field="date" name="dateSEntry" typecast="date" |
<entry field="date" name="dateSEntry" typecast="date" |
1228 |
rows="1" width="22" x="22" y="9"/> |
rows="1" width="22" x="22" y="9"/> |
1229 |
<label name="guideNumberLbl" text="Número de guía" x="45" y="8" /> |
<label name="guideNumberLbl" text="Número de guía" x="45" y="8" /> |
1230 |
<entry field="guide_number" name="guideNumerSEntry" width="20" x="45" y="9"/> |
<entry field="guide_number" name="guideNumerSEntry" width="20" x="45" y="9"/> |
1238 |
</block> |
</block> |
1239 |
</box> |
</box> |
1240 |
<neb:Sub neb:src="posDocument.nebc" ownPosBlock="ownPosBlock" |
<neb:Sub neb:src="posDocument.nebc" ownPosBlock="ownPosBlock" |
1241 |
ownPosEntityIdEntry="ownPosEntityIdEntry" searchOwnPosData="searchOwnPosData" /> |
ownPosEntityIdEntry="ownPosEntityIdEntry" searchOwnPosData="searchOwnPosData" /> |
1242 |
<box height="14" label="Remitos encontradas" name="searchResultBox" |
<box height="14" label="Remitos encontradas" name="searchResultBox" |
1243 |
width="107" x="0" y="11"> |
width="107" x="0" y="11"> |
1244 |
<block datasource="resultAlienDocumentDataSource" name="resultBlock"> |
<block datasource="resultAlienDocumentDataSource" name="resultBlock"> |
1245 |
|
|
1281 |
</box> |
</box> |
1282 |
</page> |
</page> |
1283 |
|
|
1284 |
<!-- Página de Consulta/borrado de remitos --> |
<!-- Página de Consulta/borrado de remitos --> |
1285 |
<page name="Remito de Proveedor (Consulta/borrado)"> |
<page name="Remito de Proveedor (Consulta/borrado)"> |
1286 |
<trigger type="PRE-FOCUSIN" src="resultFocusOutTrigger" /> |
<trigger type="PRE-FOCUSIN" src="resultFocusOutTrigger" /> |
1287 |
<trigger type="PRE-FOCUSIN" src="bringDespatchNoteTypeShowTrigger" /> |
<trigger type="PRE-FOCUSIN" src="bringDespatchNoteTypeShowTrigger" /> |
1288 |
<trigger type="PRE-FOCUSIN" src="totalCalcShowTrigger" /> |
<trigger type="PRE-FOCUSIN" src="totalCalcShowTrigger" /> |
1289 |
<box height="12" label="Remito de Productos de Proveedor" |
<box height="12" label="Remito de Productos de Proveedor" |
1290 |
name="despatchNoteHeaderBox" width="107" x="0" y="0"> |
name="despatchNoteHeaderBox" width="107" x="0" y="0"> |
1291 |
|
|
1292 |
<block datasource="alienDocumentShowDataSource" name="alienDocumentShowBlock" > |
<block datasource="alienDocumentShowDataSource" name="alienDocumentShowBlock" > |
1324 |
<entry field="number" name="numberEntry" width="20" x="1" y="9" style="label"/> |
<entry field="number" name="numberEntry" width="20" x="1" y="9" style="label"/> |
1325 |
|
|
1326 |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
1327 |
<entry field="date" name="dateEntry" typecast="date" |
<entry field="date" name="dateEntry" typecast="date" |
1328 |
rows="1" width="22" x="22" y="9" style="label"/> |
rows="1" width="22" x="22" y="9" style="label"/> |
1329 |
|
|
1330 |
<label name="guideNumberLbl" text="Número de guía" x="53" y="8" /> |
<label name="guideNumberLbl" text="Número de guía" x="53" y="8" /> |
1346 |
<!-- x="1" y="1"/> --> |
<!-- x="1" y="1"/> --> |
1347 |
<!-- </block> --> |
<!-- </block> --> |
1348 |
<block datasource="alienItemShowDataSource" name="alienItemShowBlock"> |
<block datasource="alienItemShowDataSource" name="alienItemShowBlock"> |
1349 |
|
|
1350 |
<entry field="alien_item.alien_document" name="alienDocumentEntry" hidden="" x="1" y="1"/> |
<entry field="alien_item.alien_document" name="alienDocumentEntry" hidden="" x="1" y="1"/> |
1351 |
|
|
1352 |
<label text="Productos a transportar" x="1" y="12"/> |
<label text="Productos a transportar" x="1" y="12"/> |
1419 |
</block> |
</block> |
1420 |
</page> |
</page> |
1421 |
|
|
1422 |
<!-- Página de carga de remitos --> |
<!-- Página de carga de remitos --> |
1423 |
<page name="Remito de Proveedor (Alta)"> |
<page name="Remito de Proveedor (Alta)"> |
1424 |
<!-- <trigger type="PRE-FOCUSIN" name="preFocusInPage3"> --> |
<!-- <trigger type="PRE-FOCUSIN" name="preFocusInPage3"> --> |
1425 |
<!-- </trigger> --> |
<!-- </trigger> --> |
1426 |
<box height="12" label="Remito de Productos de Proveedor" |
<box height="12" label="Remito de Productos de Proveedor" |
1427 |
name="despatchNoteHeaderBox" width="107" x="0" y="0"> |
name="despatchNoteHeaderBox" width="107" x="0" y="0"> |
1428 |
|
|
1429 |
<block datasource="alienDocumentDataSource" name="alienDocumentBlock" restrictInsert="t"> |
<block datasource="alienDocumentDataSource" name="alienDocumentBlock" restrictInsert="t"> |
1430 |
<!-- <trigger name="t" type="Pre-Insert"> --> |
<!-- <trigger name="t" type="Pre-Insert"> --> |
1431 |
<!-- alienDocumentBlock.idEntry.autofillBySequence('alien_document_id_seq') --> |
<!-- alienDocumentBlock.idEntry.autofillBySequence('alien_document_id_seq') --> |
1432 |
<!-- alienDocumentBlock.typeEntry = "2" --> |
<!-- alienDocumentBlock.typeEntry = "2" --> |
1433 |
<!-- </trigger> --> |
<!-- </trigger> --> |
1434 |
|
|
1435 |
<entry field="id" hidden="" name="idEntry" x="1" y="1"/> |
<entry field="id" hidden="" name="idEntry" x="1" y="1"/> |
1436 |
<entry field="alien_document_type" hidden="" name="typeEntry" default="17" x="1" y="1"/> |
<entry field="alien_document_type" hidden="" name="typeEntry" default="17" x="1" y="1"/> |
1512 |
<entry field="number" name="numberEntry" width="20" x="1" y="9"/> |
<entry field="number" name="numberEntry" width="20" x="1" y="9"/> |
1513 |
|
|
1514 |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
1515 |
<entry field="date" name="dateEntry" typecast="date" |
<entry field="date" name="dateEntry" typecast="date" |
1516 |
rows="1" width="22" x="22" y="9"/> |
rows="1" width="22" x="22" y="9"/> |
1517 |
|
|
1518 |
<button x="44" y="9" trigger="toDayTrigger" width="4" label="hoy" |
<button x="44" y="9" trigger="toDayTrigger" width="4" label="hoy" |
1519 |
name="dateBtn" height="1"/> |
name="dateBtn" height="1"/> |
1520 |
|
|
1521 |
<label name="guideNumberLbl" text="Número de guía" x="53" y="8" /> |
<label name="guideNumberLbl" text="Número de guía" x="53" y="8" /> |
1522 |
<entry field="guide_number" name="guideNumerEntry" width="20" x="53" y="9"/> |
<entry field="guide_number" name="guideNumerEntry" width="20" x="53" y="9"/> |
1523 |
|
|
1537 |
x="1" y="1"/> |
x="1" y="1"/> |
1538 |
</block> |
</block> |
1539 |
<block datasource="alienItemDataSource" name="alienItemBlock"> |
<block datasource="alienItemDataSource" name="alienItemBlock"> |
1540 |
|
|
1541 |
<entry field="alien_item.alien_document" name="alienDocumentEntry" hidden="" x="1" y="1"/> |
<entry field="alien_item.alien_document" name="alienDocumentEntry" hidden="" x="1" y="1"/> |
1542 |
|
|
1543 |
<label text="Productos a transportar" x="1" y="12"/> |
<label text="Productos a transportar" x="1" y="12"/> |
1591 |
</entry> |
</entry> |
1592 |
|
|
1593 |
<label name="itemNetoLbl" text="Neto " x="76" y="13"/> |
<label name="itemNetoLbl" text="Neto " x="76" y="13"/> |
1594 |
<entry name="itemNetoEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
<entry name="itemNetoEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
1595 |
rows="7" width="10" x="76" y="14"> |
rows="7" width="10" x="76" y="14"> |
1596 |
</entry> |
</entry> |
1597 |
|
|
1598 |
<label name="itemTotalLbl" text="Total" x="86" y="13"/> |
<label name="itemTotalLbl" text="Total" x="86" y="13"/> |
1599 |
<entry name="itemTotalEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
<entry name="itemTotalEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
1600 |
rows="7" width="10" x="86" y="14"> |
rows="7" width="10" x="86" y="14"> |
1601 |
</entry> |
</entry> |
1602 |
|
|
1636 |
</block> |
</block> |
1637 |
|
|
1638 |
<block name="providerResultBlock" datasource="providerSearchDataSource"> |
<block name="providerResultBlock" datasource="providerSearchDataSource"> |
1639 |
<entry name="idEntry" field="_entity_data.id" hidden="" x="1" y="1" width="12"/> |
<entry name="idEntry" field="_entity_data.id" hidden="" x="1" y="1" width="12"/> |
1640 |
<entry name="providerCodeEntry" field="_entity_uid_data.uid" x="1" y="1" width="12" hidden=""/> |
<entry name="providerCodeEntry" field="_entity_uid_data.uid" x="1" y="1" width="12" hidden=""/> |
1641 |
<entry name="providerNameEntry" field="_entity_data.name" x="1" y="1" width="12" hidden=""/> |
<entry name="providerNameEntry" field="_entity_data.name" x="1" y="1" width="12" hidden=""/> |
1642 |
<entry name="providerIvaTaxProfileEntry" field="_persona_tax_profile_data.tax_profile" x="1" y="1" width="12" hidden=""/> |
<entry name="providerIvaTaxProfileEntry" field="_persona_tax_profile_data.tax_profile" x="1" y="1" width="12" hidden=""/> |
1643 |
</block> |
</block> |
1644 |
<block name="transportResultBlock" datasource="providerSearchDataSource"> |
<block name="transportResultBlock" datasource="providerSearchDataSource"> |
1645 |
<entry name="idEntry" field="_entity_data.id" hidden="" x="1" y="1" width="12"/> |
<entry name="idEntry" field="_entity_data.id" hidden="" x="1" y="1" width="12"/> |
1646 |
<entry name="transportCodeEntry" field="_entity_uid_data.uid" x="1" y="1" width="12" hidden=""/> |
<entry name="transportCodeEntry" field="_entity_uid_data.uid" x="1" y="1" width="12" hidden=""/> |
1647 |
<entry name="transportNameEntry" field="_entity_data.name" x="1" y="1" width="12" hidden=""/> |
<entry name="transportNameEntry" field="_entity_data.name" x="1" y="1" width="12" hidden=""/> |
1648 |
</block> |
</block> |
1649 |
<!-- En este bloque se almacena el reultado final/real de la búsqueda para seleccion el correcto --> |
<!-- En este bloque se almacena el reultado final/real de la búsqueda para seleccion el correcto --> |
1650 |
<block name="productResultBlock" datasource="productSearchDataSource" restrictInsert="" transparentBlock=""> |
<block name="productResultBlock" datasource="productSearchDataSource" restrictInsert="" transparentBlock=""> |