Author: ashish
Date: Sat Feb 18 22:09:34 2012
New Revision: 1290891
URL: http://svn.apache.org/viewvc?rev=1290891&view=rev
Log:
Applied patch from jira issue OFBIZ-4703. In SupplierProduct entity, the type
of the attribute 'supplierProductId' is id-long. But in OrderItem entity, the
type of supplierProductId is id. This differs the size of the field in both
entites which results in error while creating purchase order.
Provided the patch to resolve this bug.
Thanks Suprit.
Modified:
ofbiz/trunk/applications/order/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=1290891&r1=1290890&r2=1290891&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Sat Feb 18
22:09:34 2012
@@ -480,7 +480,7 @@ under the License.
<field name="budgetId" type="id"></field>
<field name="budgetItemSeqId" type="id"></field>
<field name="productId" type="id"></field>
- <field name="supplierProductId" type="id"></field>
+ <field name="supplierProductId" type="id-long"></field>
<field name="productFeatureId" type="id"></field>
<field name="prodCatalogId" type="id"></field>
<field name="productCategoryId" type="id"></field>