Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012458Openbravo ERP09. Financial managementpublic2010-02-24 16:372010-04-19 21:11
networkb 
dalsasua 
highminoralways
closedfixed 
5
2.40MP12 
 
Core
No
0012458: It is not possible to cancel a payment with witholding
When a payment with withholding is cancelled, this message appears:

Error:
The amounts of the Canceled not charge and Generated amount for Witholding do not match
    
        
The problem is that there is no possibility to cancel withholding amount. In cancelled payment, there is no field for it.
Create a new withholding in Master Data Management || Business Partner Setup || Withholding. Set as Rate, 10.
Go to Master Data Management || Business Partner.
Select one BP, such as McGiver.
Go to Withholding tab.
Select the previous withholding and save.
Go to Procurement Management || Transactions || Purchase Invoice.
Create a new register.
Select McGiver, as BP. Also, select the withholding created in the combo.
Go to Line tab.
Create a new register with a product.
Go back to Header, and complete it.
Go to Financial Management || Receivables & Payables || Transactions || Settlement.
Create a new register.
Press "Create lines from". Search.
Check the payment created in purchase invoice and set the total amount in "Cancelled".
Press OK.
Complete it.
No tags attached.
depends on backport 0012794 closed dalsasua It is not possible to cancel a payment with witholding 
related to defect 0012839 closed dalsasua It is not possible to cance a remittance that contains a payment with withholding 
Issue History
2010-02-24 16:37networkbNew Issue
2010-02-24 16:37networkbAssigned To => dalsasua
2010-03-24 23:46dalsasuaStatusnew => scheduled
2010-03-24 23:46dalsasuafix_in_branch => pi
2010-03-24 23:47hgbotCheckin
2010-03-24 23:47hgbotNote Added: 0025710
2010-03-24 23:47hgbotStatusscheduled => resolved
2010-03-24 23:47hgbotResolutionopen => fixed
2010-03-24 23:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/916c4057ecd71c69a9d669aa468fc566a11cccd0 [^]
2010-03-25 00:52hgbotCheckin
2010-03-25 00:52hgbotNote Added: 0025713
2010-03-25 00:52hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/916c4057ecd71c69a9d669aa468fc566a11cccd0 [^] => http://code.openbravo.com/erp/devel/pi/rev/d5815fdb7084c3af5018e2e022913f1e7b584c02 [^]
2010-04-13 16:35psarobeNote Added: 0026146
2010-04-13 16:35psarobeStatusresolved => closed
2010-04-14 00:00anonymoussf_bug_id0 => 2986797
2010-04-19 21:11hudsonbotCheckin
2010-04-19 21:11hudsonbotNote Added: 0026383
2010-04-19 21:11hudsonbotCheckin
2010-04-19 21:11hudsonbotNote Added: 0026384
2010-04-21 12:30dalsasuaRelationship addedrelated to 0012839

Notes
(0025710)
hgbot   
2010-03-24 23:47   
Repository: erp/devel/pi
Changeset: 916c4057ecd71c69a9d669aa468fc566a11cccd0
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Mar 24 23:55:49 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/916c4057ecd71c69a9d669aa468fc566a11cccd0 [^]

fixes issue 12458: It is not possible to cancel a payment with witholding

---
M src-db/database/model/functions/C_SETTLEMENT_POST.xml
M src/org/openbravo/erpCommon/ad_forms/DocLinePayment_data.xsql
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0025713)
hgbot   
2010-03-25 00:52   
Repository: erp/devel/pi
Changeset: d5815fdb7084c3af5018e2e022913f1e7b584c02
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Thu Mar 25 00:59:29 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d5815fdb7084c3af5018e2e022913f1e7b584c02 [^]

Fixes issue 12458
Improved comparison of figures, taking into account
different precisions

---
M src/org/openbravo/erpCommon/ad_forms/DocPayment.java
---
(0026146)
psarobe   
2010-04-13 16:35   
Testes working fine
(0026383)
hudsonbot   
2010-04-19 21:11   
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/916c4057ecd7 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]
(0026384)
hudsonbot   
2010-04-19 21:11   
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/d5815fdb7084 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]