1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2 |
<!DOCTYPE form SYSTEM "gnue-forms.dtd"> |
<!DOCTYPE form SYSTEM "gnue-forms.dtd"> |
3 |
|
|
4 |
<form width="72" height="13" title="Carga de Ordenes de Pago a Proveedores"> |
<form width="74" height="13" title="Carga de Ordenes de Pago a Proveedores"> |
5 |
|
|
6 |
<datasource name="tmpSearchDataSource" cache="1"/> |
<datasource name="tmpSearchDataSource" cache="1"/> |
7 |
|
|
231 |
invoiceTotal += hack.a2f(odt_rs.current.getField("alien_document_tax.amount")) |
invoiceTotal += hack.a2f(odt_rs.current.getField("alien_document_tax.amount")) |
232 |
odt_more = odt_rs.nextRecord() |
odt_more = odt_rs.nextRecord() |
233 |
|
|
234 |
|
tmpInvToPayedBlock.numberEntry = str(productInvoiceResultSet.current.getField("alien_document.number")) |
235 |
tmpInvToPayedBlock.dateEntry = str(productInvoiceResultSet.current.getField("alien_document.date")) |
tmpInvToPayedBlock.dateEntry = str(productInvoiceResultSet.current.getField("alien_document.date")) |
236 |
tmpInvToPayedBlock.amountEntry = str(invoiceTotal) |
tmpInvToPayedBlock.amountEntry = str(invoiceTotal) |
237 |
tmpInvToPayedBlock.payedEntry = "0.0" |
tmpInvToPayedBlock.payedEntry = "0.0" |
264 |
odt_more = odt_rs.nextRecord() |
odt_more = odt_rs.nextRecord() |
265 |
|
|
266 |
tmpInvToPayedBlock.dateEntry = str(serviceInvoiceResultSet.current.getField("alien_document.date")) |
tmpInvToPayedBlock.dateEntry = str(serviceInvoiceResultSet.current.getField("alien_document.date")) |
267 |
|
tmpInvToPayedBlock.numberEntry = str(serviceInvoiceResultSet.current.getField("alien_document.number")) |
268 |
tmpInvToPayedBlock.amountEntry = str(invoiceTotal) |
tmpInvToPayedBlock.amountEntry = str(invoiceTotal) |
269 |
tmpInvToPayedBlock.payedEntry = "0.0" |
tmpInvToPayedBlock.payedEntry = "0.0" |
270 |
tmpInvToPayedBlock.newRecord() |
tmpInvToPayedBlock.newRecord() |
287 |
tmpInvToPayedBlock.jumpRecord(recNum) |
tmpInvToPayedBlock.jumpRecord(recNum) |
288 |
if hack.a2f(tmpInvToPayedBlock.payedEntry) < hack.a2f(tmpInvToPayedBlock.amountEntry): |
if hack.a2f(tmpInvToPayedBlock.payedEntry) < hack.a2f(tmpInvToPayedBlock.amountEntry): |
289 |
invoiceToPayBlock.invoiceBox.idEntry = str(tmpInvToPayedBlock.idEntry) |
invoiceToPayBlock.invoiceBox.idEntry = str(tmpInvToPayedBlock.idEntry) |
290 |
|
invoiceToPayBlock.invoiceBox.numberEntry = str(tmpInvToPayedBlock.numberEntry) |
291 |
invoiceToPayBlock.invoiceBox.dateEntry = str(tmpInvToPayedBlock.dateEntry) |
invoiceToPayBlock.invoiceBox.dateEntry = str(tmpInvToPayedBlock.dateEntry) |
292 |
invoiceToPayBlock.invoiceBox.amountEntry = str(tmpInvToPayedBlock.amountEntry) |
invoiceToPayBlock.invoiceBox.amountEntry = str(tmpInvToPayedBlock.amountEntry) |
293 |
invoiceToPayBlock.invoiceBox.payedEntry = str(tmpInvToPayedBlock.payedEntry) |
invoiceToPayBlock.invoiceBox.payedEntry = str(tmpInvToPayedBlock.payedEntry) |
357 |
<block datasource="alienDocumentDataSource" name="alienDocumentSearchBlock" restrictInsert=""> |
<block datasource="alienDocumentDataSource" name="alienDocumentSearchBlock" restrictInsert=""> |
358 |
|
|
359 |
<box height="4" label="Proveedores" |
<box height="4" label="Proveedores" |
360 |
name="providerSearchBox" width="70" x="1" y="0"> |
name="providerSearchBox" width="72" x="1" y="0"> |
361 |
|
|
362 |
<entry field="id" hidden="" name="idEntry" x="1" y="1"/> |
<entry field="id" hidden="" name="idEntry" x="1" y="1"/> |
363 |
<entry field="alien_document_type" hidden="" name="typeEntry" x="1" y="1"/> |
<entry field="alien_document_type" hidden="" name="typeEntry" x="1" y="1"/> |
376 |
|
|
377 |
<block name="tmpInvToPayedBlock" datasource="tmpInvToPayDataSource"> |
<block name="tmpInvToPayedBlock" datasource="tmpInvToPayDataSource"> |
378 |
<entry name="idEntry" field="id" hidden="" x="1" y="1" width="1" /> |
<entry name="idEntry" field="id" hidden="" x="1" y="1" width="1" /> |
379 |
|
<entry name="numberEntry" field="number" hidden="" x="1" y="1" width="1" /> |
380 |
<entry name="dateEntry" field="date" hidden="" x="1" y="1" width="1"/> |
<entry name="dateEntry" field="date" hidden="" x="1" y="1" width="1"/> |
381 |
<entry name="amountEntry" field="amount" hidden="" x="1" y="1" width="1"/> |
<entry name="amountEntry" field="amount" hidden="" x="1" y="1" width="1"/> |
382 |
<entry name="payedEntry" field="payed" hidden="" x="1" y="1" width="1"/> |
<entry name="payedEntry" field="payed" hidden="" x="1" y="1" width="1"/> |
384 |
|
|
385 |
<block name="invoiceToPayBlock" datasource="invoiceToPayDataSource"> |
<block name="invoiceToPayBlock" datasource="invoiceToPayDataSource"> |
386 |
<box height="12" label="Facturas A Pagar" name="invoiceBox" |
<box height="12" label="Facturas A Pagar" name="invoiceBox" |
387 |
width="70" x="1" y="4"> |
width="72" x="1" y="4"> |
388 |
<label name="dateLbl" text="Fecha" x="1" y="1"/> |
<label name="numberLbl" text="Numero" x="1" y="1"/> |
389 |
<label name="amountLbl" text="Monto" x="13" y="1"/> |
<label name="dateLbl" text="Fecha" x="12" y="1"/> |
390 |
<label name="payedLbl" text="Pagado" x="24" y="1"/> |
<label name="amountLbl" text="Monto" x="23" y="1"/> |
391 |
<label name="payLbl" text="A Pagar" x="35" y="1"/> |
<label name="payedLbl" text="Pagado" x="34" y="1"/> |
392 |
|
<label name="payLbl" text="A Pagar" x="45" y="1"/> |
393 |
|
|
394 |
<entry name="idEntry" field="id" style="label" hidden="" rows="8" x="1" y="2" width="1" /> |
<entry name="idEntry" field="id" style="label" hidden="" rows="8" x="1" y="2" width="1" /> |
395 |
|
<entry name="numberEntry" field="number" style="label" rows="8" |
396 |
|
x="1" y="2" width="10" readonly=""/> |
397 |
<entry name="dateEntry" field="date" style="label" rows="8" |
<entry name="dateEntry" field="date" style="label" rows="8" |
398 |
x="1" y="2" width="11" readonly=""/> |
x="12" y="2" width="11" readonly=""/> |
399 |
<entry name="amountEntry" field="amount" style="label" rows="8" |
<entry name="amountEntry" field="amount" style="label" rows="8" |
400 |
x="13" y="2" width="10" readonly=""/> |
x="23" y="2" width="10" readonly=""/> |
401 |
<entry name="payedEntry" field="payed" style="label" rows="8" |
<entry name="payedEntry" field="payed" style="label" rows="8" |
402 |
x="24" y="2" width="10" readonly=""/> |
x="34" y="2" width="10" readonly=""/> |
403 |
<entry name="payEntry" field="pay" rows="8" x="35" y="2" width="10"> |
<entry name="payEntry" field="pay" rows="8" x="45" y="2" width="10"> |
404 |
<trigger type="PRE-FOCUSOUT" src="totalTrigger"/> |
<trigger type="PRE-FOCUSOUT" src="totalTrigger"/> |
405 |
</entry> |
</entry> |
406 |
<scrollbar page="2" x="46" y="2" width="1" height="8"/> |
<scrollbar page="2" x="56" y="2" width="1" height="8"/> |
407 |
|
|
408 |
<label name="totalLbl" text="Total a Pagar" x="49" y="5"/> |
<label name="totalLbl" text="Total a Pagar" x="59" y="5"/> |
409 |
<entry name="totalEntry" field="total" x="49" y="6" width="10" readonly=""/> |
<entry name="totalEntry" field="total" x="59" y="6" width="10" readonly=""/> |
410 |
|
|
411 |
<button name="acceptButton" trigger="acceptTrigger" label="Aceptar" |
<button name="acceptButton" trigger="acceptTrigger" label="Aceptar" |
412 |
width="10" height="1" x="49" y="8"/> |
width="10" height="1" x="59" y="8"/> |
413 |
<button name="cancelButton" trigger="cancelTrigger" label="Cancelar" |
<button name="cancelButton" trigger="cancelTrigger" label="Cancelar" |
414 |
width="10" height="1" x="49" y="9"/> |
width="10" height="1" x="59" y="9"/> |
415 |
</box> |
</box> |
416 |
</block> |
</block> |
417 |
|
|