274 |
<trigger name="askForChangesTrigger" type="NAMED"> |
<trigger name="askForChangesTrigger" type="NAMED"> |
275 |
import hack |
import hack |
276 |
|
|
277 |
def f(): |
hack.confirmPageChanges(self, self.clientCommitTrigger, clientBlock) |
|
creditLimit1Block.newRecord() |
|
|
creditLimit1Block.movementTypeEntry = 1 |
|
|
creditLimit1Block.creditLimitEntry = "0.0" |
|
|
clientUID_CUIT_Block.newRecord() |
|
|
clientUID_CUIT_Block.uid_CUIT_TypeEntry = 1 |
|
|
clientUID_IB_Block.newRecord() |
|
|
clientUID_IB_Block.uid_IB_TypeEntry = 2 |
|
|
clientTaxProfileBlock.newRecord() |
|
|
clientBlock.commit() |
|
|
clientBlock.jumpRecord(2) |
|
|
tmpClientId = str(clientBlock.clientIdEntry) |
|
|
clientBlock.processRollback() |
|
|
clientBlock.initQuery() |
|
|
clientBlock.clientIdEntry = tmpClientId |
|
|
clientBlock.processQuery() |
|
|
|
|
|
hack.confirmPageChanges(self, f, clientBlock, addressBlock, telephoneBlock, creditLimit1Block, |
|
|
clientUID_IB_Block, clientUID_CUIT_Block, clientTaxProfileBlock) |
|
278 |
</trigger> |
</trigger> |
279 |
|
|
280 |
<trigger name="telephoneDeleteTrigger" type="NAMED"> |
<trigger name="telephoneDeleteTrigger" type="NAMED"> |