Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037527 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-12-20 16:35 | 2018-08-01 09:14 | |||
Reporter | umartirena | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR18Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | fca923eb6e65 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037527: POSUtils.getLastDocumentNumberForPOS() function takes into account correctly imported errors while importing when it should not | |||||||
Description | POSUtils.getLastDocumentNumberForPOS() function takes into account correctly imported errors while importing when it should not | |||||||
Steps To Reproduce | Having an "Imported Correctly" record in "Errors while importing" window of type "Order", if the Web POS is loaded the following query takes into account the previous record when it should not: OBCriteria<OBPOSErrors> errorCrit = OBDal.getInstance().createCriteria(OBPOSErrors.class); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_OBPOSAPPLICATIONS, terminal)); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_TYPEOFDATA, "Order")); List<OBPOSErrors> errors = errorCrit.list(); | |||||||
Proposed Solution | Filter the following query by records not in "Imported Correctly" status: OBCriteria<OBPOSErrors> errorCrit = OBDal.getInstance().createCriteria(OBPOSErrors.class); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_OBPOSAPPLICATIONS, terminal)); errorCrit.add(Restrictions.eq(OBPOSErrors.PROPERTY_TYPEOFDATA, "Order")); List<OBPOSErrors> errors = errorCrit.list(); | |||||||
Tags | Performance | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0101589) hgbot (developer) 2018-01-05 12:46 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: fca923eb6e652df30493f5f5fbc8b5ba86c89c66 Author: Ranjith S R <ranjith <at> qualiantech.com> Date: Fri Jan 05 17:16:12 2018 +0530 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fca923eb6e652df30493f5f5fbc8b5ba86c89c66 [^] Fixed issue 37527 : Get documentno from import entry error with error status --- M src/org/openbravo/retail/posterminal/POSUtils.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-12-20 16:35 | umartirena | New Issue | |
2017-12-20 16:35 | umartirena | Assigned To | => Retail |
2017-12-20 16:35 | umartirena | OBNetwork customer | => No |
2017-12-20 16:35 | umartirena | Triggers an Emergency Pack | => No |
2017-12-20 16:49 | marvintm | OBNetwork customer | No => Yes |
2017-12-20 16:49 | marvintm | Resolution time | => 1515625200 |
2017-12-28 08:03 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2018-01-05 12:46 | hgbot | Checkin | |
2018-01-05 12:46 | hgbot | Note Added: 0101589 | |
2018-01-05 12:46 | hgbot | Status | new => resolved |
2018-01-05 12:46 | hgbot | Resolution | open => fixed |
2018-01-05 12:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/fca923eb6e652df30493f5f5fbc8b5ba86c89c66 [^] |
2018-01-11 17:51 | marvintm | Review Assigned To | => marvintm |
2018-01-11 17:51 | marvintm | Status | resolved => closed |
2018-01-11 17:51 | marvintm | Fixed in Version | => RR18Q2 |
2018-08-01 09:14 | alostale | Tag Attached: Performance |
Copyright © 2000 - 2009 MantisBT Group |