Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036785Retail ModulesWeb POSpublic2017-09-04 16:302018-02-16 17:15
ngarcia 
rqueralta 
highminoralways
closedfixed 
5
 
RR18Q1 
migueldejuana
No
0036785: Cash Management goes to Errors While Importing POS Data as the rounded amount to withdrawn or deposit in financial account is 0
Cash Management goes to Errors While Importing POS Data as the rounded amount to withdrawn or deposit in financial account is 0.

The process is trying to create a financial account transaction with an amount of 0
In the POS:
   Select Cash Management from the Menu
   Set an amount of 0.001 and select Cash Deposit
   Select backoffice transfer to VBS and Done

In backend:
   Check a new record has been created in Errors While Importing POS Data for the Cash Management
   The error is:
      ERROR: new row for relation "fin_finacc_transaction" violates check constraint "fin_trans_amounts_chk"

   The problem is also reproducible with Cash Withdrawal
No tags attached.
Issue History
2017-09-04 16:30ngarciaNew Issue
2017-09-04 16:30ngarciaAssigned To => Retail
2017-09-04 16:30ngarciaTriggers an Emergency Pack => No
2017-09-04 16:31ngarciaIssue Monitored: networkb
2017-09-04 16:33ngarciaDescription Updatedbug_revision_view_page.php?rev_id=15796#r15796
2017-09-07 15:41rqueraltaAssigned ToRetail => rqueralta
2017-10-09 15:57rqueraltaStatusnew => scheduled
2017-10-18 16:26hgbotCheckin
2017-10-18 16:26hgbotNote Added: 0099942
2017-10-18 16:26hgbotStatusscheduled => resolved
2017-10-18 16:26hgbotResolutionopen => fixed
2017-10-18 16:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dbc79771e76726d118cc4486c5bd920d545774c5 [^]
2017-10-23 15:43migueldejuanaReview Assigned To => migueldejuana
2017-10-23 15:43migueldejuanaNote Added: 0100002
2017-10-23 15:43migueldejuanaStatusresolved => closed
2017-10-23 15:43migueldejuanaFixed in Version => RR18Q1
2018-02-16 17:15hgbotCheckin
2018-02-16 17:15hgbotNote Added: 0102466

Notes
(0099942)
hgbot   
2017-10-18 16:26   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dbc79771e76726d118cc4486c5bd920d545774c5
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Oct 17 11:03:42 2017 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dbc79771e76726d118cc4486c5bd920d545774c5 [^]

Fixed issue 36785: Cash Management goes to Errors While Importing POS Data as
the rounded amount to withdrawn or deposit in financial account is 0

---
M web/org.openbravo.retail.posterminal/js/cashmgmt/model/cashmgmt-model.js
---
(0100002)
migueldejuana   
2017-10-23 15:43   
Tested and reviewed
(0102466)
hgbot   
2018-02-16 17:15   
Repository: tools/automation/pi-mobile
Changeset: 4616d0caef5662e0bcbd7f77029529fb98ae5918
Author: Alejandro <alekosmp86 <at> gmail.com>
Date: Thu Feb 15 17:38:08 2018 -0500
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/4616d0caef5662e0bcbd7f77029529fb98ae5918 [^]

Verifies issue 36785: Added automated test
"I36785_CashManagementDepositRoundedAmountToWithdrawnOrDeposit"

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