352 |
</trigger> |
</trigger> |
353 |
|
|
354 |
<trigger name="resultFocusOutTrigger" type="NAMED"> |
<trigger name="resultFocusOutTrigger" type="NAMED"> |
355 |
|
import hack |
356 |
alienDocumentBlock.processRollback() |
alienDocumentBlock.processRollback() |
357 |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
358 |
alienDocumentBlock.initQuery() |
alienDocumentBlock.initQuery() |
359 |
alienDocumentBlock.idEntry = ("%s" % resultBlock.idREntry) |
alienDocumentBlock.idEntry = ("%s" % resultBlock.idREntry) |
360 |
alienDocumentBlock.processQuery() |
alienDocumentBlock.processQuery() |
361 |
|
recordCount = alienDocumentBlock.getRecordCount() |
362 |
|
alienDocumentBlock.firstRecord() |
363 |
|
for index in range(recordCount): |
364 |
|
alienItemBlock.taxPercentEntry = hack.a2f(alienItemBlock.taxAmountEntry) / hack.a2f(alienItemBlock.priceEntry) * 100 |
365 |
|
alienItemBlock.nextRecord() |
366 |
|
|
367 |
</trigger> |
</trigger> |
368 |
|
|
369 |
<trigger name="providerTrigger" type="NAMED"> |
<trigger name="providerTrigger" type="NAMED"> |