You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/07/03 21:34:45 UTC

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

Author: jleroux
Date: Tue Jul  3 19:34:44 2012
New Revision: 1356882

URL: http://svn.apache.org/viewvc?rev=1356882&view=rev
Log:
No functional changes, only a small comment to better understand the meaning of those fields (excerpt from http://markmail.org/message/tvyghkw7rgq5bmqi there are more things interesting in this thread, other solutions to other problems, etc.)

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=1356882&r1=1356881&r2=1356882&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Tue Jul  3 19:34:44 2012
@@ -2717,8 +2717,8 @@ under the License.
       <field name="inventoryMessage" type="description"></field>
       <field name="requireInventory" type="indicator"></field>
       <field name="quantityUomId" type="id"></field>
-      <field name="quantityIncluded" type="fixed-point"></field>
-      <field name="piecesIncluded" type="numeric"></field>
+      <field name="quantityIncluded" type="fixed-point"><description>If you have a six-pack of 12oz soda cans you would have quantityIncluded=12, quantityUomId=oz, piecesIncluded=6.</description></field> 
+        <field name="piecesIncluded" type="numeric"><description>Excerpt from http://markmail.org/message/tvyghkw7rgq5bmqi there are more things interesting in this thread, other solutions to other problems, etc.</description></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="amountUomTypeId" type="id"></field>



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

Posted by Jacopo Cappellato <ja...@hotwaxmedia.com>.
On Jul 3, 2012, at 9:34 PM, jleroux@apache.org wrote:

> +        <field name="piecesIncluded" type="numeric"><description>Excerpt from http://markmail.org/message/tvyghkw7rgq5bmqi there are more things interesting in this thread, other solutions to other problems, etc.</description></field>

In my opinion it would be better to avoid links to external resources like the above from "source" files, especially if they are not hosted by the ASF.

Jacopo