Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026764Openbravo ERPZ. Otherspublic2014-06-02 18:512014-08-08 18:54
maite 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR14Q4 
maite
Advanced Payables and Receivables Mngmt
No
0026764: Amount posted to 'Tax Transitory' account should be recalculated when posting payment/transaction/reconciliation
When working with "cash vat" and "multicurrency" functionality, tax amount is being converted again using rate defined for payment/transaction/reconciliation's date but amount posted to "tax transitory" account at invoice should be kept
0. Define Conversion Rate between AED - USD for today as "multiply=2" and AED - USD for tomorrow as !multiply=3"
1. Configure Organization as "cash vat"
2. Register Sales Invoice (verify that "cash vat" flag is set to Yes) for US organization using Price List in AED currency
3. Post invoice and realize that accounting entry is correctly generated using "multiply=2" conversion, for both tax amount and product amount
4. Register Payment In for that invoice, using Payment Method configured for payment posting and process
5. Post payment and realize that accounting entry is generated applying "multiply=3" conversion to tax amount.

This is not correct as "tax transitory" account is unbalanced at this point. Amount posted to "tax transitory" should be the same as posted at invoice's document (using "multiply=2" conversion)
No tags attached.
Issue History
2014-06-02 18:51maiteNew Issue
2014-06-02 18:51maiteAssigned To => dmiguelez
2014-06-02 18:51maiteModules => Advanced Payables and Receivables Mngmt
2014-06-02 18:51maiteResolution time => 1404252000
2014-06-02 18:51maiteTriggers an Emergency Pack => No
2014-06-02 18:51maiteAssigned Todmiguelez => jonalegriaesarte
2014-06-04 12:44jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-06-16 12:48jonalegriaesarteTarget VersionPR14Q3 => PR14Q4
2014-07-21 12:44AtulOpenbravoAssigned Topramakrishnan => AtulOpenbravo
2014-07-21 12:55AtulOpenbravoStatusnew => scheduled
2014-07-21 12:55AtulOpenbravofix_in_branch => pi
2014-07-29 19:38AtulOpenbravoReview Assigned To => maite
2014-07-29 19:38AtulOpenbravoNote Added: 0068962
2014-07-29 19:38AtulOpenbravofix_in_branchpi =>
2014-07-29 19:39AtulOpenbravoNote Edited: 0068962bug_revision_view_page.php?bugnote_id=0068962#r6213
2014-07-29 19:39AtulOpenbravoNote Edited: 0068962bug_revision_view_page.php?bugnote_id=0068962#r6214
2014-07-29 19:40hgbotCheckin
2014-07-29 19:40hgbotNote Added: 0068963
2014-07-29 19:40hgbotStatusscheduled => resolved
2014-07-29 19:40hgbotResolutionopen => fixed
2014-07-29 19:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6c1baf6523cb5762931ad2072be404c8b3d0a871 [^]
2014-07-30 13:54maiteNote Added: 0068977
2014-07-30 13:54maiteStatusresolved => closed
2014-08-08 18:54hudsonbotCheckin
2014-08-08 18:54hudsonbotNote Added: 0069234

Notes
(0068962)
AtulOpenbravo   
2014-07-29 19:38   
(edited on: 2014-07-29 19:39)
Test Plan
1. Define Conversion Rate between AED - USD for today as "multiply=2" and AED - USD for tomorrow as "multiply=3".
2. Configure Organization as "cash vat".
3. Register Sales Invoice (verify that "cash vat" flag is set to Yes) for US organization using Price List in AED currency.
4. Post invoice and realize that accounting entry is correctly generated using "multiply=2" conversion, for both tax transitory amount and product amount.
5. Register Payment In for that invoice, using Payment Method configured for payment posting and process.
6. Post payment and realize that accounting entry is generated applying "multiply=3" conversion to final tax amount and "multiply=2" conversion is applied for tax transitory account which is same used at the invoice posting.

(0068963)
hgbot   
2014-07-29 19:40   
Repository: erp/devel/pi
Changeset: 6c1baf6523cb5762931ad2072be404c8b3d0a871
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Jul 29 23:00:41 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6c1baf6523cb5762931ad2072be404c8b3d0a871 [^]

Fixes Issue 26764:Amt posted to 'Tax Transitory' acct should be recalculated
when posting payment/transaction/reconciliation

---
M src/org/openbravo/erpCommon/ad_forms/Fact.java
M src/org/openbravo/erpCommon/utility/CashVATUtil.java
---
(0068977)
maite   
2014-07-30 13:54   
verified
(0069234)
hudsonbot   
2014-08-08 18:54   
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/4450016dee64 [^]
Maturity status: Test