Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031360Retail ModulesCash Managementpublic2015-11-04 17:142015-11-16 09:34
malsasua 
jorge-garcia 
highmajoralways
closedfixed 
20Community Appliance
 
RR16Q1 
guilleaer
No
0031360: Cash management is using two gl items distinct
when a cash management is done in WEB POS, two transactions are created in financial accounts:
1. in Financial Account of backoffice: with gl item1 with withdrawal amount
2. in Financial Account of store: with gl item2 with deposit amount

The gl item should be the same to the two transactions
. In backoffice, in window "POS Terminal Type" -> VBS POS Terminal Type
 . in tab payment type: Cash
  Cash Mgmt: GL Item for withdrawal: VBS Withdrawals
             GL Item for deposits: VBS Deposits

. in POS: terminal VBS-1
 . create new cash management:
  . 100 -> Cash Deposit -> Backoffice Transfer to VBS

. in backoffice, the next transactions have been created:
 . financial account: Cashbook - Vall Blanca Store
  . transaction has been created:
   Deposit Amt: 100
   GL Item: VBS Deposits

 . financial account: Cashbook - Vall Blanca Backoffice
  . transaction has been created:
   Withdrawal Amt: 100
   GL Item: VBS Withdrawals
>> this GL Item is wrong, it should be VBS Deposits


Cashbook - Vall Blanca Backoffice
No tags attached.
Issue History
2015-11-04 17:14malsasuaNew Issue
2015-11-04 17:14malsasuaAssigned To => Retail
2015-11-04 17:14malsasuaResolution time => 1450738800
2015-11-04 17:14malsasuaTriggers an Emergency Pack => No
2015-11-04 17:38OrekariaSeverityminor => major
2015-11-04 17:39OrekariaStatusnew => acknowledged
2015-11-10 11:24jorge-garciaAssigned ToRetail => jorge-garcia
2015-11-10 17:51jorge-garciaStatusacknowledged => scheduled
2015-11-11 15:13hgbotCheckin
2015-11-11 15:13hgbotNote Added: 0081715
2015-11-11 15:13hgbotStatusscheduled => resolved
2015-11-11 15:13hgbotResolutionopen => fixed
2015-11-11 15:13hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/800103b3ca0baa7eff709783ab7a7ed3569a300f [^]
2015-11-11 15:14hgbotCheckin
2015-11-11 15:14hgbotNote Added: 0081716
2015-11-16 09:34guilleaerReview Assigned To => guilleaer
2015-11-16 09:34guilleaerStatusresolved => closed
2015-11-16 09:34guilleaerFixed in Version => RR16Q1

Notes
(0081715)
hgbot   
2015-11-11 15:13   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 800103b3ca0baa7eff709783ab7a7ed3569a300f
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 10 17:14:18 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/800103b3ca0baa7eff709783ab7a7ed3569a300f [^]

Fixed issue 31360: Cash management is using two gl items distinct

Changes made in the ProcessCashMgmt.

This class is the responsible of create two transactions in the backoffice from
the cash management. The first one is the transaction of the cash management.
The second one is an inverted transaction of the cash management.

The problem was that this two transactions must use the same G/L Item.

Now both transactions use the same G/L Item, depending of the cash management.

---
M src/org/openbravo/retail/posterminal/ProcessCashMgmt.java
---
(0081716)
hgbot   
2015-11-11 15:14   
Repository: tools/automation/pi-mobile
Changeset: ece964c708c9f42ad6f7b4d9e9ffdd5631620386
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Tue Nov 10 17:15:58 2015 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/ece964c708c9f42ad6f7b4d9e9ffdd5631620386 [^]

Verifies issue 31360: Cash management is using two gl items distinct

Added test I30160_UseTheSameGLItem

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/cashmanagement/I30160_UseTheSameGLItem.java
---