The ProdCatalogCategoryType didn't have a parent Relation. Here is a fix that added a parentTypeId field and the relation definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950861 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
available item quantities as the new GWP quantity. This requires the
quantity field to be null, and useCartQuantity to be 'Y'. This allows
insanely huge quantities to be used on items that have GWP promos
attached. Under testing, I've added products with a quantity of 10000
and 50000 items, with no variation in speed.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@941048 13f79535-47bb-0310-9956-ffa450edef68
as services, so that installations can do whatever kind of checking and
promotions that they want, without any modifications to ofbiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@932108 13f79535-47bb-0310-9956-ffa450edef68
The right associated script is
update FACILITY set facility_size=square_footage;
update FACILITY set facility_size_uom_id='AREA_ft2';
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929912 13f79535-47bb-0310-9956-ffa450edef68
I will post the following SQL line to help migrate
alter table facility alter square_footage type dec(18,6);
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929171 13f79535-47bb-0310-9956-ffa450edef68
1) added new fields to InventoryItem/InventoryItemDetail to keep track of the units posted to INVENTORY accounts according to the costing methods in use
2) added new field to AcctgTransEntry to keep track of the inventoryItemId that was used to get the cost according to LIFO/FIFO etc... strategy
3) modified existing demo data to support the new costing strategies; enabled by default the LIFO strategy for Company accounting (it was average cost before)
4) code that implements LIFO/FIFO for inventory receipts and sales shipments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@926090 13f79535-47bb-0310-9956-ffa450edef68
Associate Image functionality with ProductPromo using content driven.
Following work will be covered: -
1. Add new entity "ProductPromoContent" entity having composite primary key:
1. productPromoId
2. contentId
3. productPromoContentTypeId
4. fromDate
2. CRUD services for ProductPromoContent Entity.
3. Create wrapper ProductPromoContentWrapper
4. Add content tab at catalog -> promo
5. List and edit form for associating images to specific productPromoId.
6. Implement service addImageForProductPromo.
Thanks Amit for the contribution.
Special thanks to Scott for his valuable comments.
PS: Scott regarding to you point # 2 in the last comment, I think it would be fine if we keep association as it in the current patch. Because all the ContentType already exists in the ProductContentType entity. In general we can associate Image, PDF or word document with any promotion so reusing existing entity will be fine IMO.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@922506 13f79535-47bb-0310-9956-ffa450edef68
Created FacilityContent entity and FacilityContentDetail view entity. Added screen and forms in facility application for content upload and deletion.
Added a generic event in content application for file upload and content association which is used in facility application. The same event can be used in content creation processes in order manager and project manager applications in order to remove duplicating code.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@908602 13f79535-47bb-0310-9956-ffa450edef68
Adding Web Analytics support in OFBiz. Following things are covered in this work:
– Added two new entities WebAnalyticsConfig & WebAnalyticsType & provided GUI support for it (CRUD Operations).
– Added demo data for Google Analytics & Bing Analytics.
– Associated WebAnalyticsConfig entity with Content entity so that the client data can be content driven.
– Initially we have added this feature in catalog component keeping things in mind that in general we do configuration settings regarding to ecommerce in this component. If anyone have better place for this then we can move this timely at more appropriate place. But for now we found this place good for initial contribution.
This is collaborative effort from me & Pranay(Thanks!).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@897796 13f79535-47bb-0310-9956-ffa450edef68
Change the type of relation for Postal Address to GeoPoint from one to many. Because of the elevation field in GeoPoint. A bit scifi for now, but maybe useful one day...)
Thanks to a discussion with Erwan "Relation title not needed on Facility entity" at https://issues.apache.org/jira/browse/OFBIZ-3153 - OFBIZ-3153
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833113 13f79535-47bb-0310-9956-ffa450edef68
The work flow is based on following steps:
1) If for a return both finAccountId and billingAccountId are supplied, then preference goes to the setting on Product Store. A warning message is shown so that the
user know which account is used.
2) If a finAcccountId is supplied then first billing account with -ve amount are searched and if it is found then amount is credit to the billing account else it goes to
financial account.
3) If a billingAccountId is supplied then it is used to credit the refund amount.
4) If none of them is supplied, then preference again goes to the setting on Product Store.
Patch applied from Mridul Pathak, part of OFBIZ-2502 (https://issues.apache.org/jira/browse/OFBIZ-2502)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@781804 13f79535-47bb-0310-9956-ffa450edef68
1) Moved the view entity to correct package.
2) Changed the view name as well as the entities used. Now the records are coming as expected.
3) Corresponding changes in the findOrdersToPickMove service.
The main purpose of this view entity is to find out the location (areaId) of the inventory item that is reserved/picked for a particular order. For example if an order has two
order items X and Y and items X is picked from area A and item Y is picked from area B of a facility (where obviously area A and B are associated to a pick/primary location),
then while grouping this order in facility > picking screen by "Group by Warehouse Area" method will show order under Multi Locations group. To clarify more on this grouping
method, grouping is done only with the areaId and the locationSeqId (which is a combination of areaId, aisleId, sectionId, levelId, positionId).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779041 13f79535-47bb-0310-9956-ffa450edef68
ProductStore. A new field lastInventoryCount on ProductFacility is also added and it is a mirror of availableToPromiseTotal of a product at a certain point of time and is
being updated every hour by a schedule service to reflect the current value of inventory count in the system.
If showOutOfStockProducts is equals to N and for a particular product lastInventoryCount is <= zero, then this particular product will not be shown on the site. If the inventory
count becomes +ve again then the product will be again available on the site, in minimum one hour time but could possibly take long depending on the inventory levels.
Patch from Ratnesh Upadhyay, part of OFBIZ-2480 (https://issues.apache.org/jira/browse/OFBIZ-2480).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778451 13f79535-47bb-0310-9956-ffa450edef68
Product entity to Y/N where Y means item is out of stock and N means item is in stock. This process will be efficient in a way that the database interaction to check
whether item is out of stock will not take place everytime products are loaded on the ecommerce site.
Applied my patch (initially contributed by Amit Sharma, I have done some improvements over this patch), part of OFBIZ-2480 (https://issues.apache.org/jira/browse/OFBIZ-2480)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777498 13f79535-47bb-0310-9956-ffa450edef68
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)
Of course this effort to remove trailing spaces has no functional implications.
Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {
So these changes are also in this commit, should not be a problem anyway.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68