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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011511
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2009-11-26 09:422009-12-19 00:36
ReportersureshbabuView Statuspublic 
Assigned Toharikrishnan 
PriorityimmediateResolutionfixedFixed in Version2.50MP10
StatusclosedFix in branchFixed in SCM revisionff2b3c15d364
ProjectionnoneETAnoneTarget Version2.50MP11
OSLinux 64 bitDatabaseOracleJava version
OS VersionDatabase versionAnt version
Product Version2.50MP9SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011511: Invoice amount wrongly calculated when invoice is created by Generate invoice from receipt button

DescriptionInvoice amount wrongly calculated when invoice is created using Generate invoice from receipt button, when receipt is created for partially qty.

This affects QS flows
Steps To Reproducecreate and complete a purchase order for qty = 10 (Assume that unit price : 2.55)
Create a receipt for qty =5
create invoice from receipt by clicking the button "Generate Invoice From receipt"
Process complete successfully message appears along with Invoice id

Open the newly generated invoice id and verify the line Net amount in lines tab

Expected result : 12.75 (qty * unit price) 5 * 2.55= 12.75

Actual result: 25.50 (10 & 2.55 = 25.50)

Note: please refer the screen shot attached with this for more details
TagsNo tags attached.
Attached Filesjpg file icon invoice amount wrongly calculated.JPG [^] (176,580 bytes) 2009-11-26 09:42

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 00116142.50MP11 closedrafaroda Incorrect Line Net Amount when you generate invoice from receipt 
related to defect 00115122.50MP10 closedrafaroda Invoice line net amount wrongly rounded of, while line item is created using the button create line from 

-  Notes
(0022901)
harikrishnan (reporter)
2009-12-17 09:29

Steps to Test.

1.Create a purchase order(Procurement Management || Transactions || Purchase Order || Header ) with following details:
    Header:
        Business Partner = Any (Eg: McGiver Supplies)
    Lines:
        Product = Any (Eg: Hat)
        Quantity = 10
In this case (product = hat) the unit price will be 27.00
    Complete the purchase order

2.Create a Goods Receipt (Procurement Management || Transactions || Goods Receipt || Header ) with following details:

    Header:
        Business Partner = McGiver Supplies (The business partner selected in purchase order.)
        Using "create lines from" button select the above purchase order with quantity = 5.
    Complete the goods receipt.
Click on "Generate Invoice from Receipt" button and click OK.

The invoice line generated will have a lineNetAmount =5 * 27=135 .
(0022902)
hgbot (developer)
2009-12-17 09:31

Repository: erp/devel/pi
Changeset: ff2b3c15d364641beeac3932f50cbfb600ea5322
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Dec 17 14:00:48 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/ff2b3c15d364641beeac3932f50cbfb600ea5322 [^]

Fixes Issue 11511: Invoice amount wrongly calculated when invoice is created by Generate invoice from receipt button.

---
M src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml
---
(0022926)
sureshbabu (reporter)
2009-12-18 07:31

Tested, invoice line amount is rightly calculated
(0022952)
hudsonbot (developer)
2009-12-19 00:36

---
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/ff2b3c15d364 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/867059305a34 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15773.obx [^]
---

- Issue History
Date Modified Username Field Change
2009-11-26 09:42 sureshbabu New Issue
2009-11-26 09:42 sureshbabu File Added: invoice amount wrongly calculated.JPG
2009-11-26 11:34 sureshbabu Project @27@ => Openbravo ERP
2009-11-26 11:35 sureshbabu Category QuickStart Template + Datasets => 03. Procurement management
2009-11-26 11:45 psarobe Assigned To => rafaroda
2009-11-26 11:45 psarobe Priority urgent => immediate
2009-11-26 11:45 psarobe Status new => scheduled
2009-11-26 11:45 psarobe Description Updated
2009-12-02 12:03 rafaroda version => main
2009-12-07 19:13 psarobe version main => 2.50MP9
2009-12-07 19:54 psarobe Relationship added has duplicate 0011614
2009-12-10 17:11 networkb Target Version => 2.50MP11
2009-12-15 15:42 rafaroda Relationship added related to 0011512
2009-12-17 08:10 harikrishnan Assigned To rafaroda => harikrishnan
2009-12-17 09:29 harikrishnan Note Added: 0022901
2009-12-17 09:31 hgbot Checkin
2009-12-17 09:31 hgbot Note Added: 0022902
2009-12-17 09:31 hgbot Status scheduled => resolved
2009-12-17 09:31 hgbot Resolution open => fixed
2009-12-17 09:31 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ff2b3c15d364641beeac3932f50cbfb600ea5322 [^]
2009-12-18 07:31 sureshbabu Note Added: 0022926
2009-12-18 07:31 sureshbabu Status resolved => closed
2009-12-18 07:31 sureshbabu Fixed in Version => 2.50MP10
2009-12-19 00:00 anonymous sf_bug_id 0 => 2917329
2009-12-19 00:36 hudsonbot Checkin
2009-12-19 00:36 hudsonbot Note Added: 0022952


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker