562 |
</trigger> |
</trigger> |
563 |
|
|
564 |
<trigger name="deleteTrigger" type="NAMED"> |
<trigger name="deleteTrigger" type="NAMED"> |
565 |
if genericBox("¿ Está seguro que desea borrar ?",['Sí','No']) == 1: |
if genericBox("¿ Está seguro que desea borrar ?",['Sí','No']) == 1 and ownDocumentShowBlock.idEntry \ |
566 |
|
and len(str(ownDocumentShowBlock.idEntry).strip()): |
567 |
from gnue.common.GDataObjects import ConnectionError as DBError |
from gnue.common.GDataObjects import ConnectionError as DBError |
568 |
try: |
try: |
569 |
lOwnDocId = str(ownDocumentShowBlock.idEntry) |
lOwnDocId = str(ownDocumentShowBlock.idEntry) |
621 |
postChangeAdvance = 4 |
postChangeAdvance = 4 |
622 |
|
|
623 |
ownDocumentTaxShowBlock.initQuery() |
ownDocumentTaxShowBlock.initQuery() |
624 |
ownDocumentTaxShowBlock.ownDocumentEntry = tmpValuesDataSource.idEntry+"%" |
ownDocumentTaxShowBlock.ownDocumentEntry = tmpValuesDataSource.idEntry |
625 |
ownDocumentTaxShowBlock.processQuery() |
ownDocumentTaxShowBlock.processQuery() |
626 |
|
|
627 |
lRecordCount = ownDocumentTaxShowBlock.getRecordCount() |
lRecordCount = ownDocumentTaxShowBlock.getRecordCount() |