Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013654Openbravo ERP09. Financial managementpublic2010-06-14 19:152010-07-24 22:54
networkb 
dalsasua 
immediatemajoralways
closedfixed 
20Community Appliance
2.50MP18 
2.50MP20 
Core
No
0013654: Accounting generated by cancelation remittance is not correct
the accounting of a settlement generated to cancel a debt payment of remittance is not correct
.Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement
 new record

.Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement >> Create Payment
 new record: Business partner: Sailor
             amount: 25
             receipt not checked

.Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement >> Create Payment >> Balance Payment
 new record: gl Item: "Renumeraciones ptes de pago"
             debit amount 25

. run process "manual settlement"

.Financial Management || Receivables & Payables || Transactions || Remittance || Header
 new record: remittance type: consolidated
 create line from: select payment generated in previous step


.Financial Management || Receivables & Payables || Transactions || Remittance Cancellation/Return || Remittance Cancellation/Return
 cancel payment generated in first step

. Financial Management || Receivables & Payables || Transactions || Settlement || Settlement
 select settlement generated in cancel payment
 post

The accounting generated by cancel settlement is from 400 to 400, and should be from 46500 (Remuneraciones ptes de pago) to 400
No tags attached.
related to defect 00125742.50MP14 closed dalsasua Uncorrect gl entry in cancelled settlement 
related to defect 0014061 closed dalsasua Payment status management posts lines belonging to manual settlements with no direct posting 
Issue History
2010-06-14 19:15networkbNew Issue
2010-06-14 19:15networkbAssigned To => dalsasua
2010-06-16 13:03adrianromeroStatusnew => scheduled
2010-06-16 13:03adrianromerofix_in_branch => pi
2010-06-24 19:12dalsasuaRelationship addedrelated to 0012574
2010-06-25 11:33hgbotCheckin
2010-06-25 11:33hgbotNote Added: 0028767
2010-06-25 11:33hgbotStatusscheduled => resolved
2010-06-25 11:33hgbotResolutionopen => fixed
2010-06-25 11:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f4c105a71ad681c0054bde3c6e5c877b038e8544 [^]
2010-06-25 11:34dalsasuaNote Added: 0028770
2010-06-25 11:35dalsasuaNote Added: 0028771
2010-06-30 12:17hudsonbotCheckin
2010-06-30 12:17hudsonbotNote Added: 0028908
2010-07-20 13:42hgbotCheckin
2010-07-20 13:42hgbotNote Added: 0029404
2010-07-20 13:42hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/f4c105a71ad681c0054bde3c6e5c877b038e8544 [^] => http://code.openbravo.com/erp/devel/pi/rev/eaa30574256d6461cc075de117c0011b723c8af5 [^]
2010-07-20 15:15sureshbabuNote Added: 0029408
2010-07-20 15:15sureshbabuStatusresolved => closed
2010-07-21 00:00anonymoussf_bug_id0 => 3032307
2010-07-24 22:54hudsonbotCheckin
2010-07-24 22:54hudsonbotNote Added: 0029542
2010-07-27 11:14dalsasuaRelationship addedrelated to 0014061

Notes
(0028767)
hgbot   
2010-06-25 11:33   
Repository: erp/devel/pi
Changeset: f4c105a71ad681c0054bde3c6e5c877b038e8544
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Fri Jun 25 11:30:51 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f4c105a71ad681c0054bde3c6e5c877b038e8544 [^]

Fixes issue 13654. Fixes issue 11438.
Manual settlements where all included payments are not direct posting are set to Disabled status when posting.
Remittances where all payments included in the lines comes from a manual settlement and have not active the direct posting flag, are set to Disabled when posting.

---
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement.java
M src/org/openbravo/erpCommon/ad_forms/DocDPManagement_data.xsql
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
M src/org/openbravo/erpCommon/ad_forms/DocPayment_data.xsql
---
(0028770)
dalsasua   
2010-06-25 11:34   
In order to fix this issue, fix for 12574 issue is reverted, and now remittances where all payments included in the lines comes from a manual settlement and have not active the direct posting flag, are set to Disabled when posting.
(0028771)
dalsasua   
2010-06-25 11:35   
NOTE: When I talk about remittances, I mean the Payment Status Management document created when processing the remittance
(0028908)
hudsonbot   
2010-06-30 12:17   
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/f4c105a71ad6 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0670375d782d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17726.obx [^]
(0029404)
hgbot   
2010-07-20 13:42   
Repository: erp/devel/pi
Changeset: eaa30574256d6461cc075de117c0011b723c8af5
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Tue Jul 20 13:41:49 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eaa30574256d6461cc075de117c0011b723c8af5 [^]

Fixes issue 13654
Added coalesce to avoid unwanted document cancellations

---
M src/org/openbravo/erpCommon/ad_forms/DocPayment_data.xsql
---
(0029408)
sureshbabu   
2010-07-20 15:15   
when i post the settlement document (with Allow Negative: unchecked) i am getting the entries as

46500 (Dr) - 25 euros
40000 (Cr) - 25 euros

But when i post the settlement document (With "Allow Negative": Checked) i am getting the enries as

46500 (Dr): 25 euros
40000 (Dr):(- 25) euros
(0029542)
hudsonbot   
2010-07-24 22:54   
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/eaa30574256d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/eb739d47ff2b [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17900.obx [^]