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 2008/12/30 13:01:11 UTC

svn commit: r730108 [3/4] - in /ofbiz/trunk: applications/accounting/script/org/ofbiz/accounting/agreement/ applications/accounting/script/org/ofbiz/accounting/cost/ applications/accounting/script/org/ofbiz/accounting/finaccount/ applications/accountin...

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml Tue Dec 30 04:01:09 2008
@@ -46,7 +46,7 @@
         </if-empty>
         <field-to-result field-name="newEntity.productCategoryId" result-name="productCategoryId"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <!-- if setting the primaryParentCategoryId, create a rollup entity too -->
         <!-- NOTE: this is commented out to disable because it is dangerous to add category rollups on a live site without being able to specify a fromDate
@@ -55,7 +55,7 @@
             <field-to-field field-name="productCategoryId" map-name="newEntity" to-field-name="productCategoryId" to-map-name="newRollup"/>
             <field-to-field field-name="primaryParentCategoryId" map-name="newEntity" to-field-name="parentProductCategoryId" to-map-name="newRollup"/>
             <env-to-field env-name="nowTimestamp" field-name="fromDate" map-name="newRollup"/>
-            <create-value value-name="newRollup"/>
+            <create-value value-field="newRollup"/>
         </if-not-empty>
         -->
 
@@ -71,7 +71,7 @@
                 <set field="newLimitRollup.productCategoryId" from-field="newEntity.productCategoryId"/>
                 <set field="newLimitRollup.parentProductCategoryId" from-field="productCategoryRole.productCategoryId"/>
                 <set field="newLimitRollup.fromDate" from-field="nowTimestamp"/>
-                <create-value value-name="newLimitRollup"/>
+                <create-value value-field="newLimitRollup"/>
             </iterate>
         </if-has-permission>
     </simple-method>
@@ -96,7 +96,7 @@
                 <field-to-field field-name="primaryParentCategoryId" map-name="lookedUpValue" to-field-name="parentProductCategoryId" to-map-name="newRollup"/>
                 <now-timestamp-to-env env-name="nowTimestamp"/>
                 <env-to-field env-name="nowTimestamp" field-name="fromDate" map-name="newRollup"/>
-                <create-value value-name="newRollup"/>
+                <create-value value-field="newRollup"/>
             </if-compare-field>
         </if-not-empty>
         -->
@@ -123,7 +123,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
 
     <simple-method method-name="addProductToCategories" short-description="Add Product to Multiple Categories">
@@ -148,7 +148,7 @@
                     <now-timestamp-to-env env-name="newEntity.fromDate"/>
                 </if-empty>
 
-                <create-value value-name="newEntity"/>
+                <create-value value-field="newEntity"/>
             </iterate>
             <else>
                 <!-- note that the security semantics require the user to have the general admin permission,
@@ -168,7 +168,7 @@
                     <now-timestamp-to-env env-name="newEntity.fromDate"/>
                 </if-empty>
 
-                <create-value value-name="newEntity"/>
+                <create-value value-field="newEntity"/>
             </else>
         </if-instance-of>
     </simple-method>
@@ -230,7 +230,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updatePartyToCategory" short-description="Update Party to Category Application">
         <set value="updatePartyToCategory" field="callingMethodName"/>
@@ -276,7 +276,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="addProductCategoryToCategories" short-description="Add ProductCategory to Categories">
         <if-instance-of field-name="parameters.categories" class="java.util.List">
@@ -297,7 +297,7 @@
                     <now-timestamp-to-env env-name="newEntity.fromDate"/>
                 </if-empty>
 
-                <create-value value-name="newEntity"/>
+                <create-value value-field="newEntity"/>
             </iterate>
             <else>
                 <set value="addProductCategoryToCategories" field="callingMethodName"/>
@@ -316,7 +316,7 @@
                     <now-timestamp-to-env env-name="newEntity.fromDate"/>
                 </if-empty>
 
-                <create-value value-name="newEntity"/>
+                <create-value value-field="newEntity"/>
             </else>
         </if-instance-of>
     </simple-method>
@@ -567,7 +567,7 @@
 
         <!-- set the new product category id, and write it to the datasource -->
         <set field="newCategory.productCategoryId" from-field="parameters.productCategoryId"/>
-        <create-value value-name="newCategory"/>
+        <create-value value-field="newCategory"/>
         <set field="productCategoryId" from-field="parameters.oldProductCategoryId"/>
         <set field="productCategoryIdTo" from-field="parameters.productCategoryId"/>
 
@@ -605,7 +605,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set field="newTempValue.productCategoryId" from-field="parameters.productCategoryId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateChildRollup">
@@ -615,7 +615,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set field="newTempValue.parentProductCategoryId" from-field="parameters.productCategoryId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
     </simple-method>
@@ -635,7 +635,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductCategoryAttribute" 
         short-description="Update an association between two product categories">
@@ -682,7 +682,7 @@
         </if-empty>
 
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>  
+        <create-value value-field="newEntity"/>  
     </simple-method>   
     
     <simple-method method-name="updateProductCategoryLink" short-description="update a ProductCategoryLink">

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/communication/CommunicationEventServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/communication/CommunicationEventServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/communication/CommunicationEventServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/communication/CommunicationEventServices.xml Tue Dec 30 04:01:09 2008
@@ -28,7 +28,7 @@
         <make-value value-field="newEntity" entity-name="CommunicationEventProduct"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>    
+        <create-value value-field="newEntity"/>    
     </simple-method>
     <simple-method method-name="removeCommunicationEventProduct" short-description="Remove a CommunicationEventProduct">
         <check-permission permission="CATALOG" action="_DELETE">

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ConfigServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ConfigServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ConfigServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ConfigServices.xml Tue Dec 30 04:01:09 2008
@@ -39,7 +39,7 @@
         </if-empty>
         <field-to-result field-name="fromDate" map-name="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductConfig" short-description="Update an ProductConfig">
         <set field="callingMethodName" value="updateProductConfig" />
@@ -79,7 +79,7 @@
         <make-value entity-name="ProductConfigItem" value-field="newEntity"/>
         <sequenced-id-to-env sequence-name="ProductConfigItem" env-name="newEntity.configItemId"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
         <field-to-result field-name="configItemId" map-name="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductConfigItem" short-description="Update a Config Item">
@@ -113,7 +113,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <sequenced-id-to-env sequence-name="ProductConfigOption" env-name="newEntity.configOptionId"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
         <field-to-result field-name="newEntity.configItemId" result-name="configItemId"/>
         <field-to-result field-name="newEntity.configOptionId" result-name="configOptionId"/>
     </simple-method>
@@ -147,7 +147,7 @@
         <make-value entity-name="ProductConfigProduct" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductConfigProduct" short-description="Update a ProductConfigProduct">
         <check-permission action="_UPDATE" permission="CATALOG">

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml Tue Dec 30 04:01:09 2008
@@ -31,7 +31,7 @@
             <set field="newEntity.fromDate" from-field="nowTimestamp" />
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/>
         <call-service service-name="updateContent" in-map-name="updateContent"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml Tue Dec 30 04:01:09 2008
@@ -29,7 +29,7 @@
         <if-empty field="newEntity.fromDate">
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateCostComponent" short-description="Update a CostComponent">
         <entity-one entity-name="CostComponent" value-name="costComponent"/>
@@ -70,7 +70,7 @@
         <if-empty field="newEntity.fromDate">
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
         <field-to-result field-name="newEntity.costComponentId" result-name="costComponentId"/>
     </simple-method>
 

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml Tue Dec 30 04:01:09 2008
@@ -30,7 +30,7 @@
         <sequenced-id-to-env sequence-name="ProductFeatureCategory" env-name="newEntity.productFeatureCategoryId"/>
         <field-to-result field-name="newEntity.productFeatureCategoryId" result-name="productFeatureCategoryId"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFeatureCategory" short-description="Update Product Feature Category">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductFeatureCategory you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -55,7 +55,7 @@
         </if-empty>
         <field-to-result field-name="newEntity.productFeatureId" result-name="productFeatureId"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFeature" short-description="Update Product Feature">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductFeature you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -78,7 +78,7 @@
         <make-value value-field="newEntity" entity-name="ProductFeatureAppl"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateFeatureToProductApplication" short-description="Update Feature to Product Application">
         <set field="callingMethodName" value="updateFeatureToProductApplication"/>
@@ -145,7 +145,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFeatureCategoryAppl" short-description="Update an Product Feature Category Application">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductFeatureCategoryAppl you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -180,7 +180,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFeatureCatGrpAppl" short-description="Update a ProductFeatureGroup to ProductCategory Application">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductFeatureCatGrpAppl you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -213,7 +213,7 @@
         <sequenced-id-to-env sequence-name="ProductFeatureGroup" env-name="newEntity.productFeatureGroupId"/>
         <field-to-result field-name="newEntity.productFeatureGroupId" result-name="productFeatureGroupId"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFeatureGroup" short-description="Update Product Feature Group">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductFeatureGroup you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -235,7 +235,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFeatureGroupAppl" short-description="Update an Product Feature Group Application">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductFeatureGroupAppl you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -264,7 +264,7 @@
         <make-value value-field="newEntity" entity-name="ProductFeatureIactn"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="removeProductFeatureIactn" short-description="Remove a Product Feature Interaction">
         <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run removeProductFeatureInteraction you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission>
@@ -298,7 +298,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFeatureType" short-description="Update an Product Feature Type">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductFeatureType you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -340,7 +340,7 @@
             <first-from-list list="productFeatureAppls" entry="productFeatureAppl"/>
             <set field="newEntity.fromDate" from-field="productFeatureAppl.fromDate"/>
         </if-empty>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
         <check-errors/>
     </simple-method>
 
@@ -390,7 +390,7 @@
         <set field="newEntity.lastModifiedByUserLogin" from-field="userLogin.userLoginId" />
         <set field="newEntity.createdByUserLogin" from-field="userLogin.userLoginId" />
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateFeaturePrice" short-description="Update a feature price">
         <entity-one entity-name="ProductFeaturePrice" value-name="lookedUpValue"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml Tue Dec 30 04:01:09 2008
@@ -501,7 +501,7 @@
             <if-empty field="newOisgirEntity.reservedDatetime">
                 <set from-field="nowTimestamp" field="newOisgirEntity.reservedDatetime"/>
             </if-empty>
-            <create-value value-name="newOisgirEntity"/>
+            <create-value value-field="newOisgirEntity"/>
         <else>
             <calculate field-name="checkOisgirEntity.quantity">
                 <calcop operator="add" field-name="checkOisgirEntity.quantity"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml Tue Dec 30 04:01:09 2008
@@ -114,7 +114,7 @@
         <check-errors/>
 
         <sequenced-id-to-env sequence-name="InventoryItem" env-name="inventoryItem.inventoryItemId"/>
-        <create-value value-name="inventoryItem"/>
+        <create-value value-field="inventoryItem"/>
         <field-to-result field-name="inventoryItem.inventoryItemId" result-name="inventoryItemId"/>
     </simple-method>
     <simple-method method-name="createInventoryItemCheckSetAtpQoh" short-description="createInventoryItemCheckSetAtpQoh" login-required="false">        
@@ -278,7 +278,7 @@
             <set field="inventoryItemStatus.productId" from-field="inventoryItem.productId"/>
         </if-empty>
         
-        <create-value value-name="inventoryItemStatus"/>
+        <create-value value-field="inventoryItemStatus"/>
     </simple-method>
 
     <simple-method method-name="createInventoryItemDetail" short-description="Create an InventoryItemDetail">
@@ -304,7 +304,7 @@
         <if-empty field="newEntity.availableToPromiseDiff"><set field="newEntity.availableToPromiseDiff" value="0" type="Double"/></if-empty>
         <if-empty field="newEntity.quantityOnHandDiff"><set field="newEntity.quantityOnHandDiff" value="0" type="Double"/></if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateInventoryItemFromDetail" short-description="Update an InventoryItem From the Associated Detail Records" login-required="false">
         <entity-one entity-name="InventoryItem" value-name="inventoryItem"/>
@@ -490,7 +490,7 @@
         <make-value value-field="newEntity" entity-name="InventoryItemVariance"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <!-- TODO: (possibly a big deal?) check to see if any reserved inventory needs to be changed because of a change in availableToPromise -->
         <!-- TODO: make sure availableToPromise is never greater than the quantityOnHand? -->
@@ -511,7 +511,7 @@
         <set from-field="physicalInventoryId" field="newEntity.physicalInventoryId"/>
         <field-to-result field-name="physicalInventoryId" result-name="physicalInventoryId"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="createPhysicalInventoryAndVariance" short-description="Create a PhysicalInventory and an InventoryItemVariance">
         <set-service-fields service-name="createPhysicalInventory" map-name="parameters" to-map-name="createPhysicalInventoryMap"/>
@@ -529,7 +529,7 @@
         <make-value value-field="newEntity" entity-name="ProductFacility"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFacility" short-description="Update a ProductFacility">
 
@@ -553,7 +553,7 @@
         <make-value value-field="newEntity" entity-name="ProductFacilityLocation"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductFacilityLocation" short-description="Update a ProductFacilityLocation">
 
@@ -990,7 +990,7 @@
         <sequenced-id-to-env sequence-name="InventoryTransfer" env-name="newEntity.inventoryTransferId"/>
         <field-to-result field-name="newEntity.inventoryTransferId" result-name="inventoryTransferId"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateInventoryTransfer" short-description="Update an Inventory Transfer">
 
@@ -1190,7 +1190,7 @@
         <make-value entity-name="InventoryItemLabelType" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateInventoryItemLabelType" short-description="Update an InventoryItemLabelType">
         <entity-one entity-name="InventoryItemLabelType" value-name="lookedUpValue"/>
@@ -1205,7 +1205,7 @@
         <make-value entity-name="InventoryItemLabel" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateInventoryItemLabel" short-description="Update an InventoryItemLabel">
         <entity-one entity-name="InventoryItemLabel" value-name="lookedUpValue"/>
@@ -1222,7 +1222,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <entity-one entity-name="InventoryItemLabel" value-name="inventoryItemLabel"/>
         <set field="newEntity.inventoryItemLabelTypeId" from-field="inventoryItemLabel.inventoryItemLabelTypeId"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateInventoryItemLabelAppl" short-description="Update an InventoryItemLabel">
         <entity-one entity-name="InventoryItemLabelAppl" value-name="lookedUpValue"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml Tue Dec 30 04:01:09 2008
@@ -569,7 +569,7 @@
                     <call-service service-name="createInventoryItemDetail" in-map-name="createOisgirTargetDetailMap"/>
 
                     <!-- create the new and remove or update the old OISGIRs -->
-                    <create-value value-name="targetOrderItemShipGrpInvRes"/>
+                    <create-value value-field="targetOrderItemShipGrpInvRes"/>
                     <if-empty field="reservedQuantityLeftOver">
                         <remove-value value-name="orderItemShipGrpInvRes"/>
                     <else>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/price/PriceServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/price/PriceServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/price/PriceServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/price/PriceServices.xml Tue Dec 30 04:01:09 2008
@@ -44,7 +44,7 @@
         <set field="newEntity.lastModifiedByUserLogin" from-field="userLogin.userLoginId" />
         <set field="newEntity.createdByUserLogin" from-field="userLogin.userLoginId" />
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPrice" short-description="Update an ProductPrice">
         <set field="callingMethodName" value="updateProductPrice" />
@@ -104,7 +104,7 @@
         <set field="newEntity.changedDate" from-field="nowTimestamp" />
         <set field="newEntity.changedByUserLogin" from-field="userLogin.userLoginId" />
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
 
     <!-- ProductPaymentMethodType methods -->
@@ -117,7 +117,7 @@
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <if-empty field="newEntity.fromDate"><now-timestamp-to-env env-name="newEntity.fromDate"/></if-empty>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>  
+        <create-value value-field="newEntity"/>  
     </simple-method>   
     <simple-method method-name="updateProductPaymentMethodType" short-description="update a ProductPaymentMethodType">
         <set field="callingMethodName" value="updateProductPaymentMethodType" />
@@ -148,7 +148,7 @@
         <sequenced-id-to-env sequence-name="ProductPriceRule" env-name="newEntity.productPriceRuleId"/>
         <field-to-result field-name="productPriceRuleId" map-name="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPriceRule" short-description="Update an ProductPriceRule">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPriceRule you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -184,7 +184,7 @@
         <make-next-seq-id value-name="newEntity" seq-field-name="productPriceCondSeqId" numeric-padding="2"/>
         <field-to-result field-name="productPriceCondSeqId" map-name="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPriceCond" short-description="Update an ProductPriceCond">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPriceCond you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -220,7 +220,7 @@
         <make-next-seq-id value-name="newEntity" seq-field-name="productPriceActionSeqId" numeric-padding="2"/>
         <field-to-result field-name="productPriceActionSeqId" map-name="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPriceAction" short-description="Update an ProductPriceAction">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPriceAction you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/product/CustomerDigitalDownloadServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/CustomerDigitalDownloadServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/product/CustomerDigitalDownloadServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/product/CustomerDigitalDownloadServices.xml Tue Dec 30 04:01:09 2008
@@ -31,7 +31,7 @@
         <set field="createProductMap.internalName" from-field="parameters.productName"/>
         <set field="createProductMap.description" from-field="parameters.description"/>
         <set field="createProductMap.productTypeId" value="DIGITAL_GOOD"/>
-        <create-value value-name="createProductMap"/>
+        <create-value value-field="createProductMap"/>
 
         <make-value value-field="createProductPriceMap" entity-name="ProductPrice"/>
         <set field="createProductPriceMap.productId" from-field="productId"/>
@@ -41,7 +41,7 @@
         <set field="createProductPriceMap.productStoreGroupId" value="_NA_"/>
         <set field="createProductPriceMap.fromDate" from-field="nowTimestamp"/>
         <set field="createProductPriceMap.price" from-field="parameters.price"/>
-        <create-value value-name="createProductPriceMap"/>
+        <create-value value-field="createProductPriceMap"/>
         
         <make-value value-field="createProductSupplierMap" entity-name="SupplierProduct"/>
         <set field="createProductSupplierMap.productId" from-field="productId"/>
@@ -49,7 +49,7 @@
         <set field="createProductSupplierMap.currencyUomId" from-field="parameters.currencyUomId" default-value="USD"/>
         <set field="createProductSupplierMap.minimumOrderQuantity" value="1" type="Double"/>
         <set field="createProductSupplierMap.availableFromDate" from-field="nowTimestamp"/>
-        <create-value value-name="createProductSupplierMap"/>
+        <create-value value-field="createProductSupplierMap"/>
 
         <field-to-result field-name="productId"/>
         <field-to-result field-name="createProductSupplierMap.currencyUomId" result-name="currencyUomId"/>
@@ -62,7 +62,7 @@
             <make-value value-field="addProductToCategoryMap" entity-name="ProductCategoryMember"/>
             <set field="addProductToCategoryMap.productId" from-field="productId"/>
             <set field="addProductToCategoryMap.productCategoryId" from-field="productStore.digProdUploadCategoryId"/>
-            <create-value value-name="addProductToCategoryMap"/>
+            <create-value value-field="addProductToCategoryMap"/>
         </if-not-empty>
     </simple-method>
     <simple-method method-name="updateCustomerDigitalDownloadProduct" short-description="updateCustomerDigitalDownloadProduct">
@@ -165,7 +165,7 @@
         <set field="productContent.contentId" from-field="parameters.contentId"/>
         <set field="productContent.productContentTypeId" value="DIGITAL_DOWNLOAD"/>
         <set field="productContent.fromDate" from-field="nowTimestamp"/>
-        <create-value value-name="productContent"/>
+        <create-value value-field="productContent"/>
     </simple-method>
     <simple-method method-name="removeCustomerDigitalDownloadProductFile" short-description="removeCustomerDigitalDownloadProductFile">
         <now-timestamp-to-env env-name="nowTimestamp"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml Tue Dec 30 04:01:09 2008
@@ -31,7 +31,7 @@
             <set field="newEntity.fromDate" from-field="nowTimestamp" />
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <set-service-fields service-name="updateContent" map-name="parameters" to-map-name="updateContent"/>
         <call-service service-name="updateContent" in-map-name="updateContent"/>
@@ -118,7 +118,7 @@
     <simple-method method-name="createProductFeatureDataResource" short-description="Create ProductFeature-DataResource">
         <make-value value-field="newEntity" entity-name="ProductFeatureDataResource"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="removeProductFeatureDataResource" short-description="Remove ProductFeature-DataResource">
         <make-value value-field="lookupPKMap" entity-name="ProductFeatureDataResource"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml Tue Dec 30 04:01:09 2008
@@ -55,7 +55,7 @@
             <set field="newEntity.billOfMaterialLevel" value="0" type="Integer"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <!-- if setting the primaryProductCategoryId create a member entity too -->
         <!-- THIS IS REMOVED BECAUSE IT CAUSES PROBLEMS FOR WORKING ON PRODUCTION SITES
@@ -65,7 +65,7 @@
             <set from-field="primaryProductCategoryId" map-name="newEntity" to-field-name="productCategoryId" to-map-name="newMember"/>
             <now-timestamp-to-env env-name="nowStamp"/>
             <set from-field="nowStamp" field="newMember.fromDate"/>
-            <create-value value-name="newMember"/>
+            <create-value value-field="newMember"/>
         </if-not-empty>
         -->
 
@@ -82,7 +82,7 @@
                 <set from-field="newEntity.productId" field="newLimitMember.productId"/>
                 <set from-field="productCategoryRole.productCategoryId" field="newLimitMember.productCategoryId"/>
                 <set from-field="nowTimestamp" field="newLimitMember.fromDate"/>
-                <create-value value-name="newLimitMember"/>
+                <create-value value-field="newLimitMember"/>
             </iterate>
         </if-has-permission>
     </simple-method>
@@ -110,7 +110,7 @@
                 <set from-field="productId" map-name="newEntity" to-field-name="productId" to-map-name="newMember"/>
                 <set from-field="primaryProductCategoryId" map-name="newEntity" to-field-name="productCategoryId" to-map-name="newMember"/>
                 <now-timestamp-to-env env-name="newMember.fromDate"/>
-                <create-value value-name="newMember"/>
+                <create-value value-field="newMember"/>
             </if-compare-field>
         </if-not-empty>
         -->
@@ -193,7 +193,7 @@
             <set from-field="parameters.newLongDescription" field="newProduct.longDescription"/>
         </if-not-empty>
                 
-        <create-value value-name="newProduct"/>
+        <create-value value-field="newProduct"/>
 
         <!-- set up entity filter -->
         <set field="productFindContext.productId" from-field="parameters.oldProductId"/>
@@ -205,7 +205,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateIDs">
@@ -213,7 +213,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateContent">
@@ -221,7 +221,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateCategoryMembers">
@@ -229,7 +229,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateAssocs">
@@ -237,7 +237,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
 
             <!-- small difference here, also do the reverse assocs... -->
@@ -247,7 +247,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productIdTo"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateAttributes">
@@ -255,7 +255,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateFeatureAppls">
@@ -263,7 +263,7 @@
             <iterate entry="foundValue" list="foundValues">
                 <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
         <if-not-empty field="parameters.duplicateInventoryItems">
@@ -282,7 +282,7 @@
                 <set from-field="parameters.productId" field="newTempValue.productId"/>
                 <!-- this one is slightly different because it needs a new sequenced inventoryItemId -->
                 <sequenced-id-to-env sequence-name="InventoryItem" env-name="newTempValue.inventoryItemId"/>
-                <create-value value-name="newTempValue"/>
+                <create-value value-field="newTempValue"/>
             </iterate>
         </if-not-empty>
 
@@ -320,7 +320,7 @@
         <make-value entity-name="ProductKeyword" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateProductKeyword" short-description="update a ProductKeyword">
         <entity-one entity-name="ProductKeyword" value-name="lookedUpValue"/>
@@ -402,7 +402,7 @@
             <make-value value-field="productCalculatedInfo" entity-name="ProductCalculatedInfo"/>
             <set from-field="parameters.productId" field="productCalculatedInfo.productId"/>
             <set from-field="parameters.weight" field="productCalculatedInfo.totalTimesViewed"/>
-            <create-value value-name="productCalculatedInfo"/>
+            <create-value value-field="productCalculatedInfo"/>
         <else>
             <calculate field-name="productCalculatedInfo.totalTimesViewed" type="Long">
                 <calcop field-name="productCalculatedInfo.totalTimesViewed" operator="add">
@@ -434,7 +434,7 @@
             <make-value value-field="productCalculatedInfo" entity-name="ProductCalculatedInfo"/>
             <set from-field="parameters.productId" field="productCalculatedInfo.productId"/>
             <set from-field="parameters.quantity" field="productCalculatedInfo.totalQuantityOrdered"/>
-            <create-value value-name="productCalculatedInfo"/>
+            <create-value value-field="productCalculatedInfo"/>
         <else>
             <set field="productCalculatedInfo.totalQuantityOrdered" value="${productCalculatedInfo.totalQuantityOrdered + parameters.quantity}"  type="BigDecimal"/>
             <store-value value-name="productCalculatedInfo"/>
@@ -463,7 +463,7 @@
         <make-value value-field="newEntity" entity-name="GoodIdentification"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateGoodIdentification" short-description="Update an GoodIdentification">
         <set value="updateGoodIdentification" field="callingMethodName"/>
@@ -499,7 +499,7 @@
         <make-value value-field="newEntity" entity-name="ProductGlAccount"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductGlAccount" short-description="Update an ProductGlAccount">
         <set value="updateProductGlAccount" field="callingMethodName"/>
@@ -553,7 +553,7 @@
             <now-timestamp-to-env env-name="newEntity.postedDateTime"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <set from-field="newEntity.productId" field="productId"/>
         <property-to-field resource="ProductUiLabels" property="ProductCreateProductReviewSuccess" field-name="successMessage"/>
@@ -591,7 +591,7 @@
             <make-value value-field="productCalculatedInfo" entity-name="ProductCalculatedInfo"/>
             <set from-field="parameters.productId" field="productCalculatedInfo.productId"/>
             <set from-field="averageCustomerRating" field="productCalculatedInfo.averageCustomerRating"/>
-            <create-value value-name="productCalculatedInfo"/>
+            <create-value value-field="productCalculatedInfo"/>
         <else>
             <set from-field="averageCustomerRating" field="productCalculatedInfo.averageCustomerRating"/>
             <store-value value-name="productCalculatedInfo"/>
@@ -627,7 +627,7 @@
                 <iterate entry="foundValue" list="foundValues">
                     <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                     <set from-field="newProduct.productIdTo" field="newTempValue.productId"/>
-                    <create-value value-name="newTempValue"/>
+                    <create-value value-field="newTempValue"/>
                 </iterate>
             </if-not-empty>
             <if-not-empty field="parameters.duplicateIDs">
@@ -641,7 +641,7 @@
                 <iterate entry="foundValue" list="foundValues">
                     <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                     <set from-field="newProduct.productIdTo" field="newTempValue.productId"/>
-                    <create-value value-name="newTempValue"/>
+                    <create-value value-field="newTempValue"/>
                 </iterate>
             </if-not-empty>
             <if-not-empty field="parameters.duplicateContent">
@@ -655,7 +655,7 @@
                 <iterate entry="foundValue" list="foundValues">
                     <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                     <set from-field="newProduct.productIdTo" field="newTempValue.productId"/>
-                    <create-value value-name="newTempValue"/>
+                    <create-value value-field="newTempValue"/>
                 </iterate>
             </if-not-empty>
             <if-not-empty field="parameters.duplicateCategoryMembers">
@@ -669,7 +669,7 @@
                 <iterate entry="foundValue" list="foundValues">
                     <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                     <set from-field="newProduct.productIdTo" field="newTempValue.productId"/>
-                    <create-value value-name="newTempValue"/>
+                    <create-value value-field="newTempValue"/>
                 </iterate>
             </if-not-empty>
             <if-not-empty field="parameters.duplicateAttributes">
@@ -683,7 +683,7 @@
                 <iterate entry="foundValue" list="foundValues">
                     <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                     <set from-field="newProduct.productIdTo" field="newTempValue.productId"/>
-                    <create-value value-name="newTempValue"/>
+                    <create-value value-field="newTempValue"/>
                 </iterate>
             </if-not-empty>
             <if-not-empty field="parameters.duplicateFacilities">
@@ -697,7 +697,7 @@
                 <iterate entry="foundValue" list="foundValues">
                     <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                     <set from-field="newProduct.productIdTo" field="newTempValue.productId"/>
-                    <create-value value-name="newTempValue"/>
+                    <create-value value-field="newTempValue"/>
                 </iterate>
             </if-not-empty>
             <if-not-empty field="parameters.duplicateLocations">
@@ -711,7 +711,7 @@
                 <iterate list="foundValues" entry="foundValue">
                     <clone-value value-name="foundValue" new-value-name="newTempValue"/>
                     <set from-field="newProduct.productIdTo" field="newTempValue.productId"/>
-                    <create-value value-name="newTempValue"/>
+                    <create-value value-field="newTempValue"/>
                 </iterate>
             </if-not-empty>
         </iterate>
@@ -728,7 +728,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductAssoc" short-description="Update an association between two products">
         <set value="updateProductAssoc" field="callingMethodName"/>
@@ -766,7 +766,7 @@
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <make-next-seq-id value-name="newEntity" seq-field-name="productMaintSeqId"/> <!-- this finds the next sub-sequence ID -->
         <field-to-result field-name="newEntity.productMaintSeqId" result-name="productMaintSeqId"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductMaint" short-description="Update an existing Product Maintenance">
         <set value="updateProductMaint" field="callingMethodName"/>
@@ -797,7 +797,7 @@
         <make-value value-field="newEntity" entity-name="ProductMeter"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductMeter" short-description="Update an existing Product Meter">
         <set value="updateProductMeter" field="callingMethodName"/>
@@ -824,7 +824,7 @@
         <make-value value-field="newEntity" entity-name="ProductGeo"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductGeo" short-description="Update an existing Product Geo">
         <entity-one entity-name="ProductGeo" value-name="lookedUpValue"/>
@@ -909,7 +909,7 @@
         <make-value entity-name="ProductAttribute" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateProductAttribute" short-description="update a ProductAttribute">
         <entity-one entity-name="ProductAttribute" value-name="lookedUpValue"/>
@@ -939,7 +939,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updatePartyToProduct" short-description="Update Party to Product">
         <set value="updatePartyToProduct" field="callingMethodName"/>
@@ -968,7 +968,7 @@
     <simple-method method-name="createVendorProduct" short-description="Create a VendorProduct">
         <make-value entity-name="VendorProduct" value-field="newEntity"/>
         <set-pk-fields value-field="newEntity" map="parameters"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     
     <simple-method method-name="deleteVendorProduct" short-description="Remove the VendorProduct">
@@ -987,7 +987,7 @@
         <make-value value-field="newEntity" entity-name="ProductCategoryGlAccount"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     
     <simple-method method-name="updateProductCategoryGlAccount" short-description="Update an ProductCategoryGlAccount">

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/promo/PromoServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/promo/PromoServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/promo/PromoServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/promo/PromoServices.xml Tue Dec 30 04:01:09 2008
@@ -41,7 +41,7 @@
         <set from-field="userLogin.userLoginId" field="newEntity.lastModifiedByUserLogin"/>
         <set from-field="userLogin.userLoginId" field="newEntity.createdByUserLogin"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPromo" short-description="Update a ProductPromo">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPromo you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -86,7 +86,7 @@
         <make-next-seq-id value-name="newEntity" seq-field-name="productPromoActionSeqId" numeric-padding="2"/>
         <field-to-result field-name="productPromoActionSeqId" map-name="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPromoAction" short-description="Update an ProductPromoAction">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPromoAction you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -120,7 +120,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPromoCategory" short-description="Update an ProductPromoCategory">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPromoCategory you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -168,7 +168,7 @@
         <set from-field="userLogin.userLoginId" field="newEntity.lastModifiedByUserLogin"/>
         <set from-field="userLogin.userLoginId" field="newEntity.createdByUserLogin"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPromoCode" short-description="Update an ProductPromoCode">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPromoCode you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -207,7 +207,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="deleteProductPromoCodeEmail" short-description="Delete an ProductPromoCodeEmail">
         <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductPromoCodeEmail you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission>
@@ -230,7 +230,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="deleteProductPromoCodeParty" short-description="Delete an ProductPromoCodeParty">
         <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductPromoCodeParty you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission>
@@ -255,7 +255,7 @@
         <make-next-seq-id value-name="newEntity" seq-field-name="productPromoCondSeqId" numeric-padding="2"/>
         <field-to-result field-name="productPromoCondSeqId" map-name="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPromoCond" short-description="Update an ProductPromoCond">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPromoCond you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -289,7 +289,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPromoProduct" short-description="Update an ProductPromoProduct">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPromoProduct you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -325,7 +325,7 @@
         <make-next-seq-id value-name="newEntity" seq-field-name="productPromoRuleId" numeric-padding="2"/>
         <field-to-result field-name="productPromoRuleId" map-name="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductPromoRule" short-description="Update a ProductPromoRule">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductPromoRule you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -364,7 +364,7 @@
             <set from-field="nowTimestamp" set-if-empty="true" field="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductStorePromoAppl" short-description="Update ProductStorePromoAppl">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStorePromoAppl you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml Tue Dec 30 04:01:09 2008
@@ -46,7 +46,7 @@
         <set-nonpk-fields map="parameters" value-field="newValue"/>
         <now-timestamp-to-env env-name="newValue.fromDate"/>
 
-        <create-value value-name="newValue"/>
+        <create-value value-field="newValue"/>
     </simple-method>
 
     <simple-method method-name="updateFacilityContactMech" short-description="Update a FacilityContactMech">
@@ -91,7 +91,7 @@
         <now-timestamp-to-env env-name="facilityContactMech.thruDate"/>
 
         <store-value value-name="facilityContactMech"/>
-        <create-value value-name="newFacilityContactMech"/>
+        <create-value value-field="newFacilityContactMech"/>
 
         <if-compare-field to-field="newFacilityContactMech.contactMechId" field="parameters.contactMechId" operator="not-equals">
             <get-related value-name="facilityContactMech" relation-name="FacilityContactMechPurpose" list-name="facilityContactMechPurposes"/>
@@ -109,7 +109,7 @@
 
                 <if-empty field="purposeResult">
 
-                    <create-value value-name="facilityContactMechPurpose"/>
+                    <create-value value-field="facilityContactMechPurpose"/>
                 </if-empty>
             </iterate>
         </if-compare-field>
@@ -302,7 +302,7 @@
         <set field="newEntity.contactMechPurposeTypeId" from-field="parameters.contactMechPurposeTypeId" />
         <set field="newEntity.fromDate" from-field="nowTimestamp" />
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <field-to-result field-name="fromDate" map-name="newEntity" result-name="fromDate"/>
     </simple-method>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/StorageServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/StorageServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/StorageServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/StorageServices.xml Tue Dec 30 04:01:09 2008
@@ -30,7 +30,7 @@
         <set field="newEntity.facilityId" from-field="facilityId" />
         <field-to-result field-name="facilityId" result-name="facilityId"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateFacility" short-description="Update a Facility">
         <set field="lookupPKMap.facilityId" from-field="parameters.facilityId" /> 
@@ -48,7 +48,7 @@
     <simple-method method-name="addContactMechToFacility" short-description="Add ContactMech To Facility">
         <make-value value-field="newEntity" entity-name="FacilityContactMech"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="removeContactMechFromFacility" short-description="Remove ContactMech From Facility">
         <set field="lookupPKMap.facilityId" from-field="parameters.facilityId" />
@@ -87,7 +87,7 @@
         <set field="newEntity.locationSeqId" from-field="locationSeqId" />
         <field-to-result field-name="locationSeqId" result-name="locationSeqId"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateFacilityLocation" short-description="Update a Facility Location">
         <set field="lookupPKMap.facilityId" from-field="parameters.facilityId" />
@@ -113,7 +113,7 @@
         <set field="newEntity.facilityGroupId" from-field="facilityGroupId" />
         <field-to-result field-name="facilityGroupId" result-name="facilityGroupId"/>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateFacilityGroup" short-description="Update an Facility Group">
         <set field="lookupPKMap.facilityGroupId" from-field="parameters.facilityGroupId" />
@@ -138,7 +138,7 @@
             <set field="newEntity.fromDate" from-field="nowTimestamp" />
         </if-empty>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateFacilityToGroup" short-description="Update Facility to FacilityGroup Application">
         <make-value value-field="lookupPKMap" entity-name="FacilityGroupMember"/>
@@ -165,7 +165,7 @@
             <set field="newEntity.fromDate" from-field="nowTimestamp" />
         </if-empty>
         
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateFacilityGroupToGroup" short-description="Update FacilityGroup to FacilityGroup Rollup">
         <make-value value-field="lookupPKMap" entity-name="FacilityGroupRollup"/>
@@ -189,7 +189,7 @@
         <if-empty field="partyRole">
             <make-value value-field="partyRole" entity-name="PartyRole"/>
             <set-pk-fields map="lookupPKMap" value-field="partyRole"/>
-            <create-value value-name="partyRole"/>
+            <create-value value-field="partyRole"/>
         </if-empty>
         <make-value value-field="newEntity" entity-name="FacilityParty"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
@@ -197,14 +197,14 @@
              <if-empty field="newEntity.fromDate">
                  <now-timestamp-to-env env-name="newEntity.fromDate"/>
              </if-empty>             
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method> 
   
     <simple-method method-name="addPartyToFacilityGroup" short-description="Add Party to FacilityGroup">
         <make-value value-field="newEntity" entity-name="FacilityGroupRole"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>         
     
     <simple-method method-name="removePartyFromFacility" short-description="Remove Party From Facility">

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml Tue Dec 30 04:01:09 2008
@@ -41,7 +41,7 @@
         <set from-field="productStoreId" field="newEntity.productStoreId"/>
 
         <field-to-result field-name="productStoreId" result-name="productStoreId"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <!-- create the ProductStoreFacility record -->
         <now-timestamp-to-env env-name="nowTimestamp"/>
@@ -51,7 +51,7 @@
             <set from-field="newEntity.inventoryFacilityId" field="storeFacility.facilityId"/>
             <set from-field="newEntity.productStoreId" field="storeFacility.productStoreId"/>
             <set from-field="nowTimestamp" field="storeFacility.fromDate"/>
-            <create-value value-name="storeFacility"/>
+            <create-value value-field="storeFacility"/>
         </if-not-empty>
     </simple-method>
     <simple-method method-name="updateProductStore" short-description="Update a Product Store">
@@ -93,7 +93,7 @@
             <set from-field="store.inventoryFacilityId" field="storeFacility.facilityId"/>
             <set from-field="store.productStoreId" field="storeFacility.productStoreId"/>
             <set from-field="nowTimestamp" field="storeFacility.fromDate"/>
-            <create-value value-name="storeFacility"/>
+            <create-value value-field="storeFacility"/>
         </if-compare-field>
     </simple-method>
  
@@ -111,7 +111,7 @@
             <set from-field="nowTimestamp" field="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductStoreCatalog" short-description="Update ProductStoreCatalog">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStoreCatalog you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -141,7 +141,7 @@
         <make-value value-field="newEntity" entity-name="ProductStorePaymentSetting"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductStorePaymentSetting" short-description="Update a Product Store Payment Setting">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStorePaymentSetting you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -175,7 +175,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductStoreEmail" short-description="Update Product Store Email Setting">
         <check-permission permission="CATALOG" action="_UPDATE">
@@ -208,7 +208,7 @@
 
         <make-value entity-name="ProductStoreVendorPayment" value-field="newEntity"/>
         <set-pk-fields value-field="newEntity" map="parameters"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="deleteProductStoreVendorPayment" short-description="Remove the ProductStoreVendorPayment">
         <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductStoreVendorPayment you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission>
@@ -230,7 +230,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <sequenced-id-to-env sequence-name="ProductStoreShipmentMeth" env-name="newEntity.productStoreShipMethId"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductStoreShipMeth" short-description="Update Product Store Carrier Shipment Method">
         <check-permission permission="CATALOG" action="_UPDATE">
@@ -270,7 +270,7 @@
             <set from-field="nowTimestamp" field="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="removeProductStoreRole" short-description="Remove ProductStoreRole">
         <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run removeProductStoreRole you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission>
@@ -305,7 +305,7 @@
         <!-- make sure the keyword is lower cased -->
         <call-object-method obj-field-name="newEntity.keyword" method-name="toLowerCase" ret-field-name="newEntity.keyword"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateProductStoreKeywordOvrd" short-description="Update a ProductStoreKeywordOvrd">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStoreKeywordOvrd you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -343,7 +343,7 @@
             <set from-field="nowTimestamp" field="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="removeProductStoreSurveyAppl" short-description="Remove ProductStoreSurveyAppl">
         <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run removeProductStoreSurveyAppl you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission>
@@ -369,7 +369,7 @@
         <make-value value-field="finAcctSetting" entity-name="ProductStoreFinActSetting"/>
         <set-pk-fields value-field="finAcctSetting" map="parameters"/>
         <set-nonpk-fields value-field="finAcctSetting" map="parameters"/>
-        <create-value value-name="finAcctSetting"/>
+        <create-value value-field="finAcctSetting"/>
     </simple-method>
     <simple-method method-name="updateProductStoreFinActSetting" short-description="Update a ProductStoreFinActSetting">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateProductStoreFinActSetting you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
@@ -703,7 +703,7 @@
         <check-errors/>
         <make-value entity-name="ProductStoreVendorShipment" value-field="newEntity"/>
         <set-pk-fields value-field="newEntity" map="parameters"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="deleteProductStoreVendorShipment" short-description="Remove the ProductStoreVendorShipment">
         <check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteProductStoreVendorShipment you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml Tue Dec 30 04:01:09 2008
@@ -46,7 +46,7 @@
         </if-not-empty>
         
         <set-nonpk-fields map="parameters" value-field="newEntity"/>        
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateSubscription" short-description="Update a Subscription">
         <entity-one entity-name="Subscription" value-name="lookedUpValue"/>
@@ -88,7 +88,7 @@
         <sequenced-id-to-env sequence-name="SubscriptionResource" env-name="newEntity.subscriptionResourceId"/>
         <field-to-result field-name="newEntity.subscriptionResourceId" result-name="subscriptionResourceId"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateSubscriptionResource" short-description="Update a SubscriptionResource">
         <entity-one entity-name="SubscriptionResource" value-name="lookedUpValue"/>
@@ -101,7 +101,7 @@
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <if-empty field="newEntity.fromDate"><now-timestamp-to-env env-name="newEntity.fromDate"/></if-empty>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>   
     <simple-method method-name="updateProductSubscriptionResource" short-description="Update a ProductSubscriptionResource">
         <entity-one entity-name="ProductSubscriptionResource" value-name="lookedUpValue"/>
@@ -119,7 +119,7 @@
             <make-value entity-name="SubscriptionAttribute" value-field="newEntity"/>
             <set-pk-fields map="parameters" value-field="newEntity"/>
             <set-nonpk-fields map="parameters" value-field="newEntity"/>
-            <create-value value-name="newEntity"/>
+            <create-value value-field="newEntity"/>
             <else>
                 <set-nonpk-fields map="parameters" value-field="lookedUpValue"/>
                 <store-value value-name="lookedUpValue"/>
@@ -131,7 +131,7 @@
         <make-value value-field="newEntity" entity-name="SubscriptionCommEvent"/>
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
-        <create-value value-name="newEntity"/>    
+        <create-value value-field="newEntity"/>    
     </simple-method>
     <simple-method method-name="removeSubscriptionCommEvent" short-description="Remove a Subscription Communication Event">
         <entity-one entity-name="SubscriptionCommEvent" value-name="eventSubscription"/>

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml Tue Dec 30 04:01:09 2008
@@ -28,7 +28,7 @@
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
 
     <simple-method method-name="updateSupplierProduct" short-description="Update a Supplier Product record">
@@ -63,7 +63,7 @@
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
  
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updateSupplierProductFeature" short-description="Update a Supplier Product Feature record">
         <check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateSupplierProductFeature you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>

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?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml Tue Dec 30 04:01:09 2008
@@ -35,7 +35,7 @@
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
         <now-timestamp-to-env env-name="newEntity.issuedDateTime"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
 
         <!-- if the InventoryItem issued is serialized, then change its status to DELIVERED -->
         <get-related-one value-name="newEntity" relation-name="InventoryItem" to-value-name="inventoryItem"/>
@@ -84,7 +84,7 @@
         <set-pk-fields map="parameters" value-field="newEntity"/>
         <set-nonpk-fields map="parameters" value-field="newEntity"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="deleteItemIssuanceRole" short-description="Delete ItemIssuanceRole">
         <check-permission permission="FACILITY" action="_DELETE">
@@ -337,7 +337,7 @@
         <set field="partyRole.roleTypeId" value="PACKER"/>
         <find-by-primary-key entity-name="PartyRole" map="partyRole" value-field="checkPartyRole"/>
         <if-empty field="checkPartyRole">
-            <create-value value-name="partyRole"/>
+            <create-value value-field="partyRole"/>
         </if-empty>
 
         <!-- Add ItemIssuanceRole for party that issues this... -->

Modified: ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml?rev=730108&r1=730107&r2=730108&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml Tue Dec 30 04:01:09 2008
@@ -595,7 +595,7 @@
         <set from-field="userLogin.userLoginId" field="newEntity.createdByUserLogin"/>
         <set from-field="userLogin.userLoginId" field="newEntity.lastModifiedByUserLogin"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updatePicklist" short-description="Update Picklist">
         <check-permission permission="FACILITY" action="_UPDATE">
@@ -623,7 +623,7 @@
                 <set from-field="parameters.statusId" field="newStatusValue.statusIdTo"/>
                 <now-timestamp-to-env env-name="newStatusValue.changeDate"/>
                 <set from-field="userLogin.userLoginId" field="newStatusValue.changeUserLoginId"/>
-                <create-value value-name="newStatusValue"/>
+                <create-value value-field="newStatusValue"/>
             </if-compare-field>
         </if-not-empty>
 
@@ -664,7 +664,7 @@
         <sequenced-id-to-env sequence-name="PicklistBin" env-name="newEntity.picklistBinId"/>
         <field-to-result field-name="newEntity.picklistBinId" result-name="picklistBinId"/>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updatePicklistBin" short-description="Update PicklistBin">
         <check-permission permission="FACILITY" action="_UPDATE">
@@ -705,7 +705,7 @@
             <set value="PICKITEM_PENDING" field="newEntity.itemStatusId"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updatePicklistItem" short-description="Update PicklistItem">
         <check-permission permission="FACILITY" action="_UPDATE">
@@ -777,7 +777,7 @@
             <now-timestamp-to-env env-name="newEntity.fromDate"/>
         </if-empty>
 
-        <create-value value-name="newEntity"/>
+        <create-value value-field="newEntity"/>
     </simple-method>
     <simple-method method-name="updatePicklistRole" short-description="Update PicklistRole">
         <check-permission permission="FACILITY" action="_UPDATE">