Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0041061 | Modules | Accruals and Deferrals | public | 2019-06-10 16:31 | 2019-06-24 12:44 |
|
Reporter | malsasua | |
Assigned To | collazoandy4 | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | Sandrahuguet |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0041061: In Accruals and Deferrals functionality, the date to calculate the conversion rate should be the document date |
Description | In Accruals and Deferrals, always should be used the document date to retrieve the conversion rate.
Now, the system is using the Accounting date |
Steps To Reproduce | . go to Conversion Rate window
- create record from 01-05-2019 to 31-05-2019:
- rate: 1
- create record from 01-06-2019 to 31-12-2019:
- rate: 2
. configure Accruals Deferrals
. create and complete a Purchase Invoice using Accruals Deferrals for the next 12 months
- Date Account: 15-05-2019
. POST it-> accounting records are created for the next 12 months
- for the first record (accounting date 15-05-2019) the conversion rate used is 1
- for the rest of records (accounting date higher than 1st of June) the conversion rate used is 2 -> WRONG: for conversion rate should be used the rate defined for the document date |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0040973 | | scheduled | collazoandy4 | Conversion rate can not be changed with Accruals Deferrals transactions |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-06-10 16:31 | malsasua | New Issue | |
2019-06-10 16:31 | malsasua | Assigned To | => Triage Finance |
2019-06-10 16:31 | malsasua | Modules | => Core |
2019-06-10 16:31 | malsasua | Resolution time | => 1561586400 |
2019-06-10 16:31 | malsasua | Triggers an Emergency Pack | => No |
2019-06-10 16:31 | malsasua | Relationship added | related to 0040973 |
2019-06-10 16:33 | Sandrahuguet | Assigned To | Triage Finance => nonofrancisco |
2019-06-13 15:43 | Sandrahuguet | Assigned To | nonofrancisco => collazoandy4 |
2019-06-13 22:28 | collazoandy4 | Status | new => scheduled |
2019-06-14 00:45 | collazoandy4 | Note Added: 0112775 | |
2019-06-20 16:33 | hgbot | Checkin | |
2019-06-20 16:33 | hgbot | Note Added: 0112916 | |
2019-06-20 16:33 | hgbot | Status | scheduled => resolved |
2019-06-20 16:33 | hgbot | Resolution | open => fixed |
2019-06-20 16:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.accrualsanddeferrals/rev/647e10318bcdd509429761d2e19e6a6ee0fa05e7 [^] |
2019-06-20 16:33 | hgbot | Checkin | |
2019-06-20 16:33 | hgbot | Note Added: 0112917 | |
2019-06-20 16:33 | hgbot | Checkin | |
2019-06-20 16:33 | hgbot | Note Added: 0112918 | |
2019-06-20 16:33 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.accrualsanddeferrals/rev/647e10318bcdd509429761d2e19e6a6ee0fa05e7 [^] => http://code.openbravo.com/erp/devel/pi/rev/a5063333225c315b9c67a3ea1c919379ba16c101 [^] |
2019-06-20 16:42 | Sandrahuguet | Project | Openbravo ERP => Modules |
2019-06-20 16:44 | Sandrahuguet | Category | 09. Financial management => Accruals and Deferrals |
2019-06-20 16:44 | Sandrahuguet | Review Assigned To | => Sandrahuguet |
2019-06-20 16:44 | Sandrahuguet | Note Added: 0112919 | |
2019-06-20 16:44 | Sandrahuguet | Status | resolved => closed |
2019-06-21 12:54 | hudsonbot | Checkin | |
2019-06-21 12:54 | hudsonbot | Note Added: 0112933 | |
2019-06-24 08:18 | hgbot | Checkin | |
2019-06-24 08:18 | hgbot | Note Added: 0112957 | |
2019-06-24 08:18 | hgbot | Checkin | |
2019-06-24 08:18 | hgbot | Note Added: 0112958 | |
2019-06-24 12:44 | hudsonbot | Checkin | |
2019-06-24 12:44 | hudsonbot | Note Added: 0112973 | |
Notes |
|
(0112775)
|
collazoandy4
|
2019-06-14 00:45
|
|
Go to Conversion Rate window and create a new record:
Valid from Date: First month date
Valid to Date: Last month date
Rate: 1
Create another record with:
Valid from Date: First next month date
Valid to Date: Last day of current year
Rate: 2
Configure Accruals Deferrals
Go to Purchase Invoice and create a new record:
BP: Bebidas Alegres, S.L.
Date Account: Today
Accruals and Deferrals:
Date From: First day of month
Date To: Last day of current year
Complete & Post the invoice and check accounting records are created:
Post the records and check current conversation rate is used |
|
|
(0112916)
|
hgbot
|
2019-06-20 16:33
|
|
Repository: erp/pmods/org.openbravo.accrualsanddeferrals
Changeset: 647e10318bcdd509429761d2e19e6a6ee0fa05e7
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Jun 13 18:13:14 2019 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.accrualsanddeferrals/rev/647e10318bcdd509429761d2e19e6a6ee0fa05e7 [^]
Fixes issue 41061:In Accruals and Deferrals functionality, the date to calculate
the conversion rate should be the document date
Now the date document date is used to calculate conversion rate when posting the lines
---
M src/org/openbravo/accrualsanddeferrals/erpCommon/ad_forms/DocAccDefPlan.java
M src/org/openbravo/accrualsanddeferrals/erpCommon/ad_forms/DocAccDefPlan_data.xsql
---
|
|
|
(0112917)
|
hgbot
|
2019-06-20 16:33
|
|
|
|
(0112918)
|
hgbot
|
2019-06-20 16:33
|
|
Repository: erp/devel/pi
Changeset: a5063333225c315b9c67a3ea1c919379ba16c101
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Jun 13 18:30:14 2019 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/a5063333225c315b9c67a3ea1c919379ba16c101 [^]
Fixes issue 41061:In Accruals and Deferrals functionality, the date to calculate
the conversion rate should be the document date
A new method to get the convertion date was created to be able to redefine in
modules
---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
---
|
|
|
|
|
|
|
|
|
(0112957)
|
hgbot
|
2019-06-24 08:18
|
|
|
|
(0112958)
|
hgbot
|
2019-06-24 08:18
|
|
|
|
|
|