Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032791Retail ModulesCash uppublic2016-04-18 17:132016-05-17 19:09
malsasua 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
20Community Appliance
RR16Q1 
RR16Q1.2RR16Q1.2 
marvintm
Production - QA Approved
No
0032791: 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 => RR16Q1.2
2016-05-06 11:20ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2016-05-07 14:27hgbotCheckin
2016-05-07 14:27hgbotNote Added: 0086285
2016-05-07 14:27hgbotStatusscheduled => resolved
2016-05-07 14:27hgbotResolutionopen => fixed
2016-05-07 14:27hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1.2/org.openbravo.retail.posterminal/rev/0dd8541569e8c08e7d825d36a2a56d36c23b93a4 [^]
2016-05-17 19:09marvintmReview Assigned To => marvintm
2016-05-17 19:09marvintmStatusresolved => closed
2016-05-17 19:09marvintmFixed in Version => RR16Q1.2

Notes
(0086285)
hgbot   
2016-05-07 14:27   
Repository: retail/backports/3.0RR16Q1.2/org.openbravo.retail.posterminal
Changeset: 0dd8541569e8c08e7d825d36a2a56d36c23b93a4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Sat May 07 17:56:39 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1.2/org.openbravo.retail.posterminal/rev/0dd8541569e8c08e7d825d36a2a56d36c23b93a4 [^]

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