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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020275
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2012-04-16 13:502012-04-21 14:24
ReportermaiteView Statuspublic 
Assigned Toeduardo_Argal 
PriorityimmediateResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiona673138d34c7
ProjectionnoneETAnoneTarget Version3.0MP11
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

0020275: Not possible to Post payment which uses credit and has total amount zero

DescriptionNot possible to Post payment which uses credit and has total amount zero
Steps To Reproduce1. Create Payment Out for any BP. Generate Credit=500. Process
2. Create Purchase Invoice for same BP. Add any line with total invoice amount=500. Process. Use previous Generated Credit to pay this invoice. Process.
3. Go to Created Payment which has Amount=0 and Used Credit=500 and try to post. You will obtain error message.

Payment with amount=0 should be posted although associated PM is not configured to allow payment's accounting
Proposed Solutionattached diff solves the problem
TagsRegression
Attached Filespatch file icon issuePostPaymentZeroAmount.patch [^] (1,400 bytes) 2012-04-16 13:51 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0018818 closededuardo_Argal Modules The error message is not clear when you want to post one reconciliation 
related to defect 0019363pi closededuardo_Argal Openbravo ERP Credit consumption accounting is wrong with multicurrency 

-  Notes
(0047682)
hgbot (developer)
2012-04-17 19:35

Repository: erp/devel/pi
Changeset: a673138d34c7f985528e3f4be5f4555d3fa2b13f
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Tue Apr 17 19:34:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a673138d34c7f985528e3f4be5f4555d3fa2b13f [^]

Fixes bug 20275

---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
A src-util/modulescript/build/classes/org/openbravo/modulescript/PaymentZeroAmount.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/PaymentZeroAmountData.class
A src-util/modulescript/src/org/openbravo/modulescript/PaymentZeroAmount.java
A src-util/modulescript/src/org/openbravo/modulescript/PaymentZeroAmount_data.xsql
---
(0047693)
mirurita (developer)
2012-04-18 12:51

Testing Plan:

Before applying this fix:

1. Create Payment Out for any BP. Generate Credit=500. Process
2. Create Purchase Invoice for same BP. Add any line with total invoice amount=500. Process. Use previous Generated Credit to pay this invoice. Process.
3. Go to Created Payment which has Amount=0 and Used Credit=500 and try to post. You will obtain error message.

4. Create Payment In for any BP. Generate Credit=200. Process
5. Create Sales Invoice for same BP. Add any line with total invoice amount=200. Process. Use previous Generated Credit to pay this invoice. Process.
6. Go to Created Payment which has Amount=0 and Used Credit=200 and try to post. You will obtain error message.

7. Apply the fix

8. Run ant smartbuild -Dlocal=no

9. Go to payments created in step 3) and 6) and they should appear unposted. If you run the posting process manually you should be able to post them successfully.
(0047696)
hgbot (developer)
2012-04-18 13:29

Repository: erp/devel/pi
Changeset: b0dec74a9b39fc5d69a4bedd15bd2c5edf50e910
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Wed Apr 18 13:06:17 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b0dec74a9b39fc5d69a4bedd15bd2c5edf50e910 [^]

Related to issue 20275: license text year updated to 2012

---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
---
(0047826)
hudsonbot (developer)
2012-04-21 14:24

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/2eb57286c1fc [^]

Maturity status: Test
(0047829)
hudsonbot (developer)
2012-04-21 14:24

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/2eb57286c1fc [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-04-16 13:50 maite New Issue
2012-04-16 13:50 maite Assigned To => vmromanos
2012-04-16 13:50 maite Modules => Advanced Payables and Receivables Mngmt
2012-04-16 13:50 maite Assigned To vmromanos => jonalegriaesarte
2012-04-16 13:51 maite Tag Attached: Regression
2012-04-16 13:51 maite Issue Monitored: networkb
2012-04-16 13:51 maite File Added: issuePostPaymentZeroAmount.patch
2012-04-16 14:01 maite Target Version => 3.0MP11
2012-04-16 16:32 jonalegriaesarte Relationship added related to 0018818
2012-04-16 16:33 jonalegriaesarte Relationship added related to 0019363
2012-04-16 17:34 shuehner Issue Monitored: shuehner
2012-04-17 11:10 eduardo_Argal Assigned To jonalegriaesarte => eduardo_Argal
2012-04-17 11:10 eduardo_Argal Status new => scheduled
2012-04-17 11:10 eduardo_Argal fix_in_branch => pi
2012-04-17 19:35 hgbot Checkin
2012-04-17 19:35 hgbot Note Added: 0047682
2012-04-17 19:35 hgbot Status scheduled => resolved
2012-04-17 19:35 hgbot Resolution open => fixed
2012-04-17 19:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a673138d34c7f985528e3f4be5f4555d3fa2b13f [^]
2012-04-18 12:51 mirurita Note Added: 0047693
2012-04-18 12:51 mirurita Status resolved => closed
2012-04-18 13:29 hgbot Checkin
2012-04-18 13:29 hgbot Note Added: 0047696
2012-04-21 14:24 hudsonbot Checkin
2012-04-21 14:24 hudsonbot Note Added: 0047826
2012-04-21 14:24 hudsonbot Checkin
2012-04-21 14:24 hudsonbot Note Added: 0047829


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker