Openbravo Issue Tracking System - Retail Modules
View Issue Details
0026554Retail ModulesWeb POSpublic2014-05-15 11:052014-05-26 11:02
jecharri 
malsasua 
immediatemajoralways
closedfixed 
5
 
RR14Q3 
No
0026554: Cash Up fails always that you have an error in errors while importing pos data window
Cash Up fails always that you have an error in errors while importing pos data window
-Configure one store with some terminals
-Create an error in one order in one terminal

Verify that all cash ups will end in error

The problem is that we are not filtering by terminal.
Filter by terminal in the following query in JAVA modules/org.openbravo.retail.posterminal/src/org/openbravo/retail/posterminal/ProcessCashClose.java

OBCriteria<OBPOSErrors> errorsQuery = OBDal.getInstance().createCriteria(OBPOSErrors.class);
    errorsQuery.add(Restrictions.ne(OBPOSErrors.PROPERTY_TYPEOFDATA, "CU"));
    errorsQuery.add(Restrictions.eq(OBPOSErrors.PROPERTY_ORDERSTATUS, "N"));
    if (errorsQuery.count() > 0) {
      throw new OBException(
          "There are errors related to non-created customers, orders, or cash management movements pending to be processed. Process them before processing the cash ups");
    }
No tags attached.
Issue History
2014-05-15 11:05jecharriNew Issue
2014-05-15 11:05jecharriAssigned To => malsasua
2014-05-15 11:05jecharriResolution time => 1400277600
2014-05-15 11:05jecharriTriggers an Emergency Pack => No
2014-05-15 17:49VictorVillarIssue Monitored: VictorVillar
2014-05-16 00:41hgbotCheckin
2014-05-16 00:41hgbotNote Added: 0067186
2014-05-16 00:41hgbotStatusnew => resolved
2014-05-16 00:41hgbotResolutionopen => fixed
2014-05-16 00:41hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a71dfdeec80869dd76ac2fa869acd268d0cbed0f [^]
2014-05-16 09:34hgbotCheckin
2014-05-16 09:34hgbotNote Added: 0067201
2014-05-16 09:34hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a71dfdeec80869dd76ac2fa869acd268d0cbed0f [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/a71dfdeec80869dd76ac2fa869acd268d0cbed0f [^]
2014-05-26 11:02marvintmStatusresolved => closed

Notes
(0067186)
hgbot   
2014-05-16 00:41   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a71dfdeec80869dd76ac2fa869acd268d0cbed0f
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Thu May 15 19:40:56 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a71dfdeec80869dd76ac2fa869acd268d0cbed0f [^]

Fixed issue 26554: Cash Up fails always that you have an error in errors while importing pos data window

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---
(0067201)
hgbot   
2014-05-16 09:34   
Repository: erp/pmods/org.openbravo.retail.posterminal.unstablenetworks
Changeset: a71dfdeec80869dd76ac2fa869acd268d0cbed0f
Author: Salvador Zapata <salvador.zapata <at> gmail.com>
Date: Thu May 15 19:40:56 2014 -0300
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal.unstablenetworks/rev/a71dfdeec80869dd76ac2fa869acd268d0cbed0f [^]

Fixed issue 26554: Cash Up fails always that you have an error in errors while importing pos data window

---
M src/org/openbravo/retail/posterminal/ProcessCashClose.java
---