Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012939Openbravo ERP09. Financial managementpublic2010-04-12 13:072010-05-20 11:15
networkb 
vmromanos 
urgentmajoralways
closedfixed 
5
2.40MP12 
 
Core
No
0012939: Purchase invoice payment is not cancelled when it contains withholding
A payment is created with two payments:
*One positive, with withholding
*One negative, same as previous one, with same withholding.

A purchase invoice is created with withholding, and same amount than negative payments. When processing, invoice payment is not cancelled with the negative one.

Note: it has tested in Openbravo ERP 2.40MP12.3 and Openbravo ERP 2.50MP14

Go to Master Data Management > Business Parnter Setup > Withholding.
Create a new record. Enter a name and a rate (IE, 1)
Go to Master Data Management > Business Partner. Search, for McGiver partner.
Go to withholding tab.
Create a new record, and select the previous withholding.
Go to Financial Management > Receivables and Payables > Transactions > Settlement.
Create a new record.
Go to Created payment.
Create a new record, select a BP (IE McGiver), enter as amount, 990, as withholdingamount, 10.
Select the previous withholding and uncheck Receipt.
Create other record, with same BP, amount -990, -10 as withholding, select the previous withholding, and uncheck receipt.
Go to main tab, and process it.
Go to Purchase management > Transactions > Purchase Invoice.
Create a new record.
Select same BP (McGiver), and select the withholding.
Go to Line tab, and create a new one.
Select a product, and enter as unit price,1000.
Select as Tax, Exempt.
Go to header tab, and process it.
Go to Payment tab, and check it.
No tags attached.
depends on backport 0013122 closed vmromanos Purchase invoice payment is not cancelled when it contains withholding 
has duplicate feature request 0012940 closed vmromanos Add withholding combo when adding a new payment in bank statement line 
related to defect 0013363 closed shuehner api check build 393 fails 
Issue History
2010-04-12 13:07networkbNew Issue
2010-04-12 13:07networkbAssigned To => dalsasua
2010-04-26 16:32dalsasuaStatusnew => scheduled
2010-04-26 16:32dalsasuaNote Added: 0026695
2010-04-26 16:32dalsasuafix_in_branch => pi
2010-05-12 11:02balamuruganAssigned Todalsasua => balamurugan
2010-05-17 18:39vmromanosAssigned Tobalamurugan => vmromanos
2010-05-17 18:40hgbotCheckin
2010-05-17 18:40hgbotNote Added: 0027385
2010-05-17 18:40hgbotStatusscheduled => resolved
2010-05-17 18:40hgbotResolutionopen => fixed
2010-05-17 18:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/eb07a438c6dcaabbef42997206ed90e82a1a9ced [^]
2010-05-17 18:41vmromanosRelationship addedhas duplicate 0012940
2010-05-18 11:31arunkumarNote Added: 0027408
2010-05-18 11:31arunkumarStatusresolved => closed
2010-05-18 12:13shuehnerRelationship addedrelated to 0013363
2010-05-19 00:00anonymoussf_bug_id0 => 3003673
2010-05-20 11:15hudsonbotCheckin
2010-05-20 11:15hudsonbotNote Added: 0027589

Notes
(0026695)
dalsasua   
2010-04-26 16:32   
Planned to be fixed by May, 11th.
(0027385)
hgbot   
2010-05-17 18:40   
Repository: erp/devel/pi
Changeset: eb07a438c6dcaabbef42997206ed90e82a1a9ced
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon May 17 18:41:28 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eb07a438c6dcaabbef42997206ed90e82a1a9ced [^]

Fixed bug 12939: Allow withholding when creating payment from Bank

---
M src-db/database/model/functions/C_DEBT_PAYMENT_CREATE.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_PROCESS_PARA.xml
---
(0027408)
arunkumar   
2010-05-18 11:31   
Tested working fine
(0027589)
hudsonbot   
2010-05-20 11:15   
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/eb07a438c6dc [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/a7901e097e1a [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17407.obx [^]