Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027289
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2014-08-07 10:362015-02-04 20:34
ReportermaiteView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version3.0PR15Q2
StatusclosedFix in branchpiFixed in SCM revision368eb470c295
ProjectionnoneETAnoneTarget Version3.0PR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027289: "Not Balance" error received when posting a multi-currency OUT transaction (although suspense balancing no needs to be used)

Description"Not Balance" error received when posting a multi-currency OUT transaction (although suspense balancing no needs to be used)
Steps To Reproduce0. Access "General Ledger Configuration" window and "General Accounts" tab. Configure both accounting schemas with "Suspense Balancing Use" unmarked
1. Configure "Transferencia" payment method as "Receive Payments in Multiple Currency"
2. Register Payment OUT for "Alimentos y Supermercados" for any amount, "Transferencia" payment method and USD currency. "Add details" and select any GL Item and "Process and Deposit"
3. Access already created multi-currency transaction a try to post it. 'Not balance' error will be obtained

If you access to General Ledger Configuration and mark "Suspense Balancing Use" and then try to post Transaction again it will be correctly posted (not using suspense balancing account)
Proposed SolutionProblem is in "getBalance" method in DocFINFinAccTransaction.java, in lines 808 and 816 because lineBalance is negative and it is being substracted
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0025173 closedpramakrishnan "Not Balance" error received when posting a multi-currency transaction (although suspense balancing no needs to be used) 
causes defect 00302733.0PR15Q4 closedAtulOpenbravo "Not Balance" error received when posting a transaction (although suspense balancing is not needed) 

-  Notes
(0073442)
AtulOpenbravo (developer)
2015-01-13 08:37

Test Plan
- Login as F&B International Group Admin role.
- Navigate to "General Ledger Configuration" window. Configure both accounting schemas >>"General Accounts" >> "Suspense Balancing Use" = No.
- Configure "Transferencia" payment method as "Receive Payments in Multiple Currency" as well as in Financial Account >> Payment Method tab.
- Create a Payment OUT for "Bebidas" for any amount, "Transferencia" payment method and USD currency. "Add details" and select any GL Item and "Process and Withdrawal".
- Navigate to created multi-currency transaction in financial Account >> Transaction Tab. Post it.
- Transaction is posted succesfully.
(0073729)
hgbot (developer)
2015-01-22 17:27

Repository: erp/devel/pi
Changeset: 368eb470c2955fb9525c9e529591c2699122ef21
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jan 13 12:59:52 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/368eb470c2955fb9525c9e529591c2699122ef21 [^]

Fixes Issue 27289:"Not Balance" error received when posting a multi-currency
OUT transaction (although suspense balancing no needs to be used)

Problem was a negate value (in case of payments where isReceipt=No) was being
subtracted.

---
M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java
---
(0073730)
Sandrahuguet (developer)
2015-01-22 17:27

Code review + testing OK
(0074174)
hudsonbot (developer)
2015-02-04 20:34

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/f36c91d0ad63 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-08-07 10:36 maite New Issue
2014-08-07 10:36 maite Assigned To => dmiguelez
2014-08-07 10:36 maite Modules => Advanced Payables and Receivables Mngmt
2014-08-07 10:36 maite Resolution time => 1410300000
2014-08-07 10:36 maite Triggers an Emergency Pack => No
2014-08-07 10:37 maite Relationship added related to 0025173
2014-08-07 10:37 maite Issue Monitored: networkb
2014-09-29 10:49 eduardo_Argal Target Version 3.0PR14Q4 => 3.0PR15Q1
2014-12-22 17:25 Sandrahuguet Target Version 3.0PR15Q1 => 3.0PR15Q2
2015-01-12 09:24 Sandrahuguet Assigned To dmiguelez => AtulOpenbravo
2015-01-13 07:58 AtulOpenbravo Status new => scheduled
2015-01-13 07:58 AtulOpenbravo fix_in_branch => pi
2015-01-13 08:37 AtulOpenbravo Note Added: 0073442
2015-01-22 17:27 hgbot Checkin
2015-01-22 17:27 hgbot Note Added: 0073729
2015-01-22 17:27 hgbot Status scheduled => resolved
2015-01-22 17:27 hgbot Resolution open => fixed
2015-01-22 17:27 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/368eb470c2955fb9525c9e529591c2699122ef21 [^]
2015-01-22 17:27 Sandrahuguet Note Added: 0073730
2015-01-22 17:28 Sandrahuguet Review Assigned To => Sandrahuguet
2015-01-22 17:28 Sandrahuguet Status resolved => closed
2015-01-22 17:28 Sandrahuguet Fixed in Version => 3.0PR15Q2
2015-02-04 20:34 hudsonbot Checkin
2015-02-04 20:34 hudsonbot Note Added: 0074174
2015-07-02 12:20 vmromanos Relationship added causes 0030273


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker