Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033335Retail ModulesCash uppublic2016-06-23 09:222016-07-04 15:21
malsasua 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
20Community Appliance
 
 
marvintm
OBPS
42352
No
0033335: [RR16Q1.3] Error in cashup process when terminal is set as Master and it has not related not master terminals
it is only reproducible in RR16Q1.3
If you have a terminal set as Master and there are not any other terminal that it inherits from this terminal, if you try to do the cashup in the terminal, error is returned (see attachment)
in backoffice:
. go to terminal CMS-1
 check: master set as Y

in terminal: CMS-1
. do a cashup

Error is returned
Error
An error has occurred on the server: class org.openbravo.retail.posterminal.ProcessCashCloseMaster: unexpected end of subtree [select searchkey, sum(startingcash), sum(totalDeposits), sum(totalDrops), sum(totalreturns), sum(totalsales), sum( amountToKeep) from OBPOS_Paymentmethodcashup where cashUp.id in () and paymentType.paymentMethod.isshared = 'Y' group by searchkey]. stacktrace: [Ljava.lang.StackTraceElement;@1802ba6b
No tags attached.
Issue History
2016-06-23 09:22malsasuaNew Issue
2016-06-23 09:22malsasuaAssigned To => Retail
2016-06-23 09:22malsasuaOBNetwork customer => Yes
2016-06-23 09:22malsasuaSupport ticket => 42352
2016-06-23 09:22malsasuaResolution time => 1468879200
2016-06-23 09:22malsasuaTriggers an Emergency Pack => No
2016-06-30 10:27marvintmStatusnew => acknowledged
2016-07-02 07:41ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-07-02 07:42ranjith_qualiantech_comStatusacknowledged => scheduled
2016-07-02 07:45hgbotCheckin
2016-07-02 07:45hgbotNote Added: 0088159
2016-07-02 07:45hgbotStatusscheduled => resolved
2016-07-02 07:45hgbotResolutionopen => fixed
2016-07-02 07:45hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9f69a314f9c7bc1fd664ec5d35e31b29f48452b8 [^]
2016-07-04 15:21marvintmReview Assigned To => marvintm
2016-07-04 15:21marvintmStatusresolved => closed

Notes
(0088159)
hgbot   
2016-07-02 07:45   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 9f69a314f9c7bc1fd664ec5d35e31b29f48452b8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat Jul 02 11:14:30 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/9f69a314f9c7bc1fd664ec5d35e31b29f48452b8 [^]

Fixes issue 33335 : Adding Initial validation to check master terminal should have min. one slave terminal

- Modified Initial Validation msg, since "There was an error loading the Pos Terminal" was duplicated

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/InitialValidations.java
---