Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014424Openbravo ERPZ. Otherspublic2010-09-03 14:122010-12-09 16:06
networkb 
eduardo_Argal 
urgentmajoralways
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0014424: Wrong GL Posting when there is a payment with "write off"
There is a wrong posting when a payment is done using the option of write off. When the payment is done, the amount "written off" goes directly to a Loss account (correct). When we reconcile, the amount of "write off" should not appear in the GL posting.
To reproduce it, please follow these steps:
1) We create one invoice "Invoice No. 100018" of amount 206.30 and business partner "Proveedor USA" (Screenshot 1.png)
2) Then we create a register in "Receive Payments" with No. "400033" and write the amount of 206. When we click on "Add Payment details" we check "Write off the difference" (Screenshot 2.png)
3) We process it selecting "Process received payment(s)" (Screenshot 3.png)
4) Then we see there is an entry in the General Ledger Journal associated to this transaction: Screenshot "4.png". If we navigate through it, we go to the invoice No. "100018".
5) If we add the transaction into the "Financial Account" we find Screenshot "5.png".
6) If we see the GL Journal, we see two more entries related to this operation: Screenshot "6a.png" and "6b.png". Then we see two entries to 694. Moreover, if we try to navigate through the Journal entry shown in "6b.png" gives as an error, shown in "7.png".
No tags attached.
blocks defect 0014449 closed eduardo_Argal Wrong GL Posting when there is a payment with "write off" from window "Make Payment" 
zip Screenshots.zip (456,865) 2010-09-03 16:42
https://issues.openbravo.com/file_download.php?file_id=3023&type=bug
Issue History
2010-09-03 14:12networkbNew Issue
2010-09-03 14:12networkbAssigned To => dalsasua
2010-09-03 14:12networkbFile Added: Screenshots.zip
2010-09-03 16:39networkbSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=800#r800
2010-09-03 16:39networkbFile Deleted: Screenshots.zip
2010-09-03 16:42networkbFile Added: Screenshots.zip
2010-09-03 16:43networkbIssue Monitored: emartinez
2010-09-03 17:50networkbProjectOpenbravo ERP => Modules
2010-09-03 17:51networkbCategory09. Financial management => Advance Payables and Receivables
2010-09-03 17:51networkbversion2.50MP20 =>
2010-09-03 17:51networkbTarget Version2.50MP22 =>
2010-09-03 17:51networkbAssigned Todalsasua => networkb
2010-09-03 17:52networkbAssigned Tonetworkb => eduardo_Argal
2010-09-06 10:09emartinezNote Added: 0030629
2010-09-06 10:09emartinezNote View State: private: 30629
2010-09-06 10:15networkbNote Deleted: 0030629
2010-09-06 22:50eduardo_ArgalStatusnew => scheduled
2010-09-06 22:50eduardo_Argalfix_in_branch => pi
2010-09-09 09:51jonalegriaesartePriorityhigh => urgent
2010-09-09 09:51jonalegriaesartefix_in_branchpi =>
2010-09-09 11:19rafarodaIssue Monitored: rafaroda
2010-09-13 16:09hgbotCheckin
2010-09-13 16:09hgbotNote Added: 0030997
2010-09-13 16:09hgbotStatusscheduled => resolved
2010-09-13 16:09hgbotResolutionopen => fixed
2010-09-13 16:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5096d95183bb4707ca441f882fba5711509a1545 [^]
2010-09-14 11:10eduardo_ArgalRelationship addedblocks 0014449
2010-09-15 20:55hudsonbotCheckin
2010-09-15 20:55hudsonbotNote Added: 0031108
2010-09-29 09:08sureshbabuNote Added: 0031432
2010-09-29 09:08sureshbabuStatusresolved => closed
2010-12-09 16:06anonymoussf_bug_id0 => 3133445

Notes
(0030997)
hgbot   
2010-09-13 16:09   
Repository: erp/devel/pi
Changeset: 5096d95183bb4707ca441f882fba5711509a1545
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon Sep 06 22:47:31 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5096d95183bb4707ca441f882fba5711509a1545 [^]

Fixes bug 0014424: Wrong GL Posting when there is a payment with...

---
M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java
---
(0031108)
hudsonbot   
2010-09-15 20:55   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/5096d95183bb [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/80bfed94a6e8 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18410.obx [^]
(0031432)
sureshbabu   
2010-09-29 09:08   
verified