/[papo]/papo/report/despatchNote-13.grd
ViewVC logotype

Diff of /papo/report/despatchNote-13.grd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by styxman, Thu Jun 26 21:12:22 2003 UTC revision 1.5 by mhepp, Thu Jul 24 17:03:21 2003 UTC
# Line 14  Line 14 
14          <null> <cfield name="_entity_data._end_t"/> </null>          <null> <cfield name="_entity_data._end_t"/> </null>
15          <eq> <cfield name="_entity_data._table"/> <cfield name="_own_entity_data.entity"/> </eq>          <eq> <cfield name="_entity_data._table"/> <cfield name="_own_entity_data.entity"/> </eq>
16          <null> <cfield name="_own_entity_data._end_t"/> </null>          <null> <cfield name="_own_entity_data._end_t"/> </null>
17          <eq> <cfield name="_own_entity_data._table"/> <cfield name="_organization_data.own_entity"/> </eq>          <eq> <cfield name="_own_entity_data._table"/> <cfield
18          name="_organization_data.own_entity"/>
19            </eq>
20          <null> <cfield name="_organization_data._end_t"/> </null>          <null> <cfield name="_organization_data._end_t"/> </null>
21          <!-- su cuit -->          <!--  cuit -->
22          <eq> <cfield name="_entity_uid_data.entity"/> <cfield name="_entity_data._table"/> </eq>          <eq> <cfield name="_entity_uid_data.entity"/> <cfield name="_entity_data._table"/> </eq>
23          <null> <cfield name="_entity_uid_data._end_t"/> </null>          <null> <cfield name="_entity_uid_data._end_t"/> </null>
24          <eq> <cfield name="_entity_uid_data.entity_uid_type"/> <cconst value="1"/> </eq> <!-- 1 means CUIT -->          <eq> <cfield name="_entity_uid_data.entity_uid_type"/> <cconst value="1"/> </eq> <!-- 1 means CUIT -->
25          <!-- su condicion de IVA -->          <!--  condicion de IVA -->
26          <eq> <cfield name="_persona_tax_profile_data.persona"/> <cfield name="_entity_data._table"/> </eq>          
27          <eq> <cfield name="_persona_tax_profile_data.tax_profile"/> <cfield name="_tax_profile_data._table"/> </eq>            <eq>
28        </and> </condition>              <cfield name="_persona_tax_profile_data.persona"/>
29                <cfield name="_entity_data._table"/>
30              </eq>
31              <null>
32                <cfield name="_persona_tax_profile_data._end_t"/>
33              </null>
34              <eq>
35                <cfield name="_persona_tax_profile_data.tax_profile"/>
36                <cfield name="_tax_profile_data._table"/>
37              </eq>
38              <eq>
39                <cfield name="_tax_profile_data.tax"/>
40                <cconst value="1"/>
41              </eq>
42              <null>
43                <cfield name="_tax_profile_data._end_t"/>
44              </null>
45            </and>
46          </condition>
47      </datasource>      </datasource>
48    
49      <datasource name="productInvoicesDataSource" database="papo"      <datasource name="productInvoicesDataSource" database="papo"
# Line 43  Line 63 
63            <eq> <cfield name="_entity_uid_data.entity"/> <cfield name="_entity_data._table"/> </eq>            <eq> <cfield name="_entity_uid_data.entity"/> <cfield name="_entity_data._table"/> </eq>
64            <eq> <cfield name="_entity_uid_data.entity_uid_type"/> <cconst value="1"/> </eq> <!-- 1 means CUIT -->            <eq> <cfield name="_entity_uid_data.entity_uid_type"/> <cconst value="1"/> </eq> <!-- 1 means CUIT -->
65            <!-- su condicion de IVA -->            <!-- su condicion de IVA -->
66            <eq> <cfield name="_persona_tax_profile_data.persona"/> <cfield name="_entity_data._table"/> </eq>            <eq>
67            <eq> <cfield name="_persona_tax_profile_data.tax_profile"/> <cfield name="_tax_profile_data._table"/> </eq>              <cfield name="_persona_tax_profile_data.persona"/>
68                <cfield name="_entity_data._table"/>
69              </eq>
70              <eq>
71                <cfield name="_persona_tax_profile_data.tax_profile"/>
72                <cfield name="_tax_profile_data._table"/>
73              </eq>
74              <eq>
75                <cfield name="_tax_profile_data.tax"/>
76                <cconst value="1"/>
77              </eq>
78            <!-- the following conditions try to locate the client data in the time the invoice was issued -->            <!-- the following conditions try to locate the client data in the time the invoice was issued -->
79            <lt> <cfield name="_entity_data._start_t"/> <cfield name="own_document.date"/> </lt>            <lt> <cfield name="_entity_data._start_t"/> <cfield name="own_document.date"/> </lt>
80            <or>            <or>
# Line 147  Line 176 
176      </datasource>      </datasource>
177    
178      <datasource name="invoiceItemsDataSource" database="papo"      <datasource name="invoiceItemsDataSource" database="papo"
179        table="own_document, own_item, own_product_item, own_item_tax, _price_data, _product_data"        table="own_document, own_item, own_product_item, _price_data, _product_data"
180        master="productInvoicesDataSource" masterlink="own_document.id" detaillink="own_item.own_document">        master="productInvoicesDataSource" masterlink="own_document.id" detaillink="own_item.own_document">
181        <condition>        <condition>
182          <and>          <and>
# Line 160  Line 189 
189              <cfield name="own_item.id"/>              <cfield name="own_item.id"/>
190              <cfield name="own_product_item.own_item"/>              <cfield name="own_product_item.own_item"/>
191            </eq>            </eq>
192            <eq>            <!--  <eq> -->
193              <cfield name="own_item.id"/>            <!--     <cfield name="own_item.id"/> -->
194              <cfield name="own_item_tax.own_item"/>            <!--     <cfield name="own_item_tax.own_item"/> -->
195            </eq>            <!--  </eq> -->
196            <eq>            <eq>
197              <cfield name="_price_data.id"/>              <cfield name="_price_data.id"/>
198              <cfield name="own_product_item.price"/>              <cfield name="own_product_item.price"/>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26