/[papo]/papo/forms/productInvoice.neb
ViewVC logotype

Diff of /papo/forms/productInvoice.neb

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

revision 1.18 by mhepp, Mon Jun 2 19:05:54 2003 UTC revision 1.19 by mhepp, Mon Jun 2 20:19:25 2003 UTC
# Line 339  Line 339 
339    
340    <datasource database="papo" name="ownDocumentDataSource" table="own_document"    <datasource database="papo" name="ownDocumentDataSource" table="own_document"
341      order_by="date" />      order_by="date" />
 <!-- nebulized -->  
    <!-- Origen de datos que contiene el numero de la proxima factura -->  
  <!--  <datasource name="ownPosDocumentDataSource" database="papo" -->  
 <!--     table="own_pos_document, _own_pos_document_data" historytable="_own_pos_document_data"> -->  
 <!--     <condition> -->  
 <!--       <and> -->  
 <!--         <eq> -->  
 <!--           <cfield name="own_pos_document.id"/> -->  
 <!--           <cfield name="_own_pos_document_data._table"/> -->  
 <!--         </eq> -->  
         <!-- numero para las facturas de servicios -->  
 <!--         <eq> -->  
 <!--           <cfield name="_own_pos_document_data.document_type"/> -->  
 <!--           <cconst value="4"/> -->  
 <!--         </eq> -->  
         <!-- que este activo -->  
 <!--        <null> -->  
 <!--           <cfield name="_own_pos_document_data._end_t"/> -->  
 <!--         </null> -->  
 <!--       </and> -->  
 <!--     </condition> -->  
 <!--   </datasource> -->  
   
 <!--pos-->  
 <!--  <datasource name="ownPosDataSource" database="papo" table="_own_pos_data,_own_entity_data,_entity_data" > -->  
 <!--     <condition> -->  
 <!--     <and> -->  
 <!--       <eq> -->  
 <!--         <cfield name="_own_pos_data.own_entity"/> -->  
 <!--         <cfield name="_own_entity_data._table"/> -->  
 <!--       </eq> -->  
 <!--       <eq> -->  
 <!--          <cfield name="_own_entity_data.entity"/> -->  
 <!--         <cfield name="_entity_data._table"/> -->  
 <!--       </eq> -->  
 <!--       <null> -->  
 <!--         <cfield name="_own_pos_data._end_t"/> -->  
 <!--       </null> -->  
 <!--       <null> -->  
 <!--         <cfield name="_own_entity_data._end_t"/> -->  
 <!--       </null> -->  
 <!--       <null> -->  
 <!--         <cfield name="_entity_data._end_t"/> -->  
 <!--       </null> -->  
 <!--     </and> -->  
 <!--   </condition> -->  
 <!--   </datasource> -->  
 <!--/pos -->  
 <!--/nebulized -->  
342    
343  <!--   Origen de datos que sirve para consultar el limite de crédito -->  <!--   Origen de datos que sirve para consultar el limite de crédito -->
344  <!--   asignado al cliente que se le factura -->  <!--   asignado al cliente que se le factura -->
# Line 644  Line 595 
595                
596        if  str(ownPosBlock.stockByInvoice) == "1":        if  str(ownPosBlock.stockByInvoice) == "1":
597            print "llamado al trigger"            print "llamado al trigger"
598            callTrigger('stockTrigger')            callTrigger('stockSubstractTrigger')
599            #se va al stockmaintenance.nebc            #se va al stockmaintenance.nebc
600            #ownItemToUpdBlock.initQuery()            #ownItemToUpdBlock.initQuery()
601            #ownItemToUpdBlock.ownDocumentEntry = lOwnDocId            #ownItemToUpdBlock.ownDocumentEntry = lOwnDocId
# Line 1431  else: Line 1382  else:
1382          <entry name="totalEntry" style="label" readonly="" x="82" y="22" width="12" typecast="number" displaymask="%0.2f"          <entry name="totalEntry" style="label" readonly="" x="82" y="22" width="12" typecast="number" displaymask="%0.2f"
1383            default="0.00"/>            default="0.00"/>
1384        </block>        </block>
1385      <neb:Sub neb:src="setStock.nebc"  operation="-" ownDocumentId="ownDocumentBlock.idEntry" storehouseEntityId="ownStorehouseBlock.ownStorehouseIdEntry"      <neb:Sub neb:src="setStock.nebc"   ownDocumentId="ownDocumentBlock.idEntry" storehouseEntityId="ownStorehouseBlock.ownStorehouseIdEntry"
1386   stockTrigger="stockTrigger"/>   stockAddTrigger="stockAddTrigger" stockSubstractTrigger="stockSubstractTrigger"/>
1387                
1388  <!-- se va a stockMaintenance.neb  -->  <!-- se va a stockMaintenance.neb  -->
1389   <!--      <block datasource="ownItemToUpdDataSource" name="ownItemToUpdBlock"> -->   <!--      <block datasource="ownItemToUpdDataSource" name="ownItemToUpdBlock"> -->

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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