Author: jacopoc
Date: Thu Jun 28 07:45:29 2007
New Revision: 551581
URL:
http://svn.apache.org/viewvc?view=rev&rev=551581Log:
Fixed bug in entity find operation.
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml?view=diff&rev=551581&r1=551580&r2=551581==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml Thu Jun 28 07:45:29 2007
@@ -47,8 +47,9 @@
<set field="orderRoleAndMap.roleTypeId" value="END_USER_CUSTOMER"/>
<find-by-and entity-name="OrderRole" list-name="orderRoles" map-name="orderRoleAndMap"/>
<first-from-list list-name="orderRoles" entry-name="orderRole"/>
- <set field="prodStoreMap" from-field="orderHeader.productStoreId"/>
- <find-by-and entity-name="ProductStore" list-name="productStore" map-name="prodStoreMap"/>
+ <entity-one entity-name="ProductStore" value-name="productStore" auto-field-map="false">
+ <field-map field-name="productStoreId" env-name="orderHeader.productStoreId"/>
+ </entity-one>
<if>
<condition>
<and>