Author: jleroux
Date: Tue Feb 3 21:13:50 2009 New Revision: 740450 URL: http://svn.apache.org/viewvc?rev=740450&view=rev Log: Fic r740004 Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ConfigServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/price/PriceServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/promo/PromoServices.xml Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml?rev=740450&r1=740449&r2=740450&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml Tue Feb 3 21:13:50 2009 @@ -70,7 +70,7 @@ <to-string field="custRequestId"/> <set from-field="custRequestId" field="newEntity.custRequestId"/> <create-value value-field="newEntity"/> - <field-to-result field="custRequestId" result-name="newEntity"/> + <field-to-result field="newEntity.custRequestId"/> <!-- jacopoc: Commented out the following code because it is too specific and not valid as a general rule: a user may enter the request from a customer even if he will not work 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=740450&r1=740449&r2=740450&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 Feb 3 21:13:50 2009 @@ -37,7 +37,7 @@ <if-empty field="newEntity.fromDate"> <set field="newEntity.fromDate" from-field="nowTimestamp" /> </if-empty> - <field-to-result field="fromDate" result-name="newEntity"/> + <field-to-result field="newEntity.fromDate"/> <create-value value-field="newEntity"/> </simple-method> @@ -80,7 +80,7 @@ <sequenced-id sequence-name="ProductConfigItem" field="newEntity.configItemId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> <create-value value-field="newEntity"/> - <field-to-result field="configItemId" result-name="newEntity"/> + <field-to-result field="newEntity.configItemId"/> </simple-method> <simple-method method-name="updateProductConfigItem" short-description="Update a Config Item"> <check-permission action="_UPDATE" permission="CATALOG"> 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=740450&r1=740449&r2=740450&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 Feb 3 21:13:50 2009 @@ -383,7 +383,7 @@ <if-empty field="newEntity.fromDate"> <set field="newEntity.fromDate" from-field="nowTimestamp" /> </if-empty> - <field-to-result field="fromDate" result-name="newEntity"/> + <field-to-result field="newEntity.fromDate"/> <set field="newEntity.lastModifiedDate" from-field="nowTimestamp" /> <set field="newEntity.createdDate" from-field="nowTimestamp" /> 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=740450&r1=740449&r2=740450&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 Feb 3 21:13:50 2009 @@ -37,7 +37,7 @@ <if-empty field="newEntity.fromDate"> <set field="newEntity.fromDate" from-field="nowTimestamp" /> </if-empty> - <field-to-result field="fromDate" result-name="newEntity"/> + <field-to-result field="newEntity.fromDate"/> <set field="newEntity.lastModifiedDate" from-field="nowTimestamp" /> <set field="newEntity.createdDate" from-field="nowTimestamp" /> @@ -146,7 +146,7 @@ <make-value value-field="newEntity" entity-name="ProductPriceRule"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> <sequenced-id sequence-name="ProductPriceRule" field="newEntity.productPriceRuleId"/> - <field-to-result field="productPriceRuleId" result-name="newEntity"/> + <field-to-result field="newEntity.productPriceRuleId"/> <create-value value-field="newEntity"/> </simple-method> @@ -182,7 +182,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <make-next-seq-id value-field="newEntity" seq-field-name="productPriceCondSeqId" numeric-padding="2"/> - <field-to-result field="productPriceCondSeqId" result-name="newEntity"/> + <field-to-result field="newEntity.productPriceCondSeqId"/> <create-value value-field="newEntity"/> </simple-method> @@ -218,7 +218,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <make-next-seq-id value-field="newEntity" seq-field-name="productPriceActionSeqId" numeric-padding="2"/> - <field-to-result field="productPriceActionSeqId" result-name="newEntity"/> + <field-to-result field="newEntity.productPriceActionSeqId"/> <create-value value-field="newEntity"/> </simple-method> 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=740450&r1=740449&r2=740450&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 Feb 3 21:13:50 2009 @@ -29,7 +29,7 @@ <make-value value-field="newEntity" entity-name="ProductPromo"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> <sequenced-id sequence-name="ProductPromo" field="newEntity.productPromoId"/> - <field-to-result field="productPromoId" result-name="newEntity"/> + <field-to-result field="newEntity.productPromoId"/> <if-empty field="newEntity.userEntered"> <set value="Y" set-if-empty="true" field="newEntity.userEntered"/> @@ -84,7 +84,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <make-next-seq-id value-field="newEntity" seq-field-name="productPromoActionSeqId" numeric-padding="2"/> - <field-to-result field="productPromoActionSeqId" result-name="newEntity"/> + <field-to-result field="newEntity.productPromoActionSeqId"/> <create-value value-field="newEntity"/> </simple-method> @@ -157,7 +157,7 @@ <sequenced-id sequence-name="ProductPromoCode" field="newEntity.productPromoCodeId" stagger-max="100"/> </if-empty> - <field-to-result field="productPromoCodeId" result-name="newEntity"/> + <field-to-result field="newEntity.productPromoCodeId"/> <now-timestamp field="nowTimestamp"/> <if-empty field="newEntity.fromDate"> @@ -253,7 +253,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <make-next-seq-id value-field="newEntity" seq-field-name="productPromoCondSeqId" numeric-padding="2"/> - <field-to-result field="productPromoCondSeqId" result-name="newEntity"/> + <field-to-result field="newEntity.productPromoCondSeqId"/> <create-value value-field="newEntity"/> </simple-method> @@ -323,7 +323,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <make-next-seq-id value-field="newEntity" seq-field-name="productPromoRuleId" numeric-padding="2"/> - <field-to-result field="productPromoRuleId" result-name="newEntity"/> + <field-to-result field="newEntity.productPromoRuleId"/> <create-value value-field="newEntity"/> </simple-method> |
Free forum by Nabble | Edit this page |