60 |
</condition> |
</condition> |
61 |
</datasource> |
</datasource> |
62 |
|
|
63 |
<!-- Origen de datos que sirve para dar de alta procedimientos de pago (en este caso de la factura) --> |
<!-- Origen de datos que sirve para dar de alta procedimientos de pago (en este caso de la factura) --> |
64 |
<datasource name="proceedingDataSource" database="papo" table="proceeding"/> |
<datasource name="proceedingDataSource" database="papo" table="proceeding"/> |
65 |
|
|
66 |
<!-- Origen de datos que sirve para dar de alta pagos con algun tipo de currency --> |
<!-- Origen de datos que sirve para dar de alta pagos con algun tipo de currency --> |
67 |
<datasource name="alienDocumentProceedingDataSource" database="papo" table="alien_document_proceeding"/> |
<datasource name="alienDocumentProceedingDataSource" database="papo" table="alien_document_proceeding"/> |
68 |
|
|
69 |
<!-- Origen de datos que sirve para dar de alta pagos con algun tipo de currency --> |
<!-- Origen de datos que sirve para dar de alta pagos con algun tipo de currency --> |
70 |
<datasource name="alienDocumentProceedingShowDataSource" database="papo" table="alien_document_proceeding"/> |
<datasource name="alienDocumentProceedingShowDataSource" database="papo" table="alien_document_proceeding"/> |
71 |
|
|
72 |
<!-- Origen de datos que sirve para dar de alta pagos con algun tipo de currency --> |
<!-- Origen de datos que sirve para dar de alta pagos con algun tipo de currency --> |
73 |
<datasource name="currencyMovementDataSource" database="papo" |
<datasource name="currencyMovementDataSource" database="papo" |
74 |
table="movement, currency_movement"> |
table="movement, currency_movement"> |
75 |
<condition> |
<condition> |
80 |
</condition> |
</condition> |
81 |
</datasource> |
</datasource> |
82 |
|
|
83 |
<datasource name="contactDataSource" database="papo" |
<datasource name="contactDataSource" database="papo" |
84 |
table="entity, _entity_data, alien_entity, _alien_entity_data,contact, _contact_data" |
table="entity, _entity_data, alien_entity, _alien_entity_data,contact, _contact_data" |
85 |
order_by="_entity_data.name"> |
order_by="_entity_data.name"> |
86 |
<condition> |
<condition> |
87 |
<and> |
<and> |
118 |
</condition> |
</condition> |
119 |
</datasource> |
</datasource> |
120 |
|
|
121 |
<datasource name="receivedDataSource" database="papo" |
<datasource name="receivedDataSource" database="papo" |
122 |
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"> |
123 |
<condition> |
<condition> |
124 |
<and> |
<and> |
155 |
</condition> |
</condition> |
156 |
</datasource> |
</datasource> |
157 |
|
|
158 |
<datasource name="providerSearchDataSource" database="papo" |
<datasource name="providerSearchDataSource" database="papo" |
159 |
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, |
160 |
_provider_data, entity_type_uid_conf, |
_provider_data, entity_type_uid_conf, |
161 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
162 |
<condition> |
<condition> |
163 |
<and> |
<and> |
216 |
</condition> |
</condition> |
217 |
</datasource> |
</datasource> |
218 |
|
|
219 |
<datasource name="providerUIDDataSource" database="papo" |
<datasource name="providerUIDDataSource" database="papo" |
220 |
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, |
221 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
222 |
<condition> |
<condition> |
223 |
<and> |
<and> |
242 |
<cfield name="entity_type_uid_conf.entity_type"/> |
<cfield name="entity_type_uid_conf.entity_type"/> |
243 |
</eq> |
</eq> |
244 |
<eq> |
<eq> |
245 |
<cfield name="_entity_uid_data.entity_uid_type"/> |
<cfield name="_entity_uid_data.entity_uid_type"/> |
246 |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
247 |
</eq> |
</eq> |
248 |
<null> |
<null> |
264 |
</condition> |
</condition> |
265 |
</datasource> |
</datasource> |
266 |
|
|
267 |
<datasource name="providerNameDataSource" database="papo" |
<datasource name="providerNameDataSource" database="papo" |
268 |
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, |
269 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
270 |
<condition> |
<condition> |
271 |
<and> |
<and> |
312 |
</condition> |
</condition> |
313 |
</datasource> |
</datasource> |
314 |
|
|
315 |
<datasource name="transportUIDDataSource" database="papo" |
<datasource name="transportUIDDataSource" database="papo" |
316 |
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, |
317 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
318 |
<condition> |
<condition> |
319 |
<and> |
<and> |
360 |
</condition> |
</condition> |
361 |
</datasource> |
</datasource> |
362 |
|
|
363 |
<datasource name="transportNameDataSource" database="papo" |
<datasource name="transportNameDataSource" database="papo" |
364 |
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, |
365 |
_entity_uid_data" order_by="_entity_data.name"> |
_entity_uid_data" order_by="_entity_data.name"> |
366 |
<condition> |
<condition> |
367 |
<and> |
<and> |
467 |
<!-- </condition> --> |
<!-- </condition> --> |
468 |
<!-- </datasource> --> |
<!-- </datasource> --> |
469 |
|
|
470 |
<datasource name="transportDataSource" database="papo" |
<datasource name="transportDataSource" database="papo" |
471 |
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" |
472 |
order_by="_entity_data.name"> |
order_by="_entity_data.name"> |
473 |
<condition> |
<condition> |
474 |
<and> |
<and> |
517 |
</datasource> |
</datasource> |
518 |
|
|
519 |
<!-- |
<!-- |
520 |
datasource usado para la búsqueda |
datasource usado para la búsqueda |
521 |
--> |
--> |
522 |
<datasource name="productSearchDataSource" database="papo" |
<datasource name="productSearchDataSource" database="papo" |
523 |
table=" _product_data, _product_code_data, _product_tax_data" |
table=" _product_data, _product_code_data, _product_tax_data" |
524 |
cache="15" order_by="_product_data.canonical_name"> |
cache="15" order_by="_product_data.canonical_name"> |
525 |
<condition> |
<condition> |
531 |
<eq> |
<eq> |
532 |
<cfield name="_product_data._table"/> |
<cfield name="_product_data._table"/> |
533 |
<cfield name="_product_code_data.product"/> |
<cfield name="_product_code_data.product"/> |
534 |
</eq> |
</eq> |
535 |
<!-- solamente códigos internos (id 1) --> |
<!-- solamente códigos internos (id 1) --> |
536 |
<eq> |
<eq> |
537 |
<cfield name="_product_code_data.product_code_type"/> |
<cfield name="_product_code_data.product_code_type"/> |
559 |
</condition> |
</condition> |
560 |
</datasource> |
</datasource> |
561 |
|
|
562 |
<datasource name="productUIDDataSource" database="papo" |
<datasource name="productUIDDataSource" database="papo" |
563 |
table=" _product_data, _product_code_data, _product_tax_data" |
table=" _product_data, _product_code_data, _product_tax_data" |
564 |
cache="15" order_by="_product_data.canonical_name"> |
cache="15" order_by="_product_data.canonical_name"> |
565 |
<condition> |
<condition> |
568 |
<eq> |
<eq> |
569 |
<cfield name="_product_data._table"/> |
<cfield name="_product_data._table"/> |
570 |
<cfield name="_product_code_data.product"/> |
<cfield name="_product_code_data.product"/> |
571 |
</eq> |
</eq> |
572 |
<!-- solamente códigos internos (id 1) --> |
<!-- solamente códigos internos (id 1) --> |
573 |
<eq> |
<eq> |
574 |
<cfield name="_product_code_data.product_code_type"/> |
<cfield name="_product_code_data.product_code_type"/> |
593 |
</condition> |
</condition> |
594 |
</datasource> |
</datasource> |
595 |
|
|
596 |
<datasource name="productNameDataSource" database="papo" |
<datasource name="productNameDataSource" database="papo" |
597 |
table=" _product_data, _product_code_data, _product_tax_data" |
table=" _product_data, _product_code_data, _product_tax_data" |
598 |
cache="15" order_by="_product_data.canonical_name"> |
cache="15" order_by="_product_data.canonical_name"> |
599 |
<condition> |
<condition> |
602 |
<eq> |
<eq> |
603 |
<cfield name="_product_data._table"/> |
<cfield name="_product_data._table"/> |
604 |
<cfield name="_product_code_data.product"/> |
<cfield name="_product_code_data.product"/> |
605 |
</eq> |
</eq> |
606 |
<!-- solamente códigos internos (id 1) --> |
<!-- solamente códigos internos (id 1) --> |
607 |
<eq> |
<eq> |
608 |
<cfield name="_product_code_data.product_code_type"/> |
<cfield name="_product_code_data.product_code_type"/> |
627 |
</condition> |
</condition> |
628 |
</datasource> |
</datasource> |
629 |
|
|
630 |
<datasource name="productTaxDataSource" database="papo" |
<datasource name="productTaxDataSource" database="papo" |
631 |
table=" _product_data, _product_tax_data" |
table=" _product_data, _product_tax_data" |
632 |
order_by="_product_data.canonical_name"> |
order_by="_product_data.canonical_name"> |
633 |
<condition> |
<condition> |
664 |
</condition> |
</condition> |
665 |
</datasource> |
</datasource> |
666 |
|
|
667 |
<datasource name="productDataSource" database="papo" table="_product_data" |
<datasource name="productDataSource" database="papo" table="_product_data" |
668 |
order_by="canonical_name"> |
order_by="canonical_name"> |
669 |
<condition> |
<condition> |
670 |
<null> |
<null> |
672 |
</null> |
</null> |
673 |
</condition> |
</condition> |
674 |
</datasource> |
</datasource> |
675 |
|
|
676 |
<datasource database="papo" name="resultAlienDocumentDataSource" table="alien_document" |
<datasource database="papo" name="resultAlienDocumentDataSource" table="alien_document" |
677 |
order_by="date"> |
order_by="date"> |
678 |
<condition> |
<condition> |
679 |
<or> |
<or> |
680 |
<eq> |
<eq> |
681 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
682 |
<cconst value="2"/> |
<cconst value="2"/> |
683 |
</eq> |
</eq> |
684 |
<eq> |
<eq> |
685 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
686 |
<cconst value="10"/> |
<cconst value="10"/> |
687 |
</eq> |
</eq> |
688 |
<eq> |
<eq> |
689 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
690 |
<cconst value="11"/> |
<cconst value="11"/> |
691 |
</eq> |
</eq> |
692 |
</or> |
</or> |
693 |
</condition> |
</condition> |
694 |
</datasource> |
</datasource> |
695 |
|
|
696 |
<datasource database="papo" name="alienDocumentDataSource" table="alien_document" |
<datasource database="papo" name="alienDocumentDataSource" table="alien_document" |
697 |
order_by="date"> |
order_by="date"> |
698 |
<condition> |
<condition> |
699 |
<or> |
<or> |
700 |
<eq> |
<eq> |
701 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
702 |
<cconst value="2"/> |
<cconst value="2"/> |
703 |
</eq> |
</eq> |
704 |
<eq> |
<eq> |
705 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
706 |
<cconst value="10"/> |
<cconst value="10"/> |
707 |
</eq> |
</eq> |
708 |
<eq> |
<eq> |
709 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
710 |
<cconst value="11"/> |
<cconst value="11"/> |
711 |
</eq> |
</eq> |
712 |
</or> |
</or> |
713 |
</condition> |
</condition> |
714 |
</datasource> |
</datasource> |
715 |
|
|
716 |
<datasource database="papo" name="alienDocumentShowDataSource" table="alien_document" |
<datasource database="papo" name="alienDocumentShowDataSource" table="alien_document" |
717 |
order_by="date"> |
order_by="date"> |
718 |
<condition> |
<condition> |
719 |
<or> |
<or> |
720 |
<eq> |
<eq> |
721 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
722 |
<cconst value="2"/> |
<cconst value="2"/> |
723 |
</eq> |
</eq> |
724 |
<eq> |
<eq> |
725 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
726 |
<cconst value="10"/> |
<cconst value="10"/> |
727 |
</eq> |
</eq> |
728 |
<eq> |
<eq> |
729 |
<cfield name="alien_document.alien_document_type"/> |
<cfield name="alien_document.alien_document_type"/> |
730 |
<cconst value="11"/> |
<cconst value="11"/> |
731 |
</eq> |
</eq> |
732 |
</or> |
</or> |
733 |
</condition> |
</condition> |
734 |
</datasource> |
</datasource> |
735 |
|
|
736 |
<datasource database="papo" detaillink="alien_item.alien_document" |
<datasource database="papo" detaillink="alien_item.alien_document" |
737 |
master="alienDocumentDataSource" masterlink="id" name="alienItemDataSource" |
master="alienDocumentDataSource" masterlink="id" name="alienItemDataSource" |
738 |
table="alien_item, alien_product_item, alien_item_tax"> |
table="alien_item, alien_product_item, alien_item_tax"> |
739 |
<condition> |
<condition> |
740 |
<and> |
<and> |
741 |
<eq> |
<eq> |
742 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
743 |
<cfield name="alien_product_item.alien_item"/> |
<cfield name="alien_product_item.alien_item"/> |
744 |
</eq> |
</eq> |
745 |
<eq> |
<eq> |
746 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
747 |
<cfield name="alien_item_tax.alien_item"/> |
<cfield name="alien_item_tax.alien_item"/> |
748 |
</eq> |
</eq> |
749 |
<eq> |
<eq> |
750 |
<cfield name="alien_item_tax.tax"/> |
<cfield name="alien_item_tax.tax"/> |
751 |
<cconst value="1"/> |
<cconst value="1"/> |
752 |
</eq> |
</eq> |
753 |
</and> |
</and> |
754 |
</condition> |
</condition> |
755 |
</datasource> |
</datasource> |
756 |
|
|
757 |
<datasource database="papo" detaillink="alien_item.alien_document" |
<datasource database="papo" detaillink="alien_item.alien_document" |
758 |
master="alienDocumentShowDataSource" masterlink="id" name="alienItemShowDataSource" |
master="alienDocumentShowDataSource" masterlink="id" name="alienItemShowDataSource" |
759 |
table="alien_item, alien_product_item, alien_item_tax"> |
table="alien_item, alien_product_item, alien_item_tax"> |
760 |
<condition> |
<condition> |
761 |
<and> |
<and> |
762 |
<eq> |
<eq> |
763 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
764 |
<cfield name="alien_product_item.alien_item"/> |
<cfield name="alien_product_item.alien_item"/> |
765 |
</eq> |
</eq> |
766 |
<eq> |
<eq> |
767 |
<cfield name="alien_item.id"/> |
<cfield name="alien_item.id"/> |
768 |
<cfield name="alien_item_tax.alien_item"/> |
<cfield name="alien_item_tax.alien_item"/> |
769 |
</eq> |
</eq> |
770 |
<eq> |
<eq> |
771 |
<cfield name="alien_item_tax.tax"/> |
<cfield name="alien_item_tax.tax"/> |
772 |
<cconst value="1"/> |
<cconst value="1"/> |
773 |
</eq> |
</eq> |
774 |
</and> |
</and> |
775 |
</condition> |
</condition> |
776 |
</datasource> |
</datasource> |
797 |
</and> |
</and> |
798 |
</condition> |
</condition> |
799 |
</datasource> |
</datasource> |
800 |
|
|
801 |
<datasource name="lookUpTaxDataSource" database="papo" |
<datasource name="lookUpTaxDataSource" database="papo" |
802 |
table="product,_product_data,product_tax,_product_tax_data,tax,_tax_data"> |
table="product,_product_data,product_tax,_product_tax_data,tax,_tax_data"> |
803 |
<condition> |
<condition> |
859 |
alienDocumentBlock.typeEntry = '2' |
alienDocumentBlock.typeEntry = '2' |
860 |
elif invoiceType == 'b': |
elif invoiceType == 'b': |
861 |
alienDocumentBlock.typeEntry = '10' |
alienDocumentBlock.typeEntry = '10' |
862 |
elif invoiceType == 'c': |
elif invoiceType == 'c': |
863 |
alienDocumentBlock.typeEntry = '11' |
alienDocumentBlock.typeEntry = '11' |
864 |
else: |
else: |
865 |
alienDocumentBlock.typeEntry = '' |
alienDocumentBlock.typeEntry = '' |
898 |
self._object.dispatchEvent(GFEvent('endWAIT')) |
self._object.dispatchEvent(GFEvent('endWAIT')) |
899 |
setStatusText("Listo") |
setStatusText("Listo") |
900 |
]]></trigger> |
]]></trigger> |
901 |
|
|
902 |
<trigger name="toDayTrigger" type="NAMED"> |
<trigger name="toDayTrigger" type="NAMED"> |
903 |
alienDocumentBlock.dateEntry = alienDocumentDataSource.getTimeStamp() |
alienDocumentBlock.dateEntry = alienDocumentDataSource.getTimeStamp() |
904 |
</trigger> |
</trigger> |
913 |
elif not str(alienDocumentBlock.invoiceTypeEntry): |
elif not str(alienDocumentBlock.invoiceTypeEntry): |
914 |
genericBox("Falta el tipo de factura",["Aceptar"]) |
genericBox("Falta el tipo de factura",["Aceptar"]) |
915 |
else: |
else: |
|
#if alienItemBlock.getRecordCount() > 0 and len(alienItemBlock.qtyEntry) > 0 and len(alienItemBlock.productEntry) > 0: |
|
|
proceedingBlock.clear() |
|
|
proceedingBlock.idEntry.autofillBySequence('proceeding_id_seq') |
|
|
proceedingBlock.dateEntry = proceedingDataSource.getTimeStamp() |
|
|
|
|
|
alienDocumentBlock.idEntry.autofillBySequence('alien_document_id_seq') |
|
|
#cargo el own-pos entity id |
|
|
alienDocumentBlock.ownEntityIdEntry = str(ownPosBlock.ownPosEntityIdEntry) |
|
|
#/cargo el own-pos entity id |
|
|
alienDocumentProceedingBlock.clear() |
|
|
alienDocumentProceedingBlock.proceedingEntry = str(proceedingBlock.idEntry) |
|
|
alienDocumentProceedingBlock.alienDocumentEntry = str(alienDocumentBlock.idEntry) |
|
|
alienDocumentProceedingBlock.amountEntry = str(payBlock.cashEntry) |
|
|
|
|
|
currencyMovementBlock.clear() |
|
|
currencyMovementBlock.proceedingEntry = str(proceedingBlock.idEntry) |
|
|
currencyMovementBlock.movementTypeEntry = "" # Revisar com queda esto |
|
|
currencyMovementBlock.currencyTypeEntry = "1" |
|
|
currencyMovementBlock.amountEntry = str(payBlock.cashEntry) |
|
|
|
|
916 |
from gnue.common.GDataObjects import ConnectionError as DBError |
from gnue.common.GDataObjects import ConnectionError as DBError |
917 |
try: |
try: |
918 |
postChangeAdvance = 0 |
postChangeAdvance = 0 |
919 |
alienDocumentBlock.postChanges() |
alienDocumentBlock.postChanges() |
920 |
|
|
921 |
postChangeAdvance = 1 |
postChangeAdvance = 1 |
922 |
|
proceedingBlock.clear() |
923 |
|
proceedingBlock.dateEntry = proceedingDataSource.getTimeStamp() |
924 |
proceedingBlock.postChanges() |
proceedingBlock.postChanges() |
925 |
|
|
926 |
postChangeAdvance = 2 |
postChangeAdvance = 2 |
927 |
|
#cargo el own-pos entity id |
928 |
|
alienDocumentProceedingBlock.clear() |
929 |
|
alienDocumentProceedingBlock.proceedingEntry = str(proceedingBlock.idEntry) |
930 |
|
alienDocumentProceedingBlock.alienDocumentEntry = str(alienDocumentBlock.idEntry) |
931 |
|
alienDocumentProceedingBlock.amountEntry = str(payBlock.cashEntry) |
932 |
alienDocumentProceedingBlock.postChanges() |
alienDocumentProceedingBlock.postChanges() |
933 |
|
|
934 |
postChangeAdvance = 3 |
postChangeAdvance = 3 |
935 |
|
currencyMovementBlock.clear() |
936 |
|
currencyMovementBlock.proceedingEntry = str(proceedingBlock.idEntry) |
937 |
|
currencyMovementBlock.movementTypeEntry = "" # Revisar com queda esto |
938 |
|
currencyMovementBlock.currencyTypeEntry = "1" |
939 |
|
currencyMovementBlock.amountEntry = str(payBlock.cashEntry) |
940 |
currencyMovementBlock.postChanges() |
currencyMovementBlock.postChanges() |
941 |
|
|
942 |
postChangeAdvance = 4 |
postChangeAdvance = 4 |
|
|
|
943 |
lAlienDocId = str(alienDocumentBlock.idEntry) |
lAlienDocId = str(alienDocumentBlock.idEntry) |
944 |
setFocus(alienDocumentBlock.dateEntry) |
setFocus(alienDocumentBlock.dateEntry) |
945 |
alienItemToUpdBlock.initQuery() |
alienItemToUpdBlock.initQuery() |
950 |
alienItemToUpdBlock.jumpRecord(recNum) |
alienItemToUpdBlock.jumpRecord(recNum) |
951 |
alienItemToUpdBlock.levelEntry.postAtomicModify(lambda x:x+round(float(str(alienItemToUpdBlock.qtyEntry)),4)) |
alienItemToUpdBlock.levelEntry.postAtomicModify(lambda x:x+round(float(str(alienItemToUpdBlock.qtyEntry)),4)) |
952 |
alienItemToUpdBlock.clear() |
alienItemToUpdBlock.clear() |
953 |
|
|
954 |
commitConnection() |
commitConnection() |
955 |
callTrigger('rollbackTrigger') |
callTrigger('rollbackTrigger') |
956 |
except DBError, err: |
except DBError, err: |
966 |
message += "las monedas de pago de la Factura" |
message += "las monedas de pago de la Factura" |
967 |
elif postChangeAdvance == 4: |
elif postChangeAdvance == 4: |
968 |
message += "el stock" |
message += "el stock" |
969 |
genericBox(mesagge+"\n"+str(err),['Aceptar']) |
genericBox(message+"\n"+str(err),['Aceptar']) |
970 |
#else: |
#else: |
971 |
# alienDocumentBlock.clear() |
# alienDocumentBlock.clear() |
972 |
|
|
973 |
</trigger> |
</trigger> |
974 |
|
|
975 |
<trigger name="rollbackTrigger" type="NAMED"> |
<trigger name="rollbackTrigger" type="NAMED"> |
976 |
clear() |
clear() |
977 |
#alienDocumentBlock.newRecord() |
#alienDocumentBlock.newRecord() |
978 |
|
|
979 |
|
|
980 |
</trigger> |
</trigger> |
981 |
|
|
1009 |
</trigger> |
</trigger> |
1010 |
|
|
1011 |
<trigger name="quitTrigger" type="NAMED"> |
<trigger name="quitTrigger" type="NAMED"> |
1012 |
alienDocumentBlock.clear() |
alienDocumentBlock.clear() |
1013 |
self.exit() |
self.exit() |
1014 |
</trigger> |
</trigger> |
1015 |
|
|
1024 |
elif typeInvoice == 11: |
elif typeInvoice == 11: |
1025 |
result = "C" |
result = "C" |
1026 |
alienDocumentShowBlock.invoiceTypeEntry = result |
alienDocumentShowBlock.invoiceTypeEntry = result |
1027 |
|
|
1028 |
</trigger> |
</trigger> |
1029 |
|
|
1030 |
<trigger name="totalCalcShowTrigger" type="NAMED"> |
<trigger name="totalCalcShowTrigger" type="NAMED"> |
1031 |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
1032 |
import hack |
import hack |
1033 |
|
|
1034 |
|
|
1035 |
lTNeto = 0 |
lTNeto = 0 |
1036 |
lTTax = 0 |
lTTax = 0 |
1037 |
|
|
1038 |
sum = 0 |
sum = 0 |
1039 |
lRecords = alienItemShowDataSource.getRecords() |
lRecords = alienItemShowDataSource.getRecords() |
1040 |
for index in range(len(lRecords)): |
for index in range(len(lRecords)): |
1063 |
|
|
1064 |
<trigger name="totalCalcTrigger" type="NAMED"> |
<trigger name="totalCalcTrigger" type="NAMED"> |
1065 |
import hack |
import hack |
1066 |
|
|
1067 |
#alienItemBlock.taxAmountEntry = hack.a2f(alienItemBlock.unitPriceEntry) * \ |
#alienItemBlock.taxAmountEntry = hack.a2f(alienItemBlock.unitPriceEntry) * \ |
1068 |
# hack.a2f(alienItemBlock.qtyEntry) * (hack.a2f(alienItemBlock.taxPercentEntry)/100) |
# hack.a2f(alienItemBlock.qtyEntry) * (hack.a2f(alienItemBlock.taxPercentEntry)/100) |
1069 |
|
|
1080 |
|
|
1081 |
lTNeto = 0 |
lTNeto = 0 |
1082 |
lTTax = 0 |
lTTax = 0 |
1083 |
|
|
1084 |
sum = 0 |
sum = 0 |
1085 |
lRecords = alienItemDataSource.getRecords() |
lRecords = alienItemDataSource.getRecords() |
1086 |
for index in range(len(lRecords)): |
for index in range(len(lRecords)): |
1123 |
resultBlock.dateREntry = str(alienDocumentSearchBlock.dateSEntry) |
resultBlock.dateREntry = str(alienDocumentSearchBlock.dateSEntry) |
1124 |
resultBlock.guideNumerREntry = str(alienDocumentSearchBlock.guideNumerSEntry) |
resultBlock.guideNumerREntry = str(alienDocumentSearchBlock.guideNumerSEntry) |
1125 |
resultBlock.bundlesREntry = str(alienDocumentSearchBlock.bundlesSEntry) |
resultBlock.bundlesREntry = str(alienDocumentSearchBlock.bundlesSEntry) |
1126 |
|
|
1127 |
resultBlock.processQuery() |
resultBlock.processQuery() |
1128 |
</trigger> |
</trigger> |
1129 |
|
|
1154 |
nameToSearch = str(alienDocumentBlock.providerNameSEntry) |
nameToSearch = str(alienDocumentBlock.providerNameSEntry) |
1155 |
|
|
1156 |
callTrigger('startWaitingModeTrigger') |
callTrigger('startWaitingModeTrigger') |
1157 |
providerResultBlock.reset() |
providerResultBlock.reset() |
1158 |
providerResultBlock.initQuery() |
providerResultBlock.initQuery() |
1159 |
if codeToSearch: |
if codeToSearch: |
1160 |
providerResultBlock.providerCodeEntry = codeToSearch+"%" |
providerResultBlock.providerCodeEntry = codeToSearch+"%" |
1170 |
if returnValue >= 0: |
if returnValue >= 0: |
1171 |
providerResultBlock.jumpRecord(returnValue) |
providerResultBlock.jumpRecord(returnValue) |
1172 |
callTrigger('afterProviderSearchTrigger') |
callTrigger('afterProviderSearchTrigger') |
1173 |
|
|
1174 |
runForm ('providerSelect.gfd', {'data': providerResultBlock, 'callback': callback}) |
runForm ('providerSelect.gfd', {'data': providerResultBlock, 'callback': callback}) |
1175 |
elif recordCount == 1: |
elif recordCount == 1: |
1176 |
providerResultBlock.jumpRecord(0) |
providerResultBlock.jumpRecord(0) |
1185 |
alienDocumentSearchBlock.providerSEntry = str(providerResultBlock.idEntry) |
alienDocumentSearchBlock.providerSEntry = str(providerResultBlock.idEntry) |
1186 |
else: |
else: |
1187 |
import hack |
import hack |
1188 |
|
|
1189 |
alienDocumentBlock.providerCodeSEntry = str(providerResultBlock.providerCodeEntry) |
alienDocumentBlock.providerCodeSEntry = str(providerResultBlock.providerCodeEntry) |
1190 |
alienDocumentBlock.providerNameSEntry = str(providerResultBlock.providerNameEntry) |
alienDocumentBlock.providerNameSEntry = str(providerResultBlock.providerNameEntry) |
1191 |
alienDocumentBlock.providerEntry = str(providerResultBlock.idEntry) |
alienDocumentBlock.providerEntry = str(providerResultBlock.idEntry) |
1227 |
if returnValue >= 0: |
if returnValue >= 0: |
1228 |
transportResultBlock.jumpRecord(returnValue) |
transportResultBlock.jumpRecord(returnValue) |
1229 |
callTrigger('afterTransportSearchTrigger') |
callTrigger('afterTransportSearchTrigger') |
1230 |
|
|
1231 |
runForm ('transportSelect.gfd', {'data': transportResultBlock, 'callback': callback}) |
runForm ('transportSelect.gfd', {'data': transportResultBlock, 'callback': callback}) |
1232 |
elif recordCount == 1: |
elif recordCount == 1: |
1233 |
transportResultBlock.jumpRecord(0) |
transportResultBlock.jumpRecord(0) |
1263 |
if returnValue >= 0: |
if returnValue >= 0: |
1264 |
productResultBlock.jumpRecord(returnValue) |
productResultBlock.jumpRecord(returnValue) |
1265 |
callTrigger('afterProductSearchTrigger') |
callTrigger('afterProductSearchTrigger') |
1266 |
|
|
1267 |
runForm ('productSelect.gfd', {'data': productResultBlock, 'callback': callback}) |
runForm ('productSelect.gfd', {'data': productResultBlock, 'callback': callback}) |
1268 |
elif recordCount == 1: |
elif recordCount == 1: |
1269 |
productResultBlock.jumpRecord(0) |
productResultBlock.jumpRecord(0) |
1316 |
<trigger name="productTrigger" type="NAMED"> |
<trigger name="productTrigger" type="NAMED"> |
1317 |
runForm('product.gfd') |
runForm('product.gfd') |
1318 |
</trigger> |
</trigger> |
1319 |
|
|
1320 |
<trigger name="lookUpTax" type="NAMED"><![CDATA[ |
<trigger name="lookUpTax" type="NAMED"><![CDATA[ |
1321 |
from hack import search |
from hack import search |
1322 |
|
|
1323 |
# do the bartman |
# do the bartman |
1324 |
search (lookUpTaxBlock, lookUpTaxBlock.searchThisProductEntry, alienItemBlock.productEntry) |
search (lookUpTaxBlock, lookUpTaxBlock.searchThisProductEntry, alienItemBlock.productEntry) |
1325 |
alienItemBlock.taxPercentEntry= lookUpTaxBlock.foundTaxEntry |
alienItemBlock.taxPercentEntry= lookUpTaxBlock.foundTaxEntry |
1336 |
|
|
1337 |
<page name="Búsqueda de Facturas de Proveedor"> |
<page name="Búsqueda de Facturas de Proveedor"> |
1338 |
<!-- <trigger type="Pre-Focusout" src="resultFocusOutTrigger"/> --> |
<!-- <trigger type="Pre-Focusout" src="resultFocusOutTrigger"/> --> |
1339 |
<box height="12" label="Factura de Productos de Proveedor" |
<box height="12" label="Factura de Productos de Proveedor" |
1340 |
name="invoiceSearchBox" width="107" x="0" y="0"> |
name="invoiceSearchBox" width="107" x="0" y="0"> |
1341 |
|
|
1342 |
<block datasource="tmpSearchDataSource" name="alienDocumentSearchBlock" restrictInsert=""> |
<block datasource="tmpSearchDataSource" name="alienDocumentSearchBlock" restrictInsert=""> |
1411 |
<label name="numberLbl" text="Número" x="1" y="8" /> |
<label name="numberLbl" text="Número" x="1" y="8" /> |
1412 |
<entry field="number" name="numberSEntry" width="20" x="1" y="9"/> |
<entry field="number" name="numberSEntry" width="20" x="1" y="9"/> |
1413 |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
1414 |
<entry field="date" name="dateSEntry" typecast="date" |
<entry field="date" name="dateSEntry" typecast="date" |
1415 |
rows="1" width="22" x="22" y="9"/> |
rows="1" width="22" x="22" y="9"/> |
1416 |
<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" /> |
1417 |
<entry field="guide_number" name="guideNumerSEntry" width="20" x="45" y="9"/> |
<entry field="guide_number" name="guideNumerSEntry" width="20" x="45" y="9"/> |
1425 |
</block> |
</block> |
1426 |
</box> |
</box> |
1427 |
|
|
1428 |
<box height="14" label="Facturas encontradas" name="searchResultBox" |
<box height="14" label="Facturas encontradas" name="searchResultBox" |
1429 |
width="107" x="0" y="11"> |
width="107" x="0" y="11"> |
1430 |
<block datasource="resultAlienDocumentDataSource" name="resultBlock"> |
<block datasource="resultAlienDocumentDataSource" name="resultBlock"> |
1431 |
|
|
1467 |
</box> |
</box> |
1468 |
</page> |
</page> |
1469 |
|
|
1470 |
<!-- Página de Consulta/borrado de facturas --> |
<!-- Página de Consulta/borrado de facturas --> |
1471 |
<page name="Factura de Proveedor (Consulta/borrado)"> |
<page name="Factura de Proveedor (Consulta/borrado)"> |
1472 |
<trigger type="PRE-FOCUSIN" src="resultFocusOutTrigger" /> |
<trigger type="PRE-FOCUSIN" src="resultFocusOutTrigger" /> |
1473 |
<trigger type="PRE-FOCUSIN" src="bringInvoiceTypeShowTrigger" /> |
<trigger type="PRE-FOCUSIN" src="bringInvoiceTypeShowTrigger" /> |
1474 |
<trigger type="PRE-FOCUSIN" src="totalCalcShowTrigger" /> |
<trigger type="PRE-FOCUSIN" src="totalCalcShowTrigger" /> |
1475 |
<box height="12" label="Factura de Productos de Proveedor" |
<box height="12" label="Factura de Productos de Proveedor" |
1476 |
name="invoiceHeaderBox" width="107" x="0" y="0"> |
name="invoiceHeaderBox" width="107" x="0" y="0"> |
1477 |
|
|
1478 |
<!-- Estos bloques son para la gestion del pago de la factura --> |
<!-- Estos bloques son para la gestion del pago de la factura --> |
1479 |
<block name="proceedingBlock" datasource="proceedingDataSource" transparentBlock=""> |
<block name="proceedingBlock" datasource="proceedingDataSource" transparentBlock=""> |
1480 |
<entry name="idEntry" field="id" hidden="" x="1" y="1" width="12"/> |
<entry name="idEntry" field="id" hidden="" x="1" y="1" width="12"/> |
1481 |
<entry name="dateEntry" field="date" hidden="" x="1" y="1" width="12"/> |
<entry name="dateEntry" field="date" hidden="" x="1" y="1" width="12"/> |
1482 |
</block> |
</block> |
1483 |
|
|
1484 |
<!-- Este bloque esta repetido, pero con otro nombre, porque para borrar debe hacer commit en este primero --> |
<!-- Este bloque esta repetido, pero con otro nombre, porque para borrar debe hacer commit en este primero --> |
1523 |
<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"/> |
1524 |
|
|
1525 |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
1526 |
<entry field="date" name="dateEntry" typecast="date" |
<entry field="date" name="dateEntry" typecast="date" |
1527 |
rows="1" width="22" x="22" y="9" style="label"/> |
rows="1" width="22" x="22" y="9" style="label"/> |
1528 |
|
|
1529 |
<label name="invoiceTypeLbl" text="Tipo" x="48" y="8" /> |
<label name="invoiceTypeLbl" text="Tipo" x="48" y="8" /> |
1548 |
<!-- x="1" y="1"/> --> |
<!-- x="1" y="1"/> --> |
1549 |
<!-- </block> --> |
<!-- </block> --> |
1550 |
<block datasource="alienItemShowDataSource" name="alienItemShowBlock"> |
<block datasource="alienItemShowDataSource" name="alienItemShowBlock"> |
1551 |
|
|
1552 |
<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"/> |
1553 |
|
|
1554 |
<label text="Productos a facturar" x="1" y="12"/> |
<label text="Productos a facturar" x="1" y="12"/> |
1621 |
</block> |
</block> |
1622 |
</page> |
</page> |
1623 |
|
|
1624 |
<!-- Página de carga de facturas --> |
<!-- Página de carga de facturas --> |
1625 |
<page name="Factura de Proveedor (Alta)"> |
<page name="Factura de Proveedor (Alta)"> |
1626 |
<!-- <trigger type="PRE-FOCUSIN" name="preFocusInPage3"> --> |
<!-- <trigger type="PRE-FOCUSIN" name="preFocusInPage3"> --> |
1627 |
<!-- </trigger> --> |
<!-- </trigger> --> |
1628 |
<!-- <box height="12" label="Factura de Productos de Proveedor" --> |
<!-- <box height="12" label="Factura de Productos de Proveedor" --> |
1629 |
<!-- name="invoiceHeaderBox" width="107" x="0" y="0"> --> |
<!-- name="invoiceHeaderBox" width="107" x="0" y="0"> --> |
1630 |
|
|
1631 |
<!-- Estos bloques son para la gestion del pago de la factura --> |
<!-- Estos bloques son para la gestion del pago de la factura --> |
1632 |
<block name="proceedingBlock" datasource="proceedingDataSource" transparentBlock=""> |
<block name="proceedingBlock" datasource="proceedingDataSource" transparentBlock=""> |
1633 |
<entry name="idEntry" field="id" hidden="" x="1" y="1" width="12"/> |
<entry name="idEntry" field="id" hidden="" x="1" y="1" width="12"/> |
1634 |
<entry name="dateEntry" field="date" hidden="" x="1" y="1" width="12"/> |
<entry name="dateEntry" field="date" hidden="" x="1" y="1" width="12"/> |
1635 |
</block> |
</block> |
1636 |
<!--busco own pos entityIdEntry--> |
<!--busco own pos entityIdEntry--> |
1637 |
<neb:Sub neb:src="posDocument.nebc" ownPosBlock="ownPosBlock" |
<neb:Sub neb:src="posDocument.nebc" ownPosBlock="ownPosBlock" |
1638 |
ownPosEntityIdEntry="ownPosEntityIdEntry" searchOwnPosData="searchOwnPosData" /> |
ownPosEntityIdEntry="ownPosEntityIdEntry" searchOwnPosData="searchOwnPosData" /> |
1639 |
<block datasource="alienDocumentDataSource" name="alienDocumentBlock" restrictInsert="t"> |
<block datasource="alienDocumentDataSource" name="alienDocumentBlock" restrictInsert="t"> |
1640 |
<!-- <trigger name="t" type="Pre-Insert"> --> |
<!-- <trigger name="t" type="Pre-Insert"> --> |
1641 |
<!-- alienDocumentBlock.idEntry.autofillBySequence('alien_document_id_seq') --> |
<!-- alienDocumentBlock.idEntry.autofillBySequence('alien_document_id_seq') --> |
1642 |
<!-- alienDocumentBlock.typeEntry = "2" --> |
<!-- alienDocumentBlock.typeEntry = "2" --> |
1643 |
<!-- </trigger> --> |
<!-- </trigger> --> |
1644 |
|
|
1645 |
<entry field="id" hidden="" name="idEntry" x="1" y="1"/> |
<entry field="id" hidden="" name="idEntry" x="1" y="1"/> |
1646 |
<entry field="alien_document_type" hidden="" name="typeEntry" x="1" y="1"/> |
<entry field="alien_document_type" hidden="" name="typeEntry" x="1" y="1"/> |
1724 |
<entry field="number" name="numberEntry" width="20" x="1" y="9"/> |
<entry field="number" name="numberEntry" width="20" x="1" y="9"/> |
1725 |
|
|
1726 |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
<label name="dateLbl" text="Fecha" x="22" y="8" /> |
1727 |
<entry field="date" name="dateEntry" typecast="date" |
<entry field="date" name="dateEntry" typecast="date" |
1728 |
rows="1" width="22" x="22" y="9"/> |
rows="1" width="22" x="22" y="9"/> |
1729 |
|
|
1730 |
<button x="44" y="9" trigger="toDayTrigger" width="4" label="hoy" |
<button x="44" y="9" trigger="toDayTrigger" width="4" label="hoy" |
1731 |
name="dateBtn" height="1"/> |
name="dateBtn" height="1"/> |
1732 |
|
|
1733 |
<label name="invoiceTypeLbl" text="Tipo" x="48" y="8" /> |
<label name="invoiceTypeLbl" text="Tipo" x="48" y="8" /> |
1734 |
<entry name="invoiceTypeEntry" width="4" x="48" y="9"> |
<entry name="invoiceTypeEntry" width="4" x="48" y="9"> |
1735 |
<trigger type="PRE-FOCUSOUT" src="invoiceTypeValidation"/> |
<trigger type="PRE-FOCUSOUT" src="invoiceTypeValidation"/> |
1765 |
x="1" y="1"/> |
x="1" y="1"/> |
1766 |
</block> |
</block> |
1767 |
<block datasource="alienItemDataSource" name="alienItemBlock"> |
<block datasource="alienItemDataSource" name="alienItemBlock"> |
1768 |
|
|
1769 |
<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"/> |
1770 |
|
|
1771 |
<label text="Productos a facturar" x="1" y="12"/> |
<label text="Productos a facturar" x="1" y="12"/> |
1819 |
</entry> |
</entry> |
1820 |
|
|
1821 |
<label name="itemNetoLbl" text="Neto " x="76" y="13"/> |
<label name="itemNetoLbl" text="Neto " x="76" y="13"/> |
1822 |
<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" |
1823 |
rows="7" width="10" x="76" y="14"> |
rows="7" width="10" x="76" y="14"> |
1824 |
</entry> |
</entry> |
1825 |
|
|
1826 |
<label name="itemTotalLbl" text="Total" x="87" y="13"/> |
<label name="itemTotalLbl" text="Total" x="87" y="13"/> |
1827 |
<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" |
1828 |
rows="7" width="10" x="87" y="14"> |
rows="7" width="10" x="87" y="14"> |
1829 |
</entry> |
</entry> |
1830 |
|
|
1862 |
</block> |
</block> |
1863 |
<!-- </box> --> |
<!-- </box> --> |
1864 |
|
|
1865 |
<box height="4" label="Pago de la factura" name="payBox" |
<box height="4" label="Pago de la factura" name="payBox" |
1866 |
width="107" x="0" y="23"> |
width="107" x="0" y="23"> |
1867 |
<block datasource="payDataSource" name="payBlock"> |
<block datasource="payDataSource" name="payBlock"> |
1868 |
<label text="Efectivo : " x="1" y="1"/> |
<label text="Efectivo : " x="1" y="1"/> |
1869 |
<entry name="cashEntry" x="11" y="1" width="12" typecast="number" displaymask="%0.2f" default="0.00"> |
<entry name="cashEntry" x="11" y="1" width="12" typecast="number" displaymask="%0.2f" default="0.00"> |
1870 |
<trigger type="Pre-Focusout"> |
<trigger type="Pre-Focusout"> |
1871 |
import hack |
import hack |
1872 |
payBlock.ctaCteEntry = str(hack.a2f(alienDocumentBlock.totalEntry) - hack.a2f(payBlock.cashEntry)) |
payBlock.ctaCteEntry = str(hack.a2f(alienDocumentBlock.totalEntry) - hack.a2f(payBlock.cashEntry)) |
1873 |
</trigger> |
</trigger> |
1874 |
</entry> |
</entry> |
1875 |
<label text="Cta. Cte. : " x="24" y="1"/> |
<label text="Cta. Cte. : " x="24" y="1"/> |
1876 |
<entry name="ctaCteEntry" x="35" y="1" width="12" typecast="number" displaymask="%0.2f" default="0.00"> |
<entry name="ctaCteEntry" x="35" y="1" width="12" typecast="number" displaymask="%0.2f" default="0.00"> |
1877 |
<trigger type="Pre-Focusout"> |
<trigger type="Pre-Focusout"> |
1878 |
import hack |
import hack |
1879 |
payBlock.cashEntry = str(hack.a2f(alienDocumentBlock.totalEntry) - hack.a2f(payBlock.ctaCteEntry)) |
payBlock.cashEntry = str(hack.a2f(alienDocumentBlock.totalEntry) - hack.a2f(payBlock.ctaCteEntry)) |
1887 |
</block> |
</block> |
1888 |
</box> |
</box> |
1889 |
<block name="providerResultBlock" datasource="providerSearchDataSource"> |
<block name="providerResultBlock" datasource="providerSearchDataSource"> |
1890 |
<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"/> |
1891 |
<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=""/> |
1892 |
<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=""/> |
1893 |
<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=""/> |
1894 |
</block> |
</block> |
1895 |
<block name="transportResultBlock" datasource="providerSearchDataSource"> |
<block name="transportResultBlock" datasource="providerSearchDataSource"> |
1896 |
<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"/> |
1897 |
<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=""/> |
1898 |
<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=""/> |
1899 |
</block> |
</block> |
1900 |
<!-- 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 --> |
1901 |
<block name="productResultBlock" datasource="productSearchDataSource" restrictInsert="" transparentBlock=""> |
<block name="productResultBlock" datasource="productSearchDataSource" restrictInsert="" transparentBlock=""> |