Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032695Retail ModulesCash uppublic2016-04-18 17:132016-05-17 09:49
malsasua 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
20Community Appliance
RR16Q1 
 
migueldejuana
Production - QA Approved
No
0032695: incorrect organization is used when cashup is processed from Errors While Importing window
when a cashup is processed from Errors While Importing window, the organization used is the organization of user connected, not the organization related to the terminal
in backend
. go to Open/close period control
 close the periods to 2016 -> so, the orders and cashups will not be processed and they will be stored in "Errors While Importing" window

in webpos
. do and process a receipt
. do a cashup

in backend (loged with organization *)
. go to Open/close period control
 open the periods to 2016
. go to Errors While Importing window -> previous receipt and cashup are displayed
 process receipt -> it is OK
 process cashup -> error is returned:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
...

The error is returned because the cashup is processed using * organization (organization of user connected) not the organization related to the terminal
No tags attached.
depends on backport 0032790RR16Q2 closed ranjith_qualiantech_com incorrect organization is used when cashup is processed from Errors While Importing window 
depends on backport 0032791RR16Q1.2 closed ranjith_qualiantech_com incorrect organization is used when cashup is processed from Errors While Importing window 
Issue History
2016-04-18 17:13malsasuaNew Issue
2016-04-18 17:13malsasuaAssigned To => Retail
2016-04-18 17:13malsasuaRegression level => Production - QA Approved
2016-04-18 17:13malsasuaTriggers an Emergency Pack => No
2016-04-18 19:57eugeniIssue Monitored: eugeni
2016-04-19 18:59OrekariaStatusnew => acknowledged
2016-04-25 13:02malsasuaResolution time => 1464732000
2016-04-26 16:12OrekariaStatusacknowledged => scheduled
2016-04-26 16:12OrekariaAssigned ToRetail => ranjith_qualiantech_com
2016-04-29 11:49hgbotCheckin
2016-04-29 11:49hgbotNote Added: 0086072
2016-04-29 11:49hgbotStatusscheduled => resolved
2016-04-29 11:49hgbotResolutionopen => fixed
2016-04-29 11:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/956b855189e810632e1723dcc95df5e616788f7b [^]
2016-05-17 09:49migueldejuanaReview Assigned To => migueldejuana
2016-05-17 09:49migueldejuanaNote Added: 0086486
2016-05-17 09:49migueldejuanaStatusresolved => closed

Notes
(0086072)
hgbot   
2016-04-29 11:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 956b855189e810632e1723dcc95df5e616788f7b
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Apr 29 15:18:49 2016 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/956b855189e810632e1723dcc95df5e616788f7b [^]

Fixes issue 32695 : Adding Organization info to Cashup data while processing cash close

Organization info added to Cashup Info in Cashup Model "objToSend", So it will be accessed during cash close process

---
M web/org.openbravo.retail.posterminal/js/utils/cashUpReportUtils.js
---
(0086486)
migueldejuana   
2016-05-17 09:49   
Tested and reviewed in ec98fed2ca51