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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012907
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2010-04-08 06:452010-12-09 16:00
ReportersureshbabuView Statuspublic 
Assigned Togorkaion 
PriorityhighResolutionfixedFixed in Version2.50
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM 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

0012907: When invoice is void after payment is made, then the payment is not properly handled

DescriptionInvoice cann't be reactivated after a payment is made but system allows the user to void the invoice after payment is made but right now this scenario not rightly handled in the system.

Here i created a purchase order(PO1) for 100 euros, then i created payment document(Pay1) using Make payment for 10 euros. After that i have created a sales invoice(Inv1) for the above created Sales order. After completiing the sales invoice i am finding the "Paid amount" is rightly updated in the 'payment monitor' section. Then i voided the invoice (inv1) and Inv2 is created with negative amount. Both Inv1 and Inv2 are moved to Void status.

Then i have created Inv3 for the same PO1, after i complete the Inv3 i am finding the payment details are not updated in Payment monitor section in Inv3.

Which i think is error.

 
Steps To Reproduce1)Create and complete a Purchase order (Po1) for 100 euros
2)Create a Payment document using Make Payment(Pay1) for 10 euros
3 Create and complete a purchase invoice using line details from (Po1)
4)Once the invoice(Inv1) is completed payment details will get updatd in payment monitor section. That is paid amount field is assigned with 10
5)Then i tried to void the iinvoice (Inv1) by clicking the Void button
6)Inv2 is created with Negative amount.
7) Both Inv1 & Inv2 are moved to Void status.

8) Then i created a purchase invoice(Inv3) using line details from (Po1)
9)Once the invoice(Inv3) is completed, i am finding that payment details are not getting updatd in payment monitor section. That is paid amount field is assigned with 0.00

Not sure how "Void" functionality is handled when a payment is handled already made for a invoice.

 
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0026168)
gorkaion (developer)
2010-04-14 11:36

This issue has been solved on changeset 147:b14cb4441154 of the module.

When a processed invoice is void it always creates a reversal invoice with negative amounts.

When the invoice doesn't have any payment the payment plans are deleted.

If the invoice has a prepayment (as in this issue's example). The payment plans are deleted as well. So the 3rd invoice will include the prepayment.

If the invoice has some payment and exception is raised not allowing to void it.
(0026359)
hudsonbot (developer)
2010-04-19 21:10

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/d3ff5ead7684 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^]
(0026782)
sureshbabu (reporter)
2010-04-28 15:17

Tested all the three scenarios working fine

- Issue History
Date Modified Username Field Change
2010-04-08 06:45 sureshbabu New Issue
2010-04-08 06:48 sureshbabu Assigned To => gorkaion
2010-04-08 09:13 sureshbabu Summary Invoice cann't be reactivated after a payment is made but system allows the user to void the invoice after payment is made => When invoice is void after payment is made, then the payment is not properly handled
2010-04-14 11:32 gorkaion Status new => scheduled
2010-04-14 11:32 gorkaion fix_in_branch => pi
2010-04-14 11:36 gorkaion Note Added: 0026168
2010-04-14 11:36 gorkaion Status scheduled => resolved
2010-04-14 11:36 gorkaion Resolution open => fixed
2010-04-19 21:10 hudsonbot Checkin
2010-04-19 21:10 hudsonbot Note Added: 0026359
2010-04-28 15:17 sureshbabu Note Added: 0026782
2010-04-28 15:17 sureshbabu Status resolved => closed
2010-04-28 15:17 sureshbabu Fixed in Version => 2.50
2010-12-09 16:00 anonymous sf_bug_id 0 => 3133111


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker