svn commit: r686636 - /ofbiz/trunk/applications/product/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r686636 - /ofbiz/trunk/applications/product/entitydef/entitymodel.xml

jleroux@apache.org
Author: jleroux
Date: Sun Aug 17 12:49:23 2008
New Revision: 686636

URL: http://svn.apache.org/viewvc?rev=686636&view=rev
Log:
Following description added for the workEffortParentId field in rev. 677193 by Jacopo, I added some descriptions here.

But I quickly realized, as David explained, that "We can't document every little thing".

The best in such case is simply to use he relations view in entity maintenance feature in Webtools to see which fields relate with which entities

Modified:
    ofbiz/trunk/applications/product/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?rev=686636&r1=686635&r2=686636&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Sun Aug 17 12:49:23 2008
@@ -453,7 +453,7 @@
             package-name="org.ofbiz.product.category"
             title="Product Category Rollup Entity">
       <field name="productCategoryId" type="id-ne"></field>
-      <field name="parentProductCategoryId" type="id-ne"></field>
+      <field name="parentProductCategoryId" type="id-ne"><description>The parent category; it should be one of productCategoryId already setup in ProductCategory or ProductCategoryRollup</description></field>
       <field name="fromDate" type="date-time"></field>
       <field name="thruDate" type="date-time"></field>
       <field name="sequenceNum" type="numeric"></field>
@@ -2401,7 +2401,7 @@
             title="Product Entity">
       <field name="productId" type="id-ne"></field>
       <field name="productTypeId" type="id"></field>
-      <field name="primaryProductCategoryId" type="id"></field>
+      <field name="primaryProductCategoryId" type="id"><description>The primary category ; it should be one of the productCategoryId already setup in ProductCategoryMember</description></field>      
       <field name="manufacturerPartyId" type="id"></field>
       <field name="facilityId" type="id"></field>
       <field name="introductionDate" type="date-time"></field>
@@ -2426,9 +2426,7 @@
       <field name="quantityIncluded" type="floating-point"></field>
       <field name="piecesIncluded" type="numeric"></field>
       <field name="requireAmount" type="indicator"></field>
-      <field name="fixedAmount" type="currency-amount">
-        <description>Use this for products which are sold in fixed denominations, such as gift certificates or calling cards.</description>
-      </field>
+      <field name="fixedAmount" type="currency-amount"><description>Use this for products which are sold in fixed denominations, such as gift certificates or calling cards.</description></field>
       <field name="amountUomTypeId" type="id"></field>
       <field name="weightUomId" type="id"></field>
       <field name="weight" type="floating-point"></field>