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 |
<!-- modified database --> |
<eq> |
30 |
|
<cconst value="8"/> |
31 |
<!-- <eq> --> |
<cfield name="entity_type_uid_conf.entity_type"/> |
32 |
<!-- <cfield name="_entity_data.entity_type"/> --> |
</eq> |
|
<!-- <cfield name="entity_type_uid_conf.entity_type"/> --> |
|
|
<!-- </eq> --> |
|
|
|
|
|
<eq> |
|
|
<cconst value="8"/> |
|
|
<cfield name="entity_type_uid_conf.entity_type"/> |
|
|
</eq> |
|
|
<!-- /modified database --> |
|
33 |
<eq> |
<eq> |
34 |
<cfield name="_entity_uid_data.entity_uid_type"/> |
<cfield name="_entity_uid_data.entity_uid_type"/> |
35 |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
102 |
</and> |
</and> |
103 |
</condition> |
</condition> |
104 |
</datasource> |
</datasource> |
|
|
|
105 |
<!-- parte de multi entities --> |
<!-- parte de multi entities --> |
|
|
|
|
|
|
106 |
<datasource name="entityTypesDataSource" database="papo" |
<datasource name="entityTypesDataSource" database="papo" |
107 |
detaillink="_entity_types_data.entity" master="providerDataSource" |
detaillink="_entity_types_data.entity" master="providerDataSource" |
108 |
masterlink="entity.id" table="entity_types, _entity_types_data" historytable="_entity_types_data"> |
masterlink="entity.id" table="entity_types, _entity_types_data" historytable="_entity_types_data"> |
121 |
|
|
122 |
<!-- limite de credito --> |
<!-- limite de credito --> |
123 |
|
|
|
|
|
124 |
<datasource name="creditLimit1DataSource" database="papo" |
<datasource name="creditLimit1DataSource" database="papo" |
125 |
detaillink="_credit_limit_data.entity" master="providerDataSource" |
detaillink="_credit_limit_data.entity" master="providerDataSource" |
126 |
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"> |
246 |
</and> |
</and> |
247 |
</condition> |
</condition> |
248 |
</datasource> |
</datasource> |
|
<!-- modified database --> |
|
|
<!-- <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> --> |
|
|
<!-- /modified database --> |
|
249 |
|
|
250 |
|
|
251 |
<datasource name="printProviderDataSource" database="papo" |
<datasource name="printProviderDataSource" database="papo" |
269 |
<cfield name="_entity_data._table"/> |
<cfield name="_entity_data._table"/> |
270 |
<cfield name="_entity_uid_data.entity"/> |
<cfield name="_entity_uid_data.entity"/> |
271 |
</eq> |
</eq> |
272 |
<!-- use the configured code --> |
<eq> |
273 |
<!-- modified database --> |
<cconst value="8"/> |
274 |
<!-- <eq> --> |
<cfield name="entity_type_uid_conf.entity_type"/> |
275 |
<!-- <cfield name="_entity_data.entity_type"/> --> |
</eq> |
|
<!-- <cfield name="entity_type_uid_conf.entity_type"/> --> |
|
|
<!-- </eq> --> |
|
|
|
|
|
<eq> |
|
|
<cconst value="8"/> |
|
|
<cfield name="entity_type_uid_conf.entity_type"/> |
|
|
</eq> |
|
|
<!-- /modified database --> |
|
276 |
<eq> |
<eq> |
277 |
<cfield name="_entity_uid_data.entity_uid_type"/> |
<cfield name="_entity_uid_data.entity_uid_type"/> |
278 |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
<cfield name="entity_type_uid_conf.entity_uid_type"/> |
279 |
</eq> |
</eq> |
|
<!-- eocc: end of commented code --> |
|
280 |
<null> |
<null> |
281 |
<cfield name="_entity_data._end_t"/> |
<cfield name="_entity_data._end_t"/> |
282 |
</null> |
</null> |
307 |
</condition> |
</condition> |
308 |
</datasource> |
</datasource> |
309 |
|
|
|
<!-- modified database --> |
|
|
<!-- <datasource name="printTelephoneDataSource" --> |
|
|
<!-- database="papo" table="_telephone_data"> --> |
|
|
<!-- <condition> --> |
|
|
<!-- <and> --> |
|
|
<!-- <null> --> |
|
|
<!-- <cfield name="_telephone_data._end_t"/> --> |
|
|
<!-- </null> --> |
|
|
<!-- </and> --> |
|
|
<!-- </condition> --> |
|
|
<!-- </datasource> --> |
|
|
<!-- /modified database --> |
|
310 |
<!-- address --> |
<!-- address --> |
311 |
<datasource name="addressDataSource" |
<datasource name="addressDataSource" |
312 |
database="papo" table="address, _address_data" historytable="_address_data" |
database="papo" table="address, _address_data" historytable="_address_data" |
323 |
</and> |
</and> |
324 |
</condition> |
</condition> |
325 |
</datasource> |
</datasource> |
326 |
|
|
327 |
<datasource database="papo" name="addressTypeResultDataSource" |
<datasource database="papo" name="addressTypeResultDataSource" |
328 |
table="address_type, _address_type_data" historytable="_address_type_data"> |
table="address_type, _address_type_data" historytable="_address_type_data"> |
329 |
<condition> |
<condition> |
338 |
</and> |
</and> |
339 |
</condition> |
</condition> |
340 |
</datasource> |
</datasource> |
341 |
<!-- attribute --> |
|
342 |
|
<!-- categorias --> |
343 |
<datasource name="attributeDataSource" |
<!-- <datasource name="attributeDataSource" --> |
344 |
database="papo" table="entity_attribute, _entity_attribute_data" historytable="_entity_attribute_data" |
<!-- database="papo" table="entity_attribute, _entity_attribute_data" historytable="_entity_attribute_data" --> |
345 |
master="providerDataSource" masterlink="entity.id" detaillink="_entity_attribute_data.entity"> |
<!-- master="providerDataSource" masterlink="entity.id" detaillink="_entity_attribute_data.entity"> --> |
346 |
<condition> |
<!-- <condition> --> |
347 |
<and> |
<!-- <and> --> |
348 |
<eq> |
<!-- <eq> --> |
349 |
<cfield name="entity_attribute.id"/> |
<!-- <cfield name="entity_attribute.id"/> --> |
350 |
<cfield name="_entity_attribute_data._table"/> |
<!-- <cfield name="_entity_attribute_data._table"/> --> |
351 |
</eq> |
<!-- </eq> --> |
352 |
<null> |
<!-- <null> --> |
353 |
<cfield name="_entity_attribute_data._end_t"/> |
<!-- <cfield name="_entity_attribute_data._end_t"/> --> |
354 |
</null> |
<!-- </null> --> |
355 |
</and> |
<!-- </and> --> |
356 |
</condition> |
<!-- </condition> --> |
357 |
</datasource> |
<!-- </datasource> --> |
358 |
|
<!-- <datasource database="papo" name="categoryTypeResultDataSource" --> |
359 |
<datasource database="papo" name="categoryTypeResultDataSource" |
<!-- table="category_type, _category_type_data, _category_entity_type_data" historytable="_category_type_data"> --> |
360 |
table="category_type, _category_type_data, _category_entity_type_data" historytable="_category_type_data"> |
<!-- <condition> --> |
361 |
<condition> |
<!-- <and> --> |
362 |
<and> |
<!-- <eq> --> |
363 |
<eq> |
<!-- <cfield name="category_type.id"/> --> |
364 |
<cfield name="category_type.id"/> |
<!-- <cfield name="_category_type_data._table"/> --> |
365 |
<cfield name="_category_type_data._table"/> |
<!-- </eq> --> |
366 |
</eq> |
<!-- <eq> --> |
367 |
<!-- provider es el 8--> |
<!-- <cconst value="8"/> --> |
368 |
<eq> |
<!-- <cfield name="_category_entity_type_data.entity_type"/> --> |
369 |
<cconst value="8"/> |
<!-- </eq> --> |
370 |
<cfield name="_category_entity_type_data.entity_type"/> |
<!-- <eq> --> |
371 |
</eq> |
<!-- <cfield name="category_type.id"/> --> |
372 |
<eq> |
<!-- <cfield name="_category_entity_type_data.category_type"/> --> |
373 |
<cfield name="category_type.id"/> |
<!-- </eq> --> |
374 |
<cfield name="_category_entity_type_data.category_type"/> |
<!-- <null> --> |
375 |
</eq> |
<!-- <cfield name="_category_type_data._end_t"/> --> |
376 |
<null> |
<!-- </null> --> |
377 |
<cfield name="_category_type_data._end_t"/> |
<!-- <null> --> |
378 |
</null> |
<!-- <cfield name="_category_entity_type_data._end_t"/> --> |
379 |
<null> |
<!-- </null> --> |
380 |
<cfield name="_category_entity_type_data._end_t"/> |
<!-- </and> --> |
381 |
</null> |
<!-- </condition> --> |
382 |
</and> |
<!-- </datasource> --> |
383 |
</condition> |
|
384 |
</datasource> |
<!-- <datasource database="papo" name="categoryAtributeResultDataSource" --> |
385 |
|
<!-- table="category_attribute, _category_attribute_data" historytable="_category_attribute_data"> --> |
386 |
<datasource database="papo" name="categoryAtributeResultDataSource" |
<!-- <condition> --> |
387 |
table="category_attribute, _category_attribute_data" historytable="_category_attribute_data"> |
<!-- <and> --> |
388 |
<condition> |
<!-- <eq> --> |
389 |
<and> |
<!-- <cfield name="category_attribute.id"/> --> |
390 |
<eq> |
<!-- <cfield name="_category_attribute_data._table"/> --> |
391 |
<cfield name="category_attribute.id"/> |
<!-- </eq> --> |
392 |
<cfield name="_category_attribute_data._table"/> |
<!-- <null> --> |
393 |
</eq> |
<!-- <cfield name="_category_attribute_data._end_t"/> --> |
394 |
<null> |
<!-- </null> --> |
395 |
<cfield name="_category_attribute_data._end_t"/> |
<!-- </and> --> |
396 |
</null> |
<!-- </condition> --> |
397 |
</and> |
<!-- </datasource> --> |
398 |
</condition> |
<!-- categorias --> |
|
</datasource> |
|
399 |
|
|
400 |
<!-- TRIGGERS--> |
<!-- TRIGGERS--> |
401 |
|
|
730 |
form._object.dispatchEvent(GFEvent('endWAIT')) |
form._object.dispatchEvent(GFEvent('endWAIT')) |
731 |
]]></trigger> |
]]></trigger> |
732 |
<!-- new_schema_end --> |
<!-- new_schema_end --> |
|
<!-- categorias --> |
|
|
|
|
|
<trigger name="attributeNameSearchTrigger" type="NAMED"><![CDATA[ |
|
|
print "trigger de busqueda de nombres" |
|
|
attributeBlock.firstRecord() |
|
|
for index in range(attributeBlock.getRecordCount()): |
|
|
if str(attributeBlock.categoryAtributeIdEntry) != "": |
|
|
categoryAtributeResultBlock.processRollback() |
|
|
categoryAtributeResultBlock.initQuery() |
|
|
categoryTypeResultBlock.processRollback() |
|
|
categoryTypeResultBlock.initQuery() |
|
|
categoryAtributeResultBlock.categoryAtributeResultIdEntry= str(attributeBlock.categoryAtributeIdEntry) |
|
|
categoryAtributeResultBlock.processQuery() |
|
|
attributeBlock.categoryAtributeNameEntry= str(categoryAtributeResultBlock.categoryAtributeResultNameEntry) |
|
|
categoryTypeResultBlock.categoryTypeResultIdEntry = str(categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry) |
|
|
attributeBlock.categoryTypeIdEntry= str(categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry) |
|
|
categoryTypeResultBlock.processQuery() |
|
|
attributeBlock.categoryTypeNameEntry= str(categoryTypeResultBlock.categoryTypeResultNameEntry) |
|
|
attributeBlock.nextRecord() |
|
|
]]></trigger> |
|
|
|
|
|
<!-- pantallites de busquede category--> |
|
|
|
|
|
<trigger type="NAMED" name="callCategoryTypeTrigger"><![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 |
|
|
|
|
|
# busy clock |
|
|
form._object.dispatchEvent(GFEvent('beginWAIT')) |
|
|
setStatusText('buscando...') |
|
|
|
|
|
def setCategoryType (recNo): |
|
|
if recNo>=0: |
|
|
categoryTypeResultBlock.jumpRecord (recNo) |
|
|
attributeBlock.categoryTypeIdEntry= str(categoryTypeResultBlock.categoryTypeResultIdEntry) |
|
|
attributeBlock.categoryTypeNameEntry= str(categoryTypeResultBlock.categoryTypeResultNameEntry) |
|
|
|
|
|
# look for the name... |
|
|
categoryTypeResultBlock.processRollback () |
|
|
categoryTypeResultBlock.initQuery () |
|
|
categoryTypeResultBlock.categoryTypeResultNameEntry= str(attributeBlock.categoryTypeNameEntry)+'%' |
|
|
categoryTypeResultBlock.processQuery () |
|
|
|
|
|
# are there too much results? |
|
|
resultCount= categoryTypeResultBlock.getRecordCount () |
|
|
if resultCount>1: |
|
|
# do the select-man |
|
|
runForm ('categoryTypeSelect.gfd', { |
|
|
'data':categoryTypeResultBlock, |
|
|
'callback': setCategoryType |
|
|
}) |
|
|
elif resultCount==1: |
|
|
setCategoryType (0) |
|
|
|
|
|
setStatusText('Ok') |
|
|
form._object.dispatchEvent(GFEvent('endWAIT')) |
|
|
]]></trigger> |
|
|
|
|
|
<!-- pantallites de busquede category_attribute--> |
|
|
|
|
|
<trigger type="NAMED" name="callCategoryAtributeTrigger"><![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 |
|
733 |
|
|
734 |
# busy clock |
<!-- categorias --> |
|
form._object.dispatchEvent(GFEvent('beginWAIT')) |
|
|
setStatusText('buscando...') |
|
|
|
|
|
def setCategoryAtribute (recNo): |
|
|
if recNo>=0: |
|
|
categoryAtributeResultBlock.jumpRecord (recNo) |
|
|
attributeBlock.categoryAtributeIdEntry= str(categoryAtributeResultBlock.categoryAtributeResultIdEntry) |
|
|
attributeBlock.categoryAtributeNameEntry= str(categoryAtributeResultBlock.categoryAtributeResultNameEntry) |
|
|
|
|
|
# look for the name... |
|
|
categoryAtributeResultBlock.processRollback () |
|
|
categoryAtributeResultBlock.initQuery () |
|
|
categoryAtributeResultBlock.categoryAtributeResultNameEntry= str(attributeBlock.categoryAtributeNameEntry)+'%' |
|
|
categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry= str(attributeBlock.categoryTypeIdEntry) |
|
|
categoryAtributeResultBlock.processQuery () |
|
|
|
|
|
# are there too much results? |
|
|
resultCount= categoryAtributeResultBlock.getRecordCount () |
|
|
if resultCount>1: |
|
|
# do the select-man |
|
|
runForm ('categoryAtributeSelect.gfd', { |
|
|
'data':categoryAtributeResultBlock, |
|
|
'callback': setCategoryAtribute |
|
|
}) |
|
|
elif resultCount==1: |
|
|
setCategoryAtribute (0) |
|
|
|
|
|
setStatusText('Ok') |
|
|
form._object.dispatchEvent(GFEvent('endWAIT')) |
|
|
]]></trigger> |
|
735 |
|
|
|
<trigger name="categoryDeleteTrigger" type="NAMED"><![CDATA[ |
|
|
attributeBlock.deleteRecord() |
|
|
attributeBlock.commit() |
|
|
]]></trigger> |
|
736 |
|
|
737 |
<trigger name="categoryRollbackTrigger" type="NAMED"><![CDATA[ |
<!-- <trigger name="attributeNameSearchTrigger" type="NAMED"><![CDATA[ --> |
738 |
import hack |
<!-- print "trigger de busqueda de nombres" --> |
739 |
hack.rollback(attributeBlock) |
<!-- attributeBlock.firstRecord() --> |
740 |
]]></trigger> |
<!-- for index in range(attributeBlock.getRecordCount()): --> |
741 |
|
<!-- if str(attributeBlock.categoryAtributeIdEntry) != "": --> |
742 |
|
<!-- categoryAtributeResultBlock.processRollback() --> |
743 |
|
<!-- categoryAtributeResultBlock.initQuery() --> |
744 |
|
<!-- categoryTypeResultBlock.processRollback() --> |
745 |
|
<!-- categoryTypeResultBlock.initQuery() --> |
746 |
|
<!-- categoryAtributeResultBlock.categoryAtributeResultIdEntry= str(attributeBlock.categoryAtributeIdEntry) --> |
747 |
|
<!-- categoryAtributeResultBlock.processQuery() --> |
748 |
|
<!-- attributeBlock.categoryAtributeNameEntry= str(categoryAtributeResultBlock.categoryAtributeResultNameEntry) --> |
749 |
|
<!-- categoryTypeResultBlock.categoryTypeResultIdEntry = str(categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry) --> |
750 |
|
<!-- attributeBlock.categoryTypeIdEntry= str(categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry) --> |
751 |
|
<!-- categoryTypeResultBlock.processQuery() --> |
752 |
|
<!-- attributeBlock.categoryTypeNameEntry= str(categoryTypeResultBlock.categoryTypeResultNameEntry) --> |
753 |
|
<!-- attributeBlock.nextRecord() --> |
754 |
|
<!-- ]]></trigger> --> |
755 |
|
|
756 |
|
<!-- ### pantallites de busquede category ### --> |
757 |
|
|
758 |
|
<!-- <trigger type="NAMED" name="callCategoryTypeTrigger"><![CDATA[ --> |
759 |
|
<!-- try: --> |
760 |
|
<!-- # gnue version <= 0.4 --> |
761 |
|
<!-- from gnue.forms.GFEvent import GFEvent --> |
762 |
|
<!-- except ImportError: --> |
763 |
|
<!-- # gnue version >= 0.5 --> |
764 |
|
<!-- from gnue.common.events.Event import Event as GFEvent --> |
765 |
|
|
766 |
|
<!-- # busy clock --> |
767 |
|
<!-- form._object.dispatchEvent(GFEvent('beginWAIT')) --> |
768 |
|
<!-- setStatusText('buscando...') --> |
769 |
|
|
770 |
|
<!-- def setCategoryType (recNo): --> |
771 |
|
<!-- if recNo>=0: --> |
772 |
|
<!-- categoryTypeResultBlock.jumpRecord (recNo) --> |
773 |
|
<!-- attributeBlock.categoryTypeIdEntry= str(categoryTypeResultBlock.categoryTypeResultIdEntry) --> |
774 |
|
<!-- attributeBlock.categoryTypeNameEntry= str(categoryTypeResultBlock.categoryTypeResultNameEntry) --> |
775 |
|
|
776 |
|
<!-- # look for the name... --> |
777 |
|
<!-- categoryTypeResultBlock.processRollback () --> |
778 |
|
<!-- categoryTypeResultBlock.initQuery () --> |
779 |
|
<!-- categoryTypeResultBlock.categoryTypeResultNameEntry= str(attributeBlock.categoryTypeNameEntry)+'%' --> |
780 |
|
<!-- categoryTypeResultBlock.processQuery () --> |
781 |
|
|
782 |
|
<!-- # are there too much results? --> |
783 |
|
<!-- resultCount= categoryTypeResultBlock.getRecordCount () --> |
784 |
|
<!-- if resultCount>1: --> |
785 |
|
<!-- # do the select-man --> |
786 |
|
<!-- runForm ('categoryTypeSelect.gfd', { --> |
787 |
|
<!-- 'data':categoryTypeResultBlock, --> |
788 |
|
<!-- 'callback': setCategoryType --> |
789 |
|
<!-- }) --> |
790 |
|
<!-- elif resultCount==1: --> |
791 |
|
<!-- setCategoryType (0) --> |
792 |
|
|
793 |
|
<!-- setStatusText('Ok') --> |
794 |
|
<!-- form._object.dispatchEvent(GFEvent('endWAIT')) --> |
795 |
|
<!-- ]]></trigger> --> |
796 |
|
|
797 |
|
<!-- ### pantallites de busquede category_attribute ### --> |
798 |
|
|
799 |
|
<!-- <trigger type="NAMED" name="callCategoryAtributeTrigger"><![CDATA[ --> |
800 |
|
<!-- try: --> |
801 |
|
<!-- # gnue version <= 0.4 --> |
802 |
|
<!-- from gnue.forms.GFEvent import GFEvent --> |
803 |
|
<!-- except ImportError: --> |
804 |
|
<!-- # gnue version >= 0.5 --> |
805 |
|
<!-- from gnue.common.events.Event import Event as GFEvent --> |
806 |
|
|
807 |
|
<!-- # busy clock --> |
808 |
|
<!-- form._object.dispatchEvent(GFEvent('beginWAIT')) --> |
809 |
|
<!-- setStatusText('buscando...') --> |
810 |
|
|
811 |
|
<!-- def setCategoryAtribute (recNo): --> |
812 |
|
<!-- if recNo>=0: --> |
813 |
|
<!-- categoryAtributeResultBlock.jumpRecord (recNo) --> |
814 |
|
<!-- attributeBlock.categoryAtributeIdEntry= str(categoryAtributeResultBlock.categoryAtributeResultIdEntry) --> |
815 |
|
<!-- attributeBlock.categoryAtributeNameEntry= str(categoryAtributeResultBlock.categoryAtributeResultNameEntry) --> |
816 |
|
|
817 |
|
<!-- # look for the name... --> |
818 |
|
<!-- categoryAtributeResultBlock.processRollback () --> |
819 |
|
<!-- categoryAtributeResultBlock.initQuery () --> |
820 |
|
<!-- categoryAtributeResultBlock.categoryAtributeResultNameEntry= str(attributeBlock.categoryAtributeNameEntry)+'%' --> |
821 |
|
<!-- categoryAtributeResultBlock.categoryAtributeResultTypeIdEntry= str(attributeBlock.categoryTypeIdEntry) --> |
822 |
|
<!-- categoryAtributeResultBlock.processQuery () --> |
823 |
|
|
824 |
|
<!-- # are there too much results? --> |
825 |
|
<!-- resultCount= categoryAtributeResultBlock.getRecordCount () --> |
826 |
|
<!-- if resultCount>1: --> |
827 |
|
<!-- # do the select-man --> |
828 |
|
<!-- runForm ('categoryAtributeSelect.gfd', { --> |
829 |
|
<!-- 'data':categoryAtributeResultBlock, --> |
830 |
|
<!-- 'callback': setCategoryAtribute --> |
831 |
|
<!-- }) --> |
832 |
|
<!-- elif resultCount==1: --> |
833 |
|
<!-- setCategoryAtribute (0) --> |
834 |
|
|
835 |
|
<!-- setStatusText('Ok') --> |
836 |
|
<!-- form._object.dispatchEvent(GFEvent('endWAIT')) --> |
837 |
|
<!-- ]]></trigger> --> |
838 |
|
|
839 |
|
<!-- <trigger name="categoryDeleteTrigger" type="NAMED"><![CDATA[ --> |
840 |
|
<!-- attributeBlock.deleteRecord() --> |
841 |
|
<!-- attributeBlock.commit() --> |
842 |
|
<!-- ]]></trigger> --> |
843 |
|
<!-- <trigger name="categoryRollbackTrigger" type="NAMED"><![CDATA[ --> |
844 |
|
<!-- import hack --> |
845 |
|
<!-- hack.rollback(attributeBlock) --> |
846 |
|
<!-- ]]></trigger> --> |
847 |
|
<!-- /categorias --> |
848 |
|
|
849 |
<!-- PAGES --> |
<!-- PAGES --> |
850 |
|
|
939 |
<button x="21" y="17" trigger="providerRollbackTrigger" width="9" label="Cancelar" |
<button x="21" y="17" trigger="providerRollbackTrigger" width="9" label="Cancelar" |
940 |
name="providerRollbackBtn" height="1"/> |
name="providerRollbackBtn" height="1"/> |
941 |
</block> |
</block> |
|
|
|
|
<!-- modified database --> |
|
942 |
<!-- entity types --> |
<!-- entity types --> |
943 |
<block name="entityTypesBlock" datasource="entityTypesDataSource" > |
<block name="entityTypesBlock" datasource="entityTypesDataSource" > |
944 |
<entry name="clientEntityTypeEntry" field="_entity_types_data.entity_type" |
<entry name="clientEntityTypeEntry" field="_entity_types_data.entity_type" |
1014 |
<!-- </box> --> |
<!-- </box> --> |
1015 |
<!-- </page> --> |
<!-- </page> --> |
1016 |
|
|
1017 |
|
|
1018 |
<page name="Límites de crédito"> |
<page name="Límites de crédito"> |
1019 |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
<trigger type="Pre-Focusout" src="askForChangesTrigger"/> |
1020 |
<box label="Límites de Crédito" |
<box label="Límites de Crédito" |
1096 |
<box label="Direcciones" |
<box label="Direcciones" |
1097 |
x="0" y="5" height="15" width="84"> |
x="0" y="5" height="15" width="84"> |
1098 |
<block name="addressBlock" datasource="addressDataSource"> |
<block name="addressBlock" datasource="addressDataSource"> |
1099 |
<label text="type" x="1" y="1"/> |
<label text="type" x="1" y="1"/> |
1100 |
<label text="valor" x="27" y="1"/> |
<label text="valor" x="27" y="1"/> |
1101 |
<label text="obsevacion" x="57" y="1"/> |
<label text="obsevacion" x="57" y="1"/> |
1102 |
<entry name="addressTypeIdEntry" field="_address_data.address_type" rows="8" |
<entry name="addressTypeIdEntry" field="_address_data.address_type" rows="8" |
1103 |
x="1" y="2" width="2" hidden="" /> |
x="1" y="2" width="2" hidden="" /> |
1104 |
<entry name="addressTypeNameEntry" rows="8" |
<entry name="addressTypeNameEntry" rows="8" |
1105 |
x="1" y="2" width="20"/> |
x="1" y="2" width="20"/> |
1106 |
<entry name="addressValueEntry" field="_address_data.address" rows="8" |
<entry name="addressValueEntry" field="_address_data.address" rows="8" |
1107 |
x="30" y="2" width="30"/> |
x="30" y="2" width="30"/> |
1108 |
<entry name="addressCommentEntry" field="_address_data.comment" rows="8" |
<entry name="addressCommentEntry" field="_address_data.comment" rows="8" |
1109 |
x="60" y="2" width="20"/> |
x="60" y="2" width="20"/> |
1110 |
<scrollbar page="8" |
<scrollbar page="8" |
1111 |
x="81" y="2" width="1" height="8"/> |
x="81" y="2" width="1" height="8"/> |
1115 |
name="addressDeleteBtn" height="1"/> |
name="addressDeleteBtn" height="1"/> |
1116 |
<button x="21" y="12" trigger="addressRollbackTrigger" width="9" label="Cancelar" |
<button x="21" y="12" trigger="addressRollbackTrigger" width="9" label="Cancelar" |
1117 |
name="addressRollbackBtn" height="1"/> |
name="addressRollbackBtn" height="1"/> |
1118 |
<button x="22" y="2" trigger="callAddressTypeTrigger" width="7" label="Buscar" |
<button x="22" y="2" trigger="callAddressTypeTrigger" width="7" label="Buscar" |
1119 |
name="addressTypeBtn" height="8"/> |
name="addressTypeBtn" height="8"/> |
1120 |
</block> |
</block> |
1121 |
|
|
1122 |
<block name="addressTypeResultBlock" datasource="addressTypeResultDataSource"> |
<block name="addressTypeResultBlock" datasource="addressTypeResultDataSource"> |
1123 |
<entry name="addressTypeResultIdEntry" field="_address_type_data._table" |
<entry name="addressTypeResultIdEntry" field="_address_type_data._table" |
1124 |
x="75" y="4" width="2" hidden=""/> |
x="75" y="4" width="2" hidden=""/> |
1125 |
<entry name="addressTypeResultNameEntry" field="_address_type_data.name" |
<entry name="addressTypeResultNameEntry" field="_address_type_data.name" |
1126 |
x="78" y="4" width="20" hidden=""/> |
x="78" y="4" width="20" hidden=""/> |
1127 |
</block> |
</block> |
1128 |
</box> |
</box> |
1129 |
</page> |
</page> |
1130 |
<!-- categorias --> |
<!-- categorias --> |
1131 |
<page name="Categorias"> |
<!-- <page name="Categorias"> --> |
1132 |
<trigger type="Pre-Focusin" src="attributeNameSearchTrigger"/> |
<!-- <trigger type="Pre-Focusin" src="attributeNameSearchTrigger"/> --> |
1133 |
<!-- <trigger type="Pre-Focusout" src="askForChangesTrigger"/> --> |
<!-- <box label="Direcciones" --> |
1134 |
<box label="Direcciones" |
<!-- x="0" y="0" height="5" width="84"> --> |
1135 |
x="0" y="0" height="5" width="84"> |
<!-- <block name="categoryProviderBlock" datasource="providerDataSource"> --> |
1136 |
<block name="categoryProviderBlock" datasource="providerDataSource"> |
<!-- <label text="Nombre o Razón Social" --> |
1137 |
<label text="Nombre o Razón Social" |
<!-- x="1" y="1"/> --> |
1138 |
x="1" y="1"/> |
<!-- <entry name="categoryProviderName" field="_entity_data.name" readonly="" --> |
1139 |
<entry name="categoryProviderName" field="_entity_data.name" readonly="" |
<!-- x="1" y="2" width="40"> --> |
1140 |
x="1" y="2" width="40"> |
<!-- </entry> --> |
1141 |
</entry> |
<!-- </block> --> |
1142 |
</block> |
<!-- </box> --> |
1143 |
</box> |
<!-- <box label="Categorias" --> |
1144 |
<box label="Categorias" |
<!-- x="0" y="5" height="15" width="84"> --> |
1145 |
x="0" y="5" height="15" width="84"> |
<!-- <block name="attributeBlock" datasource="attributeDataSource"> --> |
1146 |
<block name="attributeBlock" datasource="attributeDataSource"> |
<!-- <label text="category" x="1" y="1"/> --> |
1147 |
<label text="category" x="1" y="1"/> |
<!-- <label text="attribute" x="30" y="1"/> --> |
1148 |
<label text="attribute" x="30" y="1"/> |
<!-- <entry name="categoryTypeIdEntry" rows="8" --> |
1149 |
<entry name="categoryTypeIdEntry" rows="8" |
<!-- x="1" y="2" hidden=""/> --> |
1150 |
x="1" y="2" hidden=""/> |
<!-- <entry name="categoryTypeNameEntry" rows="8" --> |
1151 |
<entry name="categoryTypeNameEntry" rows="8" |
<!-- x="1" y="2" width="20"/> --> |
1152 |
x="1" y="2" width="20"/> |
<!-- <entry name="categoryAtributeIdEntry" field="_entity_attribute_data.category_attribute" rows="8" --> |
1153 |
<entry name="categoryAtributeIdEntry" field="_entity_attribute_data.category_attribute" rows="8" |
<!-- x="23" y="2" hidden=""/> --> |
1154 |
x="23" y="2" hidden=""/> |
<!-- <entry name="categoryAtributeNameEntry" rows="8" --> |
1155 |
<entry name="categoryAtributeNameEntry" rows="8" |
<!-- x="30" y="2" width="20"/> --> |
1156 |
x="30" y="2" width="20"/> |
<!-- <scrollbar page="8" --> |
1157 |
<scrollbar page="8" |
<!-- x="60" y="2" width="1" height="8"/> --> |
1158 |
x="60" y="2" width="1" height="8"/> |
<!-- <button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" --> |
1159 |
<button x="1" y="12" trigger="commitTrigger" width="9" label="Aceptar" |
<!-- name="categoryCommitBtn" height="1"/> --> |
1160 |
name="categoryCommitBtn" height="1"/> |
<!-- <button x="11" y="12" trigger="categoryDeleteTrigger" width="9" label="Borrar" --> |
1161 |
<button x="11" y="12" trigger="categoryDeleteTrigger" width="9" label="Borrar" |
<!-- name="categoryDeleteBtn" height="1"/> --> |
1162 |
name="categoryDeleteBtn" height="1"/> |
<!-- <button x="21" y="12" trigger="categoryRollbackTrigger" width="9" label="Cancelar" --> |
1163 |
<button x="21" y="12" trigger="categoryRollbackTrigger" width="9" label="Cancelar" |
<!-- name="categoryRollbackBtn" height="1"/> --> |
1164 |
name="categoryRollbackBtn" height="1"/> |
<!-- <button x="22" y="2" trigger="callCategoryTypeTrigger" width="7" label="Buscar" --> |
1165 |
<button x="22" y="2" trigger="callCategoryTypeTrigger" width="7" label="Buscar" |
<!-- name="categoryTypeBtn" height="8"/> --> |
1166 |
name="categoryTypeBtn" height="8"/> |
<!-- <button x="51" y="2" trigger="callCategoryAtributeTrigger" width="7" label="Buscar" --> |
1167 |
<button x="51" y="2" trigger="callCategoryAtributeTrigger" width="7" label="Buscar" |
<!-- name="categoryAtributeBtn" height="8"/> --> |
1168 |
name="categoryAtributeBtn" height="8"/> |
<!-- </block> --> |
1169 |
</block> |
<!-- <block name="categoryTypeResultBlock" datasource="categoryTypeResultDataSource"> --> |
1170 |
<block name="categoryTypeResultBlock" datasource="categoryTypeResultDataSource"> |
<!-- <entry name="categoryTypeResultIdEntry" field="_category_type_data._table" --> |
1171 |
<entry name="categoryTypeResultIdEntry" field="_category_type_data._table" |
<!-- x="55" y="2" width="2" hidden=""/> --> |
1172 |
x="55" y="2" width="2" hidden=""/> |
<!-- <entry name="categoryTypeResultNameEntry" field="_category_type_data.name" --> |
1173 |
<entry name="categoryTypeResultNameEntry" field="_category_type_data.name" |
<!-- x="58" y="2" width="20" hidden=""/> --> |
1174 |
x="58" y="2" width="20" hidden=""/> |
<!-- </block> --> |
1175 |
</block> |
<!-- <block name="categoryAtributeResultBlock" datasource="categoryAtributeResultDataSource"> --> |
1176 |
<block name="categoryAtributeResultBlock" datasource="categoryAtributeResultDataSource"> |
<!-- <entry name="categoryAtributeResultIdEntry" field="_category_attribute_data._table" --> |
1177 |
<entry name="categoryAtributeResultIdEntry" field="_category_attribute_data._table" |
<!-- x="55" y="8" width="2" hidden=""/> --> |
1178 |
x="55" y="8" width="2" hidden=""/> |
<!-- <entry name="categoryAtributeResultTypeIdEntry" field="_category_attribute_data.category_type" --> |
1179 |
<entry name="categoryAtributeResultTypeIdEntry" field="_category_attribute_data.category_type" |
<!-- x="58" y="8" width="2" hidden=""/> --> |
1180 |
x="58" y="8" width="2" hidden=""/> |
<!-- <entry name="categoryAtributeResultNameEntry" field="_category_attribute_data.name" --> |
1181 |
<entry name="categoryAtributeResultNameEntry" field="_category_attribute_data.name" |
<!-- x="61" y="8" width="20" hidden=""/> --> |
1182 |
x="61" y="8" width="20" hidden=""/> |
<!-- </block> --> |
1183 |
</block> |
<!-- </box> --> |
1184 |
</box> |
<!-- </page> --> |
1185 |
</page> |
<!-- /categorias --> |
1186 |
|
|
1187 |
</form> |
</form> |
1188 |
|
|