(OFBIZ-9958)
Sales by Store report calculate Value Sold without taking into account order
item quantity.
jleroux: I also noticed that given products (free ones, due to^promotion) are
counted as paid products, another thing to fix
Thanks: Oleg Andreyev
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1814277 13f79535-47bb-0310-9956-ffa450edef68
This service wasn't creating production runs whenever a WorkOrderItemFulfillment record exists even if workEffort.currentStatusId == "PRUN_CANCELLED".
Thanks Christian Carlow for the contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1748387 13f79535-47bb-0310-9956-ffa450edef68
This is a first step to refactor application components into independent parts that can be deployed when needed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1720413 13f79535-47bb-0310-9956-ffa450edef68
Removed issuedDateTime from OrderItemQuantityReportGroupByProduct view entity as it doesn't exist in ItemIssuanceQuantitySum.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1692458 13f79535-47bb-0310-9956-ffa450edef68
1) removed foreign key relationship from/to this group of entities and the other entities of the OFBiz data model; the fields are still available but they are not enforced by a foreign key constraint
2) removed one view entitiy joining Visit with Party entities and refactored the code that was using it in order to provide the same behavior
3) added a new entity group ("org.ofbiz.stats") for the Visit/Visitor/ServerHit* (and related) entities; for now the group is not active so that the entities are still in the same database as before; however assigning them to a different database is now a matter of uncommenting the group file definition in framework/webapp/ofbiz-component.xml and provide the new datasource definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647271 13f79535-47bb-0310-9956-ffa450edef68
Now the "bi" component contains all the dimensions/facts/star schemas and all the logic to populate them and can be easily enabled/disabled.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1642027 13f79535-47bb-0310-9956-ffa450edef68
Reports under Order component has following issues -
1. Following reports are not showing any records due some issue
a. Last three month sales report.
b. Sales report.
c. Sales Order discount code report.
d. Product demand report.
2. Inconsistency in opening the pdf report - some reports are opening in new tab window but some are in the same window.
Following are the checkpoint -
1) Order should be Approved
2) All Dimension table(CurrencyDimension, DateDimension, ProductDimension)should have record.
3) After approval of order, order record should be created in 'SalesOrderItemFact' table. These is the OLAP table used to display data in reports.
Description -
1) If dimension table doesn't have records then following services should execute from service engine -
a) loadAllProductsInProductDimension
b) loadCurrencyDimension
c) loadDateDimension
2) Calling service to create record in 'SalesOrderItemFact' is updated into patch. On commit operation of service 'changeOrderItemStatus' if order item is approved then 'loadSalesOrderFact' service called through SECAS.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1519544 13f79535-47bb-0310-9956-ffa450edef68
When a entity have fields createDate, lastModifiedDate, createByUserLogin and updateByUserLogin, the entity-auto engine set them.
Also makes all entities that have one of fields [create|lastModified][Date|ByUserLogin] to be consistent and have four fields
Impacted entityies:
[Quote|Order|Return]Adjustment
OrderPaymentPreference
AcctgTrans
GlReconciliation
ValueLinkKey
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1407578 13f79535-47bb-0310-9956-ffa450edef68
When user tries to apply the specified promotion then following problem occurs;
1) Promotion is not applying for the customer, that means customer do not get the discount even if any promotion of such kind exists for the user.
1.1) To fix the above will need to add group-by clause to 2 more fields orderTypeId and statusId of view entity OrderHeaderAndRoleSummary as these fields do not have any values to check the condition, as group-by clause do not allow to show them if values are different.
2) After fixing the issue explained in #1, if user pass the other_value as 12 (month) and condVlaue as $ 1000.00, then after $ 1000 if user order history is of $ 900. Then it will pass the check and then user is allow to get discount on any number on the last order.
3) That means even if the limit is 1000 user is able to purchase in discount of 900 + 300 >> 1200 amount with complete discount. So before checking for the total amount on order history now system will check for "order history + cart sub total".
Thanks Rishi for the contribution!
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1148180 13f79535-47bb-0310-9956-ffa450edef68
Adding conditional check for adding "ORDER_EMAIL" for the newly created party from the ecommerce store. This check is added because you couldn't see the party's email that has been provided at the time of checkout if you update party's email from Order View page. It may happen that you wanted to use the same email address again if that email wouldn't get expired.
Work done by me & Amit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1054599 13f79535-47bb-0310-9956-ffa450edef68
A little drawback is that if there are 0 values sold this values show. But actually it's not a problem since it informs the user that all quantities ordered for this product has been canceled
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@958343 13f79535-47bb-0310-9956-ffa450edef68
<copyright>Copyright 2001-.* The Apache Software Foundation</copyright>
<copyright><year>.*</year><holder>Apache Foundation</holder></copyright>
<copyright><year>.*</year><holder>Apache Foundation.</holder></copyright>
<owner>Copyright 2001-.* The Apache Software Foundation</owner>
Less to update every year!
Thanks to BJ 1st effort at "update files from 2009 to 2010" (https://issues.apache.org/jira/browse/OFBIZ-3783) - OFBIZ-3783
Note: there are been a lot of efforts in 2009: there are plenty of data dated from this year!
I hope I did not broke anything (should not, but of course I did not try all changes...) Anyway, this can be easily reverted...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948846 13f79535-47bb-0310-9956-ffa450edef68
This patch is to add a couple of extra ways to look for a purchase order when receiving it into a facility
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948020 13f79535-47bb-0310-9956-ffa450edef68
grouping methods) then the Find Orders to Pick screen wasn't showing any thing if the FacilityLocation (Warehouse Area) is not setup in the system.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944605 13f79535-47bb-0310-9956-ffa450edef68