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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018275
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2011-08-12 15:232011-08-22 18:39
ReportermiruritaView Statuspublic 
Assigned Tomirurita 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision4566e9ce5e26
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018275: AlertsForWrongInvoices not taking in account VOID payment schedule details

DescriptionAfter the new status included in payments (void), the sum of the payment schedule details don't have to match with the payment schedule amount.

You can have the following scenario in which an invoice has been included in a payment and then this payment voided. The status in the database is the following:
Invoice Payment Schedule = 100
Payment Schedule Detail = 100
Payment Schedule Detail = 100 (voided)
That's why the new rule is: sum of the not voided payment schedule details have to match with the payment schedule amount.

The alert (AlertsForWrongInvoices) included in APRM for detecting discrepancies must be updated to take in account voided payment schedule details.
Steps To Reproduce1) Create invoice 1 (100€)
2) Pay completely invoice 1 with a payment method configured to be deferred (Awaiting Execution)
3) Void this payment
4) You will see the alert.
Proposed SolutionIgnore voided payment schedule details in the alert query.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0018328 closedmirurita AlertsForWrongInvoices not taking in account VOID payment schedule details 

-  Notes
(0040379)
hgbot (developer)
2011-08-22 12:25

Repository: erp/devel/pi
Changeset: 4566e9ce5e26355f05386944c5b5e186881bd155
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Aug 22 12:23:24 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4566e9ce5e26355f05386944c5b5e186881bd155 [^]

Fixes issue 18275: AlertsForWrongInvoices modulescript not taking in account void psd-s

---
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongInvoices.class
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongInvoicesData.class
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongInvoices.java
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongInvoices_data.xsql
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongInvoicesData.java
---
(0040385)
psanjuan (manager)
2011-08-22 13:58

fixed and working
(0040423)
hudsonbot (developer)
2011-08-22 18: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/30e6a459386a [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-08-12 15:23 mirurita New Issue
2011-08-12 15:23 mirurita Assigned To => mirurita
2011-08-12 15:23 mirurita Modules => Core
2011-08-19 14:46 mirurita Status new => scheduled
2011-08-19 14:46 mirurita fix_in_branch => pi
2011-08-22 12:25 hgbot Checkin
2011-08-22 12:25 hgbot Note Added: 0040379
2011-08-22 12:25 hgbot Status scheduled => resolved
2011-08-22 12:25 hgbot Resolution open => fixed
2011-08-22 12:25 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4566e9ce5e26355f05386944c5b5e186881bd155 [^]
2011-08-22 13:58 psanjuan Note Added: 0040385
2011-08-22 13:58 psanjuan Status resolved => closed
2011-08-22 13:58 psanjuan fix_in_branch pi =>
2011-08-22 18:39 hudsonbot Checkin
2011-08-22 18:39 hudsonbot Note Added: 0040423


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker