Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012839Openbravo ERP09. Financial managementpublic2010-03-29 17:302010-05-14 15:27
networkb 
dalsasua 
immediatemajoralways
closedfixed 
5
2.40MP12 
 
Core
No
0012839: It is not possible to cance a remittance that contains a payment with withholding
A purchase invoice includes withholding.
Its payment is included in a consolidated remittance.
When this remittance is trying to cancel it, this message is shown:

The amounts of the Canceled not charge and Generated amount for Witholding do not match
Go to Master Data Management > Business Partner Setup > Withholding.
Create a new record, and enter a rate.
Go to Master data management > Business Partner. Search for McGiver.
Go to Withholding tab.
Create a new record, and select the previous withholding.
Go to Purchase Management > Transactions > Purchase Invoice.
Create a new record.
Select McGiver, as BP. Also, select its withholding.
Go to Line tab.
Create a new record, selecting a product.
Go back to Header tab, and process it.
Go to Financial Management > Receivables and Payables > Transactions > Remittance.
Create a new record. Select as remittance type, Consolidated.
Press "Create lines from", and select the payment from the invoice.
Press OK, and complete.
Go to Financial Management > Receivables and Payables > Transactions > Bank Statement.
Create a new record. And press Create lines from.
Select the payment with same amount (negative) but other BP (IE Millman).
Press OK, and complete.
Go to Financial Management > Receivables and Payables > Transactions > Remittance Cancellation/Return.
Select the created remittance, and enter a date in Date Acct.
Press Cancel
No tags attached.
related to defect 0012458 closed dalsasua It is not possible to cancel a payment with witholding 
depends on backport 0012890 closed dalsasua It is not possible to cance a remittance that contains a payment with withholding 
related to defect 00133442.50MP19 closed sathiyan Settlement generated in remittance can not be associated to this remittance 
Issue History
2010-03-29 17:30networkbNew Issue
2010-03-29 17:30networkbAssigned To => dalsasua
2010-04-07 10:20dalsasuaStatusnew => scheduled
2010-04-07 10:20dalsasuaNote Added: 0025926
2010-04-07 10:20dalsasuafix_in_branch => pi
2010-04-21 12:30dalsasuaRelationship addedrelated to 0012458
2010-04-21 13:28hgbotCheckin
2010-04-21 13:28hgbotNote Added: 0026541
2010-04-21 13:28hgbotStatusscheduled => resolved
2010-04-21 13:28hgbotResolutionopen => fixed
2010-04-21 13:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/da5c2f332b5e46cbfaca5e9d512c1267cbccabf9 [^]
2010-04-21 15:16dalsasuaNote Added: 0026542
2010-04-28 09:28sureshbabuNote Added: 0026741
2010-04-28 09:28sureshbabuStatusresolved => closed
2010-04-29 00:00anonymoussf_bug_id0 => 2993867
2010-05-14 15:27hudsonbotCheckin
2010-05-14 15:27hudsonbotNote Added: 0027257
2010-05-18 07:31dalsasuaRelationship addedrelated to 0013344

Notes
(0025926)
dalsasua   
2010-04-07 10:20   
Issue is not in cancellation of remittance, but on processing of it: none of the created payments have got any withholding value, and the negative one should have it.
(0026541)
hgbot   
2010-04-21 13:28   
Repository: erp/devel/pi
Changeset: da5c2f332b5e46cbfaca5e9d512c1267cbccabf9
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Apr 21 13:43:26 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/da5c2f332b5e46cbfaca5e9d512c1267cbccabf9 [^]

Fixes issue 12839: It is not possible to cance a remittance

---
M src-db/database/model/functions/C_REMITTANCE_POST.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0026542)
dalsasua   
2010-04-21 15:16   
For QA: functional document ( http://wiki.openbravo.com/wiki/index.php?title=Functional_Documentation%2FFinancial_Management%2FReceivables_and_Payables&diff=52837&oldid=38373 [^] ) and user manual ( http://wiki.openbravo.com/wiki/index.php?title=ERP%2F2.50%2FUser_Manual%2FFinancial_Management&diff=52838&oldid=50462 [^] ) have been updated with new behavior of remittances.
(0026741)
sureshbabu   
2010-04-28 09:28   
tested working fine
(0027257)
hudsonbot   
2010-05-14 15:27   
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/da5c2f332b5e [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/36f76c8d7193 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17198.obx [^]