[
https://issues.apache.org/jira/browse/OFBIZ-9958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251151#comment-16251151 ]
Oleg Andreyev commented on OFBIZ-9958:
--------------------------------------
I appreciate your comments on this ticket and I think they would make sense under some circumstances. However, I don't plan to work on these. At least this is not a near time task. I do not see the obvious needs for these changes.
1. Given products may be viewed as a part of the promotion and thus counted in sales. For example, if the company gives a customer some discount then we calculate value including the discount and I think this is a correct way. 100% discount just a particular case.
2. I don't think profitability is a great concern for sales managers. While these reports still primitive and may be improved a lot I don't see real demand for this change.
I would close this issue.
> Sales by Store report calculates Value Sold incorrectly
> --------------------------------------------------------
>
> Key: OFBIZ-9958
> URL:
https://issues.apache.org/jira/browse/OFBIZ-9958> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch 15.12, Release Branch 16.11
> Reporter: Oleg Andreyev
> Assignee: Jacques Le Roux
> Fix For: Trunk, Release Branch 16.11
>
> Attachments: report.diff, sales_by_store_after.png, sales_by_store_before.png
>
>
> Sales by Store report calculate Value Sold without taking into account order item quantity. See the first screenshot. It was 2 orders for the same product priced at $10. One order had 1 of the product, second has 2 of the product. Sales by Store report display correct quantity sold 3 and incorrect value sold $20. I guess it should be $30.
> The Second screenshot illustrates result after the patch.
> Patch is tested with trunk and 16.11. This bug exists from the very beginning. Perhaps this is not too valuable report if the issue left unnoticed for so long time. But I have been asked about it twice recently and I think it's time to fix it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)