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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008895
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 08. Project and service managementmajoralways2009-05-05 09:192009-05-29 00:00
ReporternetworkbView Statuspublic 
Assigned Tojayakumar 
PriorityimmediateResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision33a0697f2aef
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_11
OS VersionrPath LinuxDatabase version8.3.5Ant version1.7.1
Product Version2.40MP3SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008895: report "project profitability" is incorrect with invoices voids

Descriptionthe field "revenue real" in service column, and the field "reinvoicing real" in expense column, when exist any void invoice, the negative invoice is included in calcule, but the positive invoice is not included
Steps To Reproduce. create invoice I with total amount 100 euros with project p
. run project profitability report with project p selected:
   field real revenue in service column is 100
. void invoice I
. run project profitability report with project p selected:
   field real revenue in service column is -100

the same error is with expenses invoices.
Proposed SolutionThe problem is not in the report which correctly displays both invoices in Complete and Closed status.

The problem is that the negative invoice created when voiding has the status closed. Both the voided invoice and the invoice created to void it have to be in status void.

Review the following lines in the procedure C_INVOICE_POST:
-- Reversal Transaction is closed
          UPDATE C_INVOICE
            SET DocStatus='CL', -- the reversal transaction
            DocAction='--',
            Processed='Y'
          WHERE C_Invoice_ID=v_RInvoice_ID;
Tagscomsupchennai_sprint6
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0009037 closedrafaroda Change Project Profitability citeria for displaying invoices 
depends on backport 0008903 closedjayakumar report "project profitability" is incorrect with invoices voids 
depends on backport 0008923 closedjayakumar report "project profitability" is incorrect with invoices voids 

-  Notes
(0016036)
networkb (developer)
2009-05-05 11:13
edited on: 2009-05-05 12:33

Dear team,
We have tested this bug in last MP (240MP3), but it was reported by user with 2.35 MP7 version, for this reason, we need backport to 2.35.

Thanks

(0016208)
hgbot (developer)
2009-05-11 06:18

Repository: erp/devel/pi
Changeset: 33a0697f2aef936426fbf7ae17dfdb388a284e2a
Author: Jayakumar Kasinathan <jayakumar.kasinathan <at> openbravo.com>
Date: Sun May 10 21:51:09 2009 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/33a0697f2aef936426fbf7ae17dfdb388a284e2a [^]

Fixes bug 8895 report \"project profitability\" is incorrect with invoices voids.

---
M src-db/database/model/functions/C_INVOICE_POST.xml
---
(0016719)
sureshbabu (reporter)
2009-05-28 11:46

Tested working fine

- Issue History
Date Modified Username Field Change
2009-05-05 09:19 networkb New Issue
2009-05-05 09:19 networkb Assigned To => rafaroda
2009-05-05 09:19 networkb Regression testing => No
2009-05-05 11:13 networkb Note Added: 0016036
2009-05-05 12:04 psarobe Status new => scheduled
2009-05-05 12:04 psarobe fix_in_branch => pi
2009-05-05 12:33 networkb Note Edited: 0016036
2009-05-06 11:06 psarobe Status scheduled => feedback
2009-05-06 11:06 psarobe Status feedback => scheduled
2009-05-07 12:53 rafaroda Assigned To rafaroda => sathiyan
2009-05-07 12:53 rafaroda fix_in_branch pi =>
2009-05-07 12:53 rafaroda Steps to Reproduce Updated
2009-05-07 13:16 sathiyan Assigned To sathiyan => jayakumar
2009-05-11 06:18 hgbot Checkin
2009-05-11 06:18 hgbot Note Added: 0016208
2009-05-11 06:18 hgbot Status scheduled => resolved
2009-05-11 06:18 hgbot Resolution open => fixed
2009-05-11 06:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/33a0697f2aef936426fbf7ae17dfdb388a284e2a [^]
2009-05-11 06:20 jayakumar Tag Attached: comsupchennai_sprint6
2009-05-15 08:20 rafaroda Relationship added related to 0009037
2009-05-28 11:46 sureshbabu Status resolved => closed
2009-05-28 11:46 sureshbabu Note Added: 0016719
2009-05-28 11:46 sureshbabu Fixed in Version => pi
2009-05-29 00:00 anonymous sf_bug_id 0 => 2798137


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker