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 --> |
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 |
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"> --> |