Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023055Openbravo ERPZ. Otherspublic2013-02-12 12:532013-02-28 16:39
maite 
ioritzCia 
urgentmajoralways
closedfixed 
5
 
3.0MP21 
Advanced Payables and Receivables Mngmt
No
0023055: Error obtained when trying to Void a payment
Error "Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1" obtained when trying to Void a payment
1. Define Payment Term fractionated in 3: one line 20% at 5 days, other line 30% at 10 days and finally in header set 15 days
2. Register Sales Invoice using previous payment term for any BP, product and amount and process.
3. Create Remittance header with log due date. Select Orders or Invoice and press "show alternative payment methods". 3 lines related with your invoice will be showed (as payment term is fractionated in 3). Select the last one and Process Remittance.
4. Go to Settle/Protest remittance and Protest this line.
5. Access to payment related with remittance line and Void it
6. Create new Remittance header with long due date. Select Orders or Invoice and press "show alternative payment methods". In that case, select:
  - line selected in previous remittance
  - other line of same invoice which was fractionated in 3
  - line of different invoice but from same BP
and process remittance grouping by Business Partner
7. Go to Settle/Protest remittance and Protest this line.
8. Access to payment related with that remittance line and Void it. Error "Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1" will be obtained
No tags attached.
diff void4.diff (2,391) 2013-02-21 17:21
https://issues.openbravo.com/file_download.php?file_id=5998&type=bug
Issue History
2013-02-12 12:53maiteNew Issue
2013-02-12 12:53maiteAssigned To => dmiguelez
2013-02-12 12:53maiteModules => Advanced Payables and Receivables Mngmt
2013-02-12 12:53maiteTriggers an Emergency Pack => No
2013-02-12 12:53maiteIssue Monitored: networkb
2013-02-12 12:54maiteAssigned Todmiguelez => ioritzCia
2013-02-12 12:54maiteTarget Version => 3.0MP21
2013-02-21 17:21maiteFile Added: void4.diff
2013-02-25 09:07hgbotCheckin
2013-02-25 09:07hgbotNote Added: 0056738
2013-02-25 09:07hgbotStatusnew => resolved
2013-02-25 09:07hgbotResolutionopen => fixed
2013-02-25 09:07hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ddfd1c8e6194b71ac84190cd9bcfaac7a9acddbc [^]
2013-02-27 12:51maiteNote Added: 0056803
2013-02-27 12:51maiteStatusresolved => closed
2013-02-28 16:39hudsonbotCheckin
2013-02-28 16:39hudsonbotNote Added: 0056848

Notes
(0056738)
hgbot   
2013-02-25 09:07   
Repository: erp/devel/pi
Changeset: ddfd1c8e6194b71ac84190cd9bcfaac7a9acddbc
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Fri Feb 22 09:21:08 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ddfd1c8e6194b71ac84190cd9bcfaac7a9acddbc [^]

Fixes issue 23055: Error obtained when trying to Void a payment.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0056803)
maite   
2013-02-27 12:51   
verified
(0056848)
hudsonbot   
2013-02-28 16:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/8c5cb16254f4 [^]

Maturity status: Test