Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037527
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2017-12-20 16:352018-08-01 09:14
ReporterumartirenaView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revisionfca923eb6e65
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037527: POSUtils.getLastDocumentNumberForPOS() function takes into account correctly imported errors while importing when it should not

DescriptionPOSUtils.getLastDocumentNumberForPOS() function takes into account correctly imported errors while importing when it should not
Steps To ReproduceHaving 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 SolutionFilter 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();
TagsPerformance
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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
---

- Issue History
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 Triggers an Emergency Pack => No
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
Powered by Mantis Bugtracker