Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014825 | Modules | [Openbravo ERP] 09. Financial management | public | 2010-10-08 07:27 | 2014-04-01 21:46 |
|
Reporter | eintelau | |
Assigned To | eduardo_Argal | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | 5.2 |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
Support ticket | |
OBNetwork customer | No |
Regression introduced in release | |
|
Summary | 0014825: Credit Memo journal entry is incorrect when APRM module enabled |
Description | When a credit memo (AP or AR) is posted using the APRM module, the generated journal is incorrect and doesn't balance.
For example, if you have AP Credit Memo for $400, the expected journal is:
DR CR
Payables 400
Expense 400
What you actually get is:
DR CR
Payables 400
Expense 400
Suspense Balance 800
The error is due to the fact that the credit memo records it line amounts/totals as positive value, but the payment plan has a negative amount. When the document is posted, the negative payment amount is used to create a payables DR. However because the amount is negative (& negative amounts are disabled), the DR is turned into a CR.
If you look at the logic for the same process without the APRM module installed you can see that the debt payment amount is negated before being used to create the journal entry.
|
Steps To Reproduce | 1) Enable APRM module
2) Create a AP credit memo
3) Complete & post the credit memo
4) Check the resulting journal entries. |
Proposed Solution | Negate the payment amount before using it to create a payables/receivables journal line. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-10-08 07:27 | eintelau | New Issue | |
2010-10-08 07:27 | eintelau | Assigned To | => dalsasua |
2010-10-08 07:57 | dalsasua | Assigned To | dalsasua => eduardo_Argal |
2010-10-13 05:25 | hgbot | Checkin | |
2010-10-13 05:25 | hgbot | Note Added: 0031784 | |
2010-10-13 05:25 | hgbot | Status | new => resolved |
2010-10-13 05:25 | hgbot | Resolution | open => fixed |
2010-10-13 05:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fc2b40560e15dfb49c821dc520a952d5e182d8f1 [^] |
2010-10-13 10:07 | hudsonbot | Checkin | |
2010-10-13 10:07 | hudsonbot | Note Added: 0031792 | |
2010-10-19 16:54 | adrianromero | Note Added: 0031985 | |
2010-10-19 16:54 | adrianromero | Status | resolved => new |
2010-10-19 16:54 | adrianromero | Resolution | fixed => open |
2010-10-19 17:27 | adrianromero | Note Added: 0031988 | |
2010-10-26 11:58 | hgbot | Checkin | |
2010-10-26 11:58 | hgbot | Note Added: 0032215 | |
2010-10-26 11:58 | hgbot | Status | new => resolved |
2010-10-26 11:58 | hgbot | Resolution | open => fixed |
2010-10-26 11:58 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/fc2b40560e15dfb49c821dc520a952d5e182d8f1 [^] => http://code.openbravo.com/erp/devel/pi/rev/fb8df49a0cc3f9a314dfd2ce43ff047782a4703c [^] |
2010-11-05 12:44 | hudsonbot | Checkin | |
2010-11-05 12:44 | hudsonbot | Note Added: 0032415 | |
2010-11-11 11:56 | psarobe | Project | Openbravo ERP => Modules |
2014-04-01 21:46 | plujan | Note Added: 0065713 | |
2014-04-01 21:46 | plujan | Status | resolved => closed |
Notes |
|
(0031784)
|
hgbot
|
2010-10-13 05:25
|
|
Repository: erp/devel/pi
Changeset: fc2b40560e15dfb49c821dc520a952d5e182d8f1
Author: Ben Sommerville <ben.sommerville <at> eintel.com.au>
Date: Wed Oct 13 14:23:12 2010 +1100
URL: http://code.openbravo.com/erp/devel/pi/rev/fc2b40560e15dfb49c821dc520a952d5e182d8f1 [^]
Fixes issue 14825: Negate payment amounts for credit memos when posting journal with APRM installed
---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
---
|
|
|
|
|
|
|
Changeset has been backed out in order to review properly the fix before |
|
|
|
|
|
(0032215)
|
hgbot
|
2010-10-26 11:58
|
|
|
|
|
|
|
(0065713)
|
plujan
|
2014-04-01 21:46
|
|
Closed as marked as Resolved for too long |
|