444 |
<datasource database="papo" name="ownDocumentTaxShowDataSource" |
<datasource database="papo" name="ownDocumentTaxShowDataSource" |
445 |
table="own_document_tax"/> |
table="own_document_tax"/> |
446 |
|
|
447 |
<datasource database="papo" name="ownDocumentClientShowDataSource" |
<datasource name="ownDocumentClientShowDataSource" database="papo" table="own_document, _entity_data as client, _entity_uid_data as cuit" detaillink="own_document.id" master="ownDocumentShowDataSource" masterlink="id" > |
448 |
table="own_document, _entity_data as client" detaillink="own_document.id" |
<condition> |
449 |
master="ownDocumentShowDataSource" masterlink="id" |
<and> |
|
order_by="date"> |
|
|
<condition> |
|
450 |
<eq> |
<eq> |
451 |
<cfield name="own_document.recipient"/> |
<cfield name="own_document.recipient"/> |
452 |
<cfield name="client.id"/> |
<cfield name="client.id"/> |
453 |
</eq> |
</eq> |
454 |
</condition> |
<eq> |
455 |
|
<cfield name="client._table"></cfield> |
456 |
|
<cfield name="_entity_uid_data.entity"></cfield> |
457 |
|
</eq> |
458 |
|
<!-- el cuit --> |
459 |
|
|
460 |
|
<eq> |
461 |
|
<cfield name="client._table"></cfield> |
462 |
|
<cfield name="cuit.entity"></cfield> |
463 |
|
</eq> |
464 |
|
<eq> |
465 |
|
<cfield name="cuit.entity_uid_type"></cfield> |
466 |
|
<cconst value="1"></cconst> |
467 |
|
</eq> |
468 |
|
<null> |
469 |
|
<cfield name="cuit._end_t"></cfield> |
470 |
|
</null> |
471 |
|
|
472 |
|
<!-- /el cuit --> |
473 |
|
<!-- eocc: end of commented code --> |
474 |
|
<null> |
475 |
|
<cfield name="client._end_t"></cfield> |
476 |
|
</null> |
477 |
|
<null> |
478 |
|
<cfield name="_entity_uid_data._end_t"></cfield> |
479 |
|
</null> |
480 |
|
</and> |
481 |
|
</condition> |
482 |
</datasource> |
</datasource> |
483 |
|
|
484 |
|
<!-- <datasource database="papo" name="ownDocumentClientShowDataSource" --> |
485 |
|
<!-- table="own_document, _entity_data as client" detaillink="own_document.id" --> |
486 |
|
<!-- master="ownDocumentShowDataSource" masterlink="id" --> |
487 |
|
<!-- order_by="date"> --> |
488 |
|
<!-- <condition> --> |
489 |
|
<!-- <eq> --> |
490 |
|
<!-- <cfield name="own_document.recipient"/> --> |
491 |
|
<!-- <cfield name="client.id"/> --> |
492 |
|
<!-- </eq> --> |
493 |
|
<!-- </condition> --> |
494 |
|
<!-- </datasource> --> |
495 |
|
|
496 |
<datasource database="papo" name="ownItemShowDataSource" |
<datasource database="papo" name="ownItemShowDataSource" |
497 |
table="own_item, own_product_item, own_item_tax"> |
table="own_item, own_product_item, own_item_tax"> |
498 |
<joinconditions> |
<joinconditions> |
977 |
|
|
978 |
|
|
979 |
<label name="resNumberLbl" text="Tipo" x="1" y="1" /> |
<label name="resNumberLbl" text="Tipo" x="1" y="1" /> |
980 |
<entry field="_document_type_data.code" name="documentTypeEntry" width="5" x="1" y="2" rows="9" readonly="y"/> |
<entry field="_document_type_data.code" name="documentTypeEntry" width="5" x="1" y="2" rows="9"/> |
981 |
<label name="resNumberLbl" text="Número" x="6" y="1" /> |
<label name="resNumberLbl" text="Número" x="6" y="1" /> |
982 |
<entry field="own_document.number" name="resNumberEntry" width="20" x="6" y="2" rows="9" readonly="y"/> |
<entry field="own_document.number" name="resNumberEntry" width="20" x="6" y="2" rows="9"/> |
983 |
<label name="resDateLbl" text="Fecha" x="26" y="1" /> |
<label name="resDateLbl" text="Fecha" x="26" y="1" /> |
984 |
<entry field="own_document.date" name="resDateEntry" typecast="date" width="22" x="26" y="2" rows="9" readonly="y"/> |
<entry field="own_document.date" name="resDateEntry" typecast="date" width="22" x="26" y="2" rows="9"/> |
985 |
<scrollbar page="9" |
<scrollbar page="9" |
986 |
x="49" y="2" width="1" height="9"/> |
x="49" y="2" width="1" height="9"/> |
987 |
|
|
1061 |
width="35" style="textlookup" foreign_key="clientNameDataSource._table" |
width="35" style="textlookup" foreign_key="clientNameDataSource._table" |
1062 |
foreign_key_description="name" > |
foreign_key_description="name" > |
1063 |
</entry> |
</entry> |
1064 |
|
<label name="clientLbl" text="CUIT" x="57" y="1" /> |
1065 |
|
<entry x="57" y="2" field="cuit.uid" name="clientCUITEntry" style="label" width="20"/> |
1066 |
|
|
1067 |
</block> |
</block> |
1068 |
</box> |
</box> |