Author: jleroux
Date: Sat Sep 18 22:02:55 2010
New Revision: 998557
URL: http://svn.apache.org/viewvc?rev=998557&view=rev
Log:
Changes floating.point to fixed.point for fields used as BigDecimal in Java
code. Reported by Cimballi almost a year ago, stumbled upon it while cleaning
my old messages.
Modified:
ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml?rev=998557&r1=998556&r2=998557&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/workeffort/entitydef/entitymodel.xml Sat Sep 18
22:02:55 2010
@@ -222,12 +222,12 @@ under the License.
<field name="runtimeDataId" type="id"></field>
<field name="noteId" type="id"></field>
<field name="serviceLoaderName" type="name"></field>
- <field name="quantityToProduce" type="floating-point"></field>
- <field name="quantityProduced" type="floating-point"></field>
- <field name="quantityRejected" type="floating-point"></field>
- <field name="reservPersons" type="floating-point"><description>the
number of persons renting the attached asset</description></field>
- <field name="reserv2ndPPPerc"
type="floating-point"><description>reservationSecondPersonPricePercentage:
percentage of the end price for the 2nd person renting this asset connected to
the workEffort</description></field>
- <field name="reservNthPPPerc"
type="floating-point"><description>reservationNthPersonPricePercentage:
percentage of the end price for the Nth (2+) person renting this asset
connected to the workEffort</description></field>
+ <field name="quantityToProduce" type="fixed-point"></field>
+ <field name="quantityProduced" type="fixed-point"></field>
+ <field name="quantityRejected" type="fixed-point"></field>
+ <field name="reservPersons" type="fixed-point"><description>the number
of persons renting the attached asset</description></field>
+ <field name="reserv2ndPPPerc"
type="fixed-point"><description>reservationSecondPersonPricePercentage:
percentage of the end price for the 2nd person renting this asset connected to
the workEffort</description></field>
+ <field name="reservNthPPPerc"
type="fixed-point"><description>reservationNthPersonPricePercentage: percentage
of the end price for the Nth (2+) person renting this asset connected to the
workEffort</description></field>
<field name="accommodationMapId" type="id"/>
<field name="accommodationSpotId" type="id"/>
<field name="revisionNumber" type="numeric"></field>