Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032790Retail ModulesCash uppublic2016-04-18 17:132016-06-03 10:43
malsasua 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
20Community Appliance
RR16Q1 
RR16Q2RR16Q2 
guilleaer
Production - QA Approved
No
0032790: 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.
blocks defect 0032695 closed ranjith_qualiantech_com incorrect organization is used when cashup is processed from Errors While Importing window 
Issue History
2016-04-26 16:12OrekariaTypedefect => backport
2016-04-26 16:12OrekariaTarget Version => RR16Q2
2016-05-06 11:20ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-05-07 14:30hgbotCheckin
2016-05-07 14:30hgbotNote Added: 0086286
2016-05-07 14:30hgbotStatusscheduled => resolved
2016-05-07 14:30hgbotResolutionopen => fixed
2016-05-07 14:30hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/3f79fd3a17ab5504b1dd8ca7fbe15b226f4c8df3 [^]
2016-06-03 10:43guilleaerReview Assigned To => guilleaer
2016-06-03 10:43guilleaerStatusresolved => closed
2016-06-03 10:43guilleaerFixed in Version => RR16Q2

Notes
(0086286)
hgbot   
2016-05-07 14:30   
Repository: retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal
Changeset: 3f79fd3a17ab5504b1dd8ca7fbe15b226f4c8df3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat May 07 17:59:42 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/3f79fd3a17ab5504b1dd8ca7fbe15b226f4c8df3 [^]

Fixes issue 32790 : 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
---