Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||||||||||||
| View Issue Details | |||||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||||||||||||
| 0040584 | Retail Modules | Web POS | public | 2019-04-10 12:53 | 2019-04-30 11:55 | ||||||||||||||||||||||||
| Reporter | shuehner | ||||||||||||||||||||||||||||
| Assigned To | ranjith_qualiantech_com | ||||||||||||||||||||||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | ||||||||||||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||||||||||||
| Product Version | |||||||||||||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||||||||||||
| Merge Request Status | |||||||||||||||||||||||||||||
| Review Assigned To | adrianromero | ||||||||||||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||||||||||||
| Support ticket | |||||||||||||||||||||||||||||
| Regression level | |||||||||||||||||||||||||||||
| Regression date | |||||||||||||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||||||||||||
| Summary | 0040584: CashUpReport.doPost is not using bind-parameters | ||||||||||||||||||||||||||||
| Description | This code is not using bind-params: final String hqlCashup = "SELECT netsales, grosssales, netreturns, grossreturns, totalretailtransactions " // + " FROM OBPOS_App_Cashup " // + " WHERE id = '" + cashupId + "' "; // final Query<Object[]> cashupQuery = OBDal.getReadOnlyInstance() .getSession() .createQuery(hqlCashup, Object[].class); and final String hqlTaxes = String.format("SELECT name, STR(ABS(amount)) " // + " FROM OBPOS_Taxcashup " // + " WHERE obpos_app_cashup_id='%s' AND ordertype='0' " // + " ORDER BY name ", cashupId); final Query<Object[]> salesTaxesQuery = OBDal.getReadOnlyInstance() .getSession() .createQuery(hqlTaxes, Object[].class); and final String hqlReturnTaxes = String.format("SELECT name, STR(ABS(amount)) " // + " FROM OBPOS_Taxcashup " // + " WHERE obpos_app_cashup_id='%s' AND ordertype='1' " // + " ORDER BY name ", cashupId); final Query<Object[]> returnsTaxesQuery = OBDal.getReadOnlyInstance() .getSession() .createQuery(hqlReturnTaxes, Object[].class); | ||||||||||||||||||||||||||||
| Steps To Reproduce | - | ||||||||||||||||||||||||||||
| Proposed Solution | |||||||||||||||||||||||||||||
| Additional Information | |||||||||||||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||||||||||||
| Relationships |
| ||||||||||||||||||||||||||||
| Attached Files | |||||||||||||||||||||||||||||
| Issue History | |||||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||||||||||||
| 2019-04-10 12:53 | shuehner | New Issue | |||||||||||||||||||||||||||
| 2019-04-10 12:53 | shuehner | Assigned To | => Retail | ||||||||||||||||||||||||||
| 2019-04-10 12:53 | shuehner | OBNetwork customer | => No | ||||||||||||||||||||||||||
| 2019-04-10 12:53 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||||||||||||
| 2019-04-10 12:53 | shuehner | Relationship added | blocks 0038136 | ||||||||||||||||||||||||||
| 2019-04-11 11:53 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||||||||||||||||||||||||||
| 2019-04-12 07:24 | ranjith_qualiantech_com | Status | new => scheduled | ||||||||||||||||||||||||||
| 2019-04-12 07:45 | ranjith_qualiantech_com | Note Added: 0111090 | |||||||||||||||||||||||||||
| 2019-04-12 07:45 | ranjith_qualiantech_com | Status | scheduled => resolved | ||||||||||||||||||||||||||
| 2019-04-12 07:45 | ranjith_qualiantech_com | Resolution | open => fixed | ||||||||||||||||||||||||||
| 2019-04-24 12:46 | adrianromero | Review Assigned To | => adrianromero | ||||||||||||||||||||||||||
| 2019-04-24 12:46 | adrianromero | Note Added: 0111270 | |||||||||||||||||||||||||||
| 2019-04-24 12:46 | adrianromero | Status | resolved => closed | ||||||||||||||||||||||||||
| 2019-04-24 12:46 | adrianromero | Fixed in Version | => RR19Q3 | ||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Note Added: 0111385 | |||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Status | closed => new | ||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Resolution | fixed => open | ||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Fixed in Version | RR19Q3 => | ||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Status | new => scheduled | ||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Status | scheduled => resolved | ||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Resolution | open => fixed | ||||||||||||||||||||||||||
| 2019-04-30 11:55 | shuehner | Status | resolved => closed | ||||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||