0: ownDocumentProceedingBlock.newRecord() ownDocumentProceedingBlock.proceedingEntry = str(proceedingBlock.idEntry) ownDocumentProceedingBlock.ownDocumentEntry = str(invoiceToPayedBlock.invoiceBox.idEntry) ownDocumentProceedingBlock.amountEntry = str(invoiceToPayedBlock.invoiceBox.payEntry) line = "| " line += printing.printField(invoiceToPayedBlock.invoiceBox.numberEntry,14,'r') + " | " line += printing.printField(invoiceToPayedBlock.invoiceBox.dateEntry,20,'r') + " | " line += printing.printField(invoiceToPayedBlock.invoiceBox.amountEntry,20,'r') + " | " line += printing.printField(invoiceToPayedBlock.invoiceBox.payEntry,20,'r') + " |" table.append(line) line = " " line += printing.printField(" ",14) + " " line += printing.printField(" ",20) + " " line += printing.printTitle(" ",20) + " | " line += printing.printField(invoiceToPayedBlock.invoiceBox.totalEntry,20,'r') + " | " table.append(line) ownDocumentBlock.commit() callTrigger('cancelTrigger') printing.previewPrint(table) ]]> 1: def callback (returnValue): global block if returnValue >= 0: clientResultBlock.jumpRecord(returnValue) ownDocumentBlock.clientRecipientBox.clientCodeEntry = str(clientResultBlock.uidEntry) ownDocumentBlock.clientRecipientBox.clientNameEntry = str(clientResultBlock.nameEntry) ownDocumentBlock.clientRecipientBox.clientEntry = str(clientResultBlock.idEntry) runForm ('clientSelect.gfd', {'data': clientResultBlock, 'callback': callback}) elif recordCount == 1: clientResultBlock.jumpRecord(0) ownDocumentBlock.clientRecipientBox.clientCodeEntry = str(clientResultBlock.uidEntry) ownDocumentBlock.clientRecipientBox.clientNameEntry = str(clientResultBlock.nameEntry) ownDocumentBlock.clientRecipientBox.clientEntry = str(clientResultBlock.idEntry) ]]> = 0.5 from gnue.common.events.Event import Event as GFEvent # busy clock self._object.dispatchEvent(GFEvent('beginWAIT')) ]]> = 0.5 from gnue.common.events.Event import Event as GFEvent self._object.dispatchEvent(GFEvent('endWAIT')) setStatusText("Listo") ]]>