Commit Graph
184 Commits
Author SHA1 Message Date
Adam Heath 556d795264 On view enitity ProductFeatureAndAppl, and relations to the 2 member
entities, ProductFeature and ProductFeatureAppl.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@995200 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 19:03:07 +00:00
Jacques Le Roux 02a39d6bb6 A patch from Sascha Rodekamp "Entity ProdCatalogCategoryType Parent Relation" (https://issues.apache.org/jira/browse/OFBIZ-3793) - OFBIZ-3793
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
2010-06-03 03:36:37 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux 63fd94e778 Not sure why, but my regexp S/R in the commit r948846 boke some formatting. I also removed some useless other stuff in this commit
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@948852 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 14:45:59 +00:00
Jacques Le Roux 2a1a5aee14 We don't need
<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
2010-05-27 14:23:22 +00:00
Jacques Le Roux fba1da435d Fix 2 descriptions, thanks to Cimballi in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@945610 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 12:12:44 +00:00
Jacques Le Roux d19f795620 A patch from Chris Snow "ProdCatalog missing field title help" (https://issues.apache.org/jira/browse/OFBIZ-3772) - OFBIZ-3772
Most descriptions have been taken from the "Manager Reference Catalog" document. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944797 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 11:13:12 +00:00
Bruno Busco 0d281c1ff3 A patch from Chris Snow
OFBIZ-3747 - ProductStore missing field title help
https://issues.apache.org/jira/browse/OFBIZ-3747
Thank you Chris for your patch and your patience.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@944675 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 16:14:14 +00:00
Scott Gray 0bd837b18b Added missing Uom relation from ProductFeature, patch provided by Mirko Vogelsmeier OFBIZ-3742
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@942363 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 11:36:00 +00:00
Adam Heath 80389b8cf4 Add flag to ProductPromoAction, that tells PROMO_GWP to use all
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
2010-05-04 21:19:41 +00:00
Vikas Mayur 1bd28d5ce7 Fixed a bad indentation. I wasn't really sure whether to keep the indentation to 2 or 4 spaces because it is inconsistent throughout the file. Generally we keep the indentation to 4 spaces in XML and also I have less modifications with latter so I went with 4 spaces indentation.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@939244 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 09:46:37 +00:00
Jacopo Cappellato dd39924418 Added new sequenceNum field to Product role entity; a product may have several parties associated to it with the same role; this field can be used to define the order of parties associated to the product in that role
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@938974 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 12:54:33 +00:00
Vikas Mayur a8b2ae53db Fixed a typo in field description thruedate -> thruDate.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937959 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 08:15:07 +00:00
Adam Heath ceb3fad391 Add a releaseDate to a product, mostly informational, intended to mean
when the product was first assembled for purchase, or, for books, when
it was published initially.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@936100 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 22:46:14 +00:00
Adam Heath ab933d2be7 Add new features, the ability to have promo conditions and actions both
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
2010-04-08 20:47:56 +00:00
Jacques Le Roux 46a74ff4c5 Remove trailing white spaces (I got a conflict)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@930223 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 10:05:39 +00:00
Jacques Le Roux 1a033fa8f7 Deprecate Facility.squareFootage the right way.
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
2010-04-01 10:41:14 +00:00
Jacques Le Roux 95650636ff Better name for relation between FacilitySizeUomId.facilitySizeUomId and Uom.uomId, suggested by Scott
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929646 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 18:08:02 +00:00
Jacques Le Roux 45593dad74 Completes r929503: adds a relation between facility and uom for facilitySizeUomId
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929593 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 15:45:07 +00:00
Jacques Le Roux 87d20bca8e * Change Facility.squareFootage to Facility.facilitySize and change its type from numeric (no decimals) to fixed-point
* Add Facility.facilitySizeUomId
* related changes in UI

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929503 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 12:37:39 +00:00
Jacques Le Roux c9a4532a71 Revert r929171. As discussed on dev ML, Facility.squareFootage will be replaced by 2 fields (one for UomId)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929255 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:22:57 +00:00
Jacques Le Roux 0d833edbab Allows Facility.squareFootage to support decimals.
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
2010-03-30 15:31:14 +00:00
Jacopo Cappellato 407f17ad61 Reimplemented "inventory valuation" report (that was buggy) and its csv and pdf variants: the new version is now based on the new LIFO and FIFO costing methods and it is more efficient because it is based on a single view-entity (that I have extended in order to be used in the new report).
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@927014 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:28:17 +00:00
Jacopo Cappellato c2d9606772 Implemented first version of FIFO and LIFO costing methods in accounting:
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
2010-03-22 14:02:46 +00:00
Ashish Vijaywargiya b040749318 Applied patch from OFBIZ-3533 - Associate Image functionality with ProductPromo using content driven.
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
2010-03-13 08:46:57 +00:00
Bilgin Ismet Ibryam fae378c0ce Added possibility to upload files and assign contents to facilities.
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
2010-02-10 17:52:50 +00:00
Ashish Vijaywargiya 732d571872 Applied patch from jira issue OFBIZ-3399 - Web Analytics Initial Support.
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
2010-01-11 08:40:47 +00:00
Scott Gray ce66eb6c06 Added fixedAssetId and relationship to CostComponent to so that it is easier to determine the source of the cost (in most cases the source is CostComponentCalc but for fixed asset usage it is FixedAssetStdCost)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@881732 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 11:43:11 +00:00
Jacques Le Roux 5ccbd28e3b Revert r833113 & r833116 and remove title="Geo Point" as initially suggested by Erwan at https://issues.apache.org/jira/browse/OFBIZ-3153
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833264 13f79535-47bb-0310-9956-ffa450edef68
2009-11-06 00:44:33 +00:00
Jacques Le Roux 70a8c703ac Change the type of relation for Facilty to GeoPoint from one to many. Because of the elevation field in GeoPoint.
From Adrian's remarks at https://issues.apache.org/jira/browse/OFBIZ-3153 - OFBIZ-3153

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833136 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 19:22:16 +00:00
Jacques Le Roux 72331c96ad Change "Geo Point" title to "Point"
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
2009-11-05 18:26:27 +00:00
Scott Gray 42aa98280d Adding memberComments as an alias for ProductCategoryMember.comments in the ProductAndCategoryMember view entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831834 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02 09:30:29 +00:00
Jacopo Cappellato 1032ba881d Added the ability to define cost component formulae to a product: new ProductCostComponentCalc entity and crud services, and ui to manage the information. Modified standard costing calculation service to use the new entity. Also implemented a custom method (cost formula) that adds a percentage based adjustment
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@831099 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29 21:38:18 +00:00
Adam Heath e566ce1960 Add sequenceNum to ProductCategoryRollupAndChild view.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@830009 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26 22:38:07 +00:00
Scott Gray 98f73bee0a Added three new fields to the Product entity:
productWeight
productDiameter
diameterUomId

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@817605 13f79535-47bb-0310-9956-ffa450edef68
2009-09-22 11:33:11 +00:00
Scott Gray f79b26dd69 increased the ProductFeature.idCode field from id to id-long (20 -> 60) as discussed on the dev list to better handle external identifiers
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813726 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 08:55:17 +00:00
Jacques Le Roux 7befd1d25e no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Marco Risaliti 5a85c095a6 New Shipment Gateway Config entities (OFBIZ-2589)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@796874 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 20:39:35 +00:00
David E. Jones 237d5f5104 Small reorganization of ProductStore fields to move the deprecated ones to the bottom
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@794912 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 23:57:41 +00:00
Jacopo Cappellato 33c0f74f50 Implemented simple "sell-through" (http://en.wikipedia.org/wiki/Sell-through) information to the find inventory screen.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782662 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 15:06:41 +00:00
Vikas Mayur 0f1ffdf0f8 Added a field to ProductStore to specify Store Credit Account type (FIN_ACCOUNT or BILLING_ACCOUNT) for refund return. For Demo ProductStore it is default to Financial Account.
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
2009-06-04 17:32:02 +00:00
Scott Gray 3689bf9f9b Moved the view entities ProductConfigAndProduct and ProductFacilityAndPostalAddress to packages more appropriate than org.ofbiz.product.product
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@780543 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 01:14:41 +00:00
Vikas Mayur eebe04dc4c Done following fixes:
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
2009-05-27 07:44:17 +00:00
Vikas Mayur 79fae570d0 Adding back the feature to show/hide out of stock products on site. This new implementation is configurable through a new field showOutOfStockProducts (by default equal to Y) on
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
2009-05-25 16:37:23 +00:00
Vikas Mayur b6ccc85943 Reverted my last commit in rev. 777498. This need to support configuration so that this feature can be turned on/off.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@777651 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 18:36:19 +00:00
Vikas Mayur f1ef43b20e Now onwards out of stock items will not show up in the ecommerce site. Added a scheduled service that will run hourly and will update the new attribute isOutOfStock on
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
2009-05-22 12:42:12 +00:00
Vikas Mayur 444cf326ff Functionality for "Weight Packages Only" option on pack order screen.
Applied patch from Akash Jain, part of OFBIZ-2407 (https://issues.apache.org/jira/browse/OFBIZ-2407).
Note: Excluding only framework/common/config/CommonUiLabels.xml, as this need framework rights.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@775128 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 13:20:56 +00:00
Jacques Le Roux 058d6aed57 A patch from Ashish Vijaywargiya "Change Copyright Year" (https://issues.apache.org/jira/browse/OFBIZ-2346) - OFBIZ-2346
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772936 13f79535-47bb-0310-9956-ffa450edef68
2009-05-08 10:56:14 +00:00
Marco Risaliti a657adadf8 Move payment.properties to PaymentGatewayConfig entities (OFBIZ-2269)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763782 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 19:45:31 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \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
2009-04-08 10:54:51 +00:00