Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018431
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2011-09-05 12:582011-10-12 01:56
ReportermiruritaView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiond2aab6bd1c3a
ProjectionnoneETAnoneTarget Version3.0MP5
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018431: Void payment in/out with gl item lines does not work properly

DescriptionWhen you void a payment containing GL Items the payment remains in a non stable status.
Steps To Reproduce1) Configure new payment method as follows:
- Payment In Allowed: Yes
- Execution Type: Automatic
- Execution Process: Simple Execution Process
- Deferred: Yes
2) Create new Payment In and select in the header previously created payment method.
3) Click on Add Details button
4) Select GL Item transaction type
5) Add any GL Item and click on Process button
6) Try to void the payment.
 6.1) Click on Reactivate button
 6.2) Select Void option
7) Check the payment status
 7.1) Payment Line is removed
 7.2) Generated credit is updated.
Proposed SolutionThe payment line should be canceled not removed.
The generated credit should not be affected when voiding a payment with gl items.

FIN_PaymentProcess.java line 544
GL Item payment line is taken as a credit payment:
else if (paymentScheduleDetail.getOrderPaymentSchedule() == null
                    && paymentScheduleDetail.getInvoicePaymentSchedule() == null)
TagsNo tags attached.
Attached Filespng file icon Void payment with GL Items.png [^] (33,538 bytes) 2011-09-05 12:58

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00184873.0MP5 closedvmromanos Void payment in/out with gl item lines does not work properly 

-  Notes
(0040846)
hgbot (developer)
2011-09-09 14:11

Repository: erp/devel/pi
Changeset: d2aab6bd1c3a08e9ac3f578ad94e2778363a2753
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Fri Sep 09 14:11:18 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d2aab6bd1c3a08e9ac3f578ad94e2778363a2753 [^]

Fixed bug 18431: Void payment in/out with gl item lines does not work properly
The payment line should be canceled not removed.
The generated credit should not be affected when voiding a payment with gl items.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0040910)
mirurita (developer)
2011-09-12 13:39

Working fine.
(0041610)
hudsonbot (developer)
2011-10-12 01:56

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/9bd2b5c2d982 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-09-05 12:58 mirurita New Issue
2011-09-05 12:58 mirurita Assigned To => vmromanos
2011-09-05 12:58 mirurita File Added: Void payment with GL Items.png
2011-09-05 12:58 mirurita Modules => Advanced Payables and Receivables Mngmt
2011-09-09 13:57 vmromanos Status new => scheduled
2011-09-09 13:57 vmromanos fix_in_branch => pi
2011-09-09 14:11 hgbot Checkin
2011-09-09 14:11 hgbot Note Added: 0040846
2011-09-09 14:11 hgbot Status scheduled => resolved
2011-09-09 14:11 hgbot Resolution open => fixed
2011-09-09 14:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d2aab6bd1c3a08e9ac3f578ad94e2778363a2753 [^]
2011-09-12 13:39 mirurita Note Added: 0040910
2011-09-12 13:39 mirurita Status resolved => closed
2011-10-12 01:56 hudsonbot Checkin
2011-10-12 01:56 hudsonbot Note Added: 0041610


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker