Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011314Openbravo ERP09. Financial managementpublic2009-11-11 12:272009-12-30 11:21
networkb 
eduardo_Argal 
immediateminoralways
closedfixed 
5
2.40MP10 
2.40MP132.50MP10 
Core
No
0011314: uncorrected posting in payment status when conersion rates is used
Total amount from Payment Management is not the same as Sales Invoice total amount if at the Invoice Date had an Conversion Rate and at the Transaction Date other. This is why (using Spanish COA) 430 account has diferent amount in both accounting entries.
-Login as Openbravo Admin
-Go to Master Data Management || Pricing || Price List || Price List
-Create a new record with currency USD and check Sales Price List
-Save
-Go to Price List Version
-Create a new record (for example, Price List Schema: Standard)
-Save
-Go to Product Price
-Create a new record (for example:
   Product: paint
   List Price: 8
   Standard Price: 6
   Price Limit: 10
-Save
-Back to Price List Version and click 'Create Price List Version'
-Go to General Setup || Application || Currency
-Select ISO Code: USD
-Go to Conversion Rate
-Create a New Record:
   Currency: USD
   To Currency: EUR
   Valid from Date: 09-11-2009
   Valid to Date: 11-11-2009
   Multiple Rate by: 1.5
-Save and new:
   Currency: USD
   To Currency: EUR
   Valid from Date: 12-11-2009
   Valid to Date: 31-12-9999
   Multiple Rate by: 2
-Save


-Go to Sales Management || Transactions || Sales Invoice
-Create a new record (chose the Price List created, realised that the currency has changed to USD; Invoice Date: 09-11-2009; Accounting Date: 09-11-2009)
-Save
-Go to Lines
-Create a new record (Product: paint; Attribute Set Value: Black; Ordered Quantity: 10; Tax: VAT 16%)
-Save
-Go to Header and Complete
-Check Grand Total Amount (In this case: 78.88)

-Go to Financial Management || Receivables & Payables || Transactions || Payment Status Management
-Create a New Record
   Currency: EUR
   Transaction Date: 30-11-2009
   Accounting Date: 30-11-2009
-Save
-Create Lines From
-Select Final Status: In Remittance, and select the invoice created;
-Save and Process
-Realised that total amount from Payment Management is not the same as Sales Invoice total amount (IE, if Spanish COA is used, 430 account has diferent amount in both accounting entries)


No tags attached.
depends on backport 00113562.40MP13 closed eduardo_Argal uncorrected posting in payment status when conersion rates is used 
Issue History
2009-11-11 12:27networkbNew Issue
2009-11-11 12:27networkbAssigned To => rafaroda
2009-11-11 14:53rafarodaNote Added: 0021725
2009-11-11 14:53rafarodaAssigned Torafaroda => eduardo_Argal
2009-11-13 13:58eduardo_ArgalStatusnew => scheduled
2009-11-13 13:58eduardo_Argalfix_in_branch => pi
2009-11-13 17:22hgbotCheckin
2009-11-13 17:22hgbotNote Added: 0021817
2009-11-13 17:22hgbotStatusscheduled => resolved
2009-11-13 17:22hgbotResolutionopen => fixed
2009-11-13 17:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/d0582e9c95883f79b88440d53efd3e968ce82d3a [^]
2009-11-13 18:01hgbotCheckin
2009-11-13 18:01hgbotNote Added: 0021821
2009-11-13 18:01hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.40/rev/d0582e9c95883f79b88440d53efd3e968ce82d3a [^] => http://code.openbravo.com/erp/devel/pi/rev/c5b63334e942f65e9f973af232a087fa95bf4068 [^]
2009-11-17 13:49psarobeNote Added: 0021922
2009-11-17 13:49psarobeStatusresolved => closed
2009-11-17 13:49psarobeFixed in Version => 2.50MP9
2009-11-18 00:00anonymoussf_bug_id0 => 2899463
2009-12-01 12:51eduardo_ArgalNote Added: 0022292
2009-12-01 12:51eduardo_ArgalStatusclosed => new
2009-12-01 12:51eduardo_ArgalResolutionfixed => open
2009-12-01 12:51eduardo_ArgalFixed in Version2.50MP9 =>
2009-12-01 12:51eduardo_ArgalStatusnew => scheduled
2009-12-01 12:54hgbotCheckin
2009-12-01 12:54hgbotNote Added: 0022294
2009-12-01 12:54hgbotStatusscheduled => resolved
2009-12-01 12:54hgbotResolutionopen => fixed
2009-12-01 12:54hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/c5b63334e942f65e9f973af232a087fa95bf4068 [^] => http://code.openbravo.com/erp/devel/pi/rev/8e63d4c111b6b00e48fbabbb2f4f3918652490d3 [^]
2009-12-04 09:14hudsonbotCheckin
2009-12-04 09:14hudsonbotNote Added: 0022430
2009-12-30 11:21arunkumarNote Added: 0023154
2009-12-30 11:21arunkumarStatusresolved => closed
2009-12-30 11:21arunkumarFixed in Version => 2.50MP10

Notes
(0021725)
rafaroda   
2009-11-11 14:53   
Eduardo,

Can you please comment on this issue?

In Sales Management || Transactions || Sales Invoice we are setting accounting date 09-11-2009 (which corresponds to conversion 1,5x1) and when posting the invoice this date and conversion rate are taken into account.

In Financial Management || Receivables & Payables || Transactions || Payment Status Management we are setting accounting date 30-11-2009 (which corresponds to a conversion 2x1) and when posting it this date and conversion rate are taken into account.

So both postings differ. Is there any account where this conversion rate variation is reflected?

Thanks.




(0021817)
hgbot   
2009-11-13 17:22   
Repository: erp/stable/2.40
Changeset: d0582e9c95883f79b88440d53efd3e968ce82d3a
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Fri Nov 13 17:20:41 2009 +0100
URL: http://code.openbravo.com/erp/stable/2.40/rev/d0582e9c95883f79b88440d53efd3e968ce82d3a [^]

Fixes bug 0011314: uncorrected posting in payment status...

---
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement.java
M src/org/openbravo/erpCommon/ad_forms/DocLineDPManagement_data.xsql
M src/org/openbravo/erpCommon/ad_forms/DocLine_DPManagement.java
---
(0021821)
hgbot   
2009-11-13 18:01   
Repository: erp/devel/pi
Changeset: c5b63334e942f65e9f973af232a087fa95bf4068
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Fri Nov 13 13:59:26 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/c5b63334e942f65e9f973af232a087fa95bf4068 [^]

Fixes bug 0011314: uncorrected posting in payment status when conersion...

---
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement.java
M src/org/openbravo/erpCommon/ad_forms/DocLineDPManagement_data.xsql
M src/org/openbravo/erpCommon/ad_forms/DocLine_DPManagement.java
---
(0021922)
psarobe   
2009-11-17 13:49   
Tested working fine
(0022292)
eduardo_Argal   
2009-12-01 12:51   
The process is still not correct
(0022294)
hgbot   
2009-12-01 12:54   
Repository: erp/devel/pi
Changeset: 8e63d4c111b6b00e48fbabbb2f4f3918652490d3
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Tue Dec 01 12:51:19 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8e63d4c111b6b00e48fbabbb2f4f3918652490d3 [^]

Fixes bug 0011314: uncorrected posting in payment status when conersion rates is used

---
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement.java
---
(0022430)
hudsonbot   
2009-12-04 09:14   
---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---
(0023154)
arunkumar   
2009-12-30 11:21   
Tested & Working fine