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 12:55:28 UTC
svn commit: r730104 [5/5] - 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/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Tue Dec 30 03:55:26 2008
@@ -199,7 +199,7 @@
<!-- communication event workeffort -->
<simple-method method-name="makeCommunicationEventWorkEffort" short-description="Make a Communication Event WorkEffort">
<make-value entity-name="CommunicationEventWorkEff" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="CommunicationEventWorkEff" map="lookupMap" value-field="eventWe"/>
<if-not-empty field="eventWe.workEffortId">
<set-nonpk-fields map-name="parameters" value-name="eventWe"/>
@@ -220,7 +220,7 @@
<check-errors/>
<!-- Find old value -->
<make-value entity-name="CommunicationEventWorkEff" value-field="communicationEventWorkEff"/>
- <set-pk-fields value-name="communicationEventWorkEff" map-name="parameters"/>
+ <set-pk-fields value-field="communicationEventWorkEff" map="parameters"/>
<find-by-primary-key entity-name="CommunicationEventWorkEff" map="communicationEventWorkEff" value-field="communicationEventWorkEff"/>
<if-empty field="communicationEventWorkEff">
<add-error><fail-message message="ERROR: Cannot update specified contact info because it does not correspond to the specified work effort"/></add-error>
@@ -235,7 +235,7 @@
<check-errors/>
<!-- Find old value -->
<make-value entity-name="CommunicationEventWorkEff" value-field="communicationEventWorkEff"/>
- <set-pk-fields value-name="communicationEventWorkEff" map-name="parameters"/>
+ <set-pk-fields value-field="communicationEventWorkEff" map="parameters"/>
<find-by-primary-key entity-name="CommunicationEventWorkEff" map="communicationEventWorkEff" value-field="communicationEventWorkEff"/>
<if-empty field="communicationEventWorkEff">
<add-error><fail-message message="ERROR: Cannot delete specified contact info because it does not correspond to the specified work effort"/></add-error>
@@ -263,7 +263,7 @@
<make-value value-field="newEntity" entity-name="WorkEffortPartyAssignment"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<if-empty field="newEntity.fromDate">
@@ -626,7 +626,7 @@
<check-errors/>
<else>
<make-value value-field="newEntity" entity-name="WorkEffortAssoc"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<if-empty field="newEntity.sequenceNum">
<set field="newEntity.sequenceNum" value="0" type="Long"/>
@@ -652,7 +652,7 @@
<check-errors/>
<else>
<make-value value-field="newEntity" entity-name="WorkEffortGoodStandard"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<if-empty field="newEntity.fromDate">
<now-timestamp-to-env env-name="newEntity.fromDate"/>
</if-empty>
@@ -682,7 +682,7 @@
<store-value value-name="foundEntity"/>
<else>
<make-value value-field="newEntity" entity-name="WorkEffortInventoryAssign"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<create-value value-name="newEntity"/>
</else>
@@ -692,7 +692,7 @@
<!-- CustRequest workeffort -->
<simple-method method-name="createWorkEffortRequest" short-description="Create a CustRequestWorkEffort">
<make-value entity-name="CustRequestWorkEffort" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="CustRequestWorkEffort" map="lookupMap" value-field="custRequestWorkEffort"/>
<if-not-empty field="custRequestWorkEffort">
<add-error><fail-message message="ERROR: CustRequestWorkEffort [${parameters.custRequestId}][${parameters.workEffortId}] already exists."/></add-error>
@@ -714,7 +714,7 @@
<!-- CustRequestItem workeffort -->
<simple-method method-name="createWorkEffortRequestItem" short-description="Create a CustRequestItemWorkEffort">
<make-value entity-name="CustRequestItemWorkEffort" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="QuoteWorkEffort" map="lookupMap" value-field="custRequestItemWorkEffort"/>
<if-not-empty field="custRequestItemWorkEffort">
<add-error><fail-message message="ERROR: CustRequestItemWorkEffort [${parameters.custRequestItemSeqId}][${parameters.workEffortId}] already exists."/></add-error>
@@ -733,7 +733,7 @@
</simple-method>
<simple-method method-name="checkCustRequestItemExists" short-description="Checks to see if a CustRequestItem exists">
<make-value entity-name="CustRequestItem" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="CustRequestItem" map="lookupMap" value-field="custRequestItem"/>
<if-not-empty field="custRequestItem">
<set field="custRequestItemExists" value="true"/>
@@ -748,7 +748,7 @@
<!--Quote workeffort -->
<simple-method method-name="createWorkEffortQuote" short-description="Create a QuoteWorkEffort">
<make-value entity-name="QuoteWorkEffort" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="QuoteWorkEffort" map="lookupMap" value-field="quoteWorkEffort"/>
<if-not-empty field="quoteWorkEffort">
<add-error><fail-message message="ERROR: QuoteWorkEffort [${parameters.quoteId}][${parameters.workEffortId}] already exists."/></add-error>
@@ -770,7 +770,7 @@
<!--Requirement workeffort -->
<simple-method method-name="createWorkRequirementFulfillment" short-description="Create a WorkRequirementFulfillment">
<make-value entity-name="WorkRequirementFulfillment" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="WorkRequirementFulfillment" map="lookupMap" value-field="workRequirementFulfillment"/>
<if-not-empty field="workRequirementFulfillment">
<add-error><fail-message message="ERROR: WorkRequirementFulfillment [${parameters.requirementId}][${parameters.workEffortId}] already exists."/></add-error>
@@ -792,7 +792,7 @@
<!--ShoppingList workeffort -->
<simple-method method-name="createShoppingListWorkEffort" short-description="Create a ShoppingListWorkEffort">
<make-value entity-name="ShoppingListWorkEffort" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="ShoppingListWorkEffort" map="lookupMap" value-field="shoppingListWorkEffort"/>
<if-not-empty field="shoppingListWorkEffort">
<add-error><fail-message message="ERROR: ShoppingListWorkEffort [${parameters.shoppingListId}][${parameters.workEffortId}] already exists."/></add-error>
@@ -814,7 +814,7 @@
<!--OrderHeader workeffort -->
<simple-method method-name="createOrderHeaderWorkEffort" short-description="Create a OrderHeaderWorkEffort">
<make-value entity-name="OrderHeaderWorkEffort" value-field="lookupMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupMap"/>
+ <set-pk-fields map="parameters" value-field="lookupMap"/>
<find-by-primary-key entity-name="OrderHeaderWorkEffort" map="lookupMap" value-field="orderWorkEffort"/>
<if-not-empty field="orderWorkEffort">
<add-error><fail-message message="ERROR: OrderHeaderWorkEffort [${parameters.orderId}][${parameters.workEffortId}] already exists."/></add-error>
@@ -866,7 +866,7 @@
<check-errors />
<else>
<make-value entity-name="WorkEffortFixedAssetStd" value-field="newWEFixedAssetStd" />
- <set-pk-fields map-name="parameters" value-name="newWEFixedAssetStd" />
+ <set-pk-fields map="parameters" value-field="newWEFixedAssetStd" />
<set-nonpk-fields map-name="parameters" value-name="newWEFixedAssetStd" />
<create-value value-name="newWEFixedAssetStd" />
</else>
@@ -904,7 +904,7 @@
</add-error>
<else>
<make-value entity-name="WorkEffortFixedAssetAssign" value-field="newWEFixedAssetAssign" />
- <set-pk-fields map-name="parameters" value-name="newWEFixedAssetAssign" />
+ <set-pk-fields map="parameters" value-field="newWEFixedAssetAssign" />
<set-nonpk-fields map-name="parameters" value-name="newWEFixedAssetAssign" />
<!-- if the user hasn't specified a fromDate, set it from the actual start date of the task
if there is no actual start date, default to now (to the current date and time) -->
@@ -952,7 +952,7 @@
-->
<make-value entity-name="WorkEffortContent" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<if-empty field="newEntity.fromDate">
<now-timestamp-to-env env-name="nowTimestamp"/>
@@ -997,7 +997,7 @@
<else>
<make-value entity-name="WorkEffortReview" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<if-empty field="newEntity.reviewDate">
<now-timestamp-to-env env-name="nowTimestamp"/>
@@ -1059,7 +1059,7 @@
<add-error><fail-property resource="ProductUiLabels" property="productevents.keyword_missing"/></add-error>
</if-empty>
<check-errors/>
- <set-pk-fields value-name="newEntity" map-name="parameters"></set-pk-fields>
+ <set-pk-fields value-field="newEntity" map="parameters"></set-pk-fields>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<create-value value-name="newEntity"/>
</else>
@@ -1191,7 +1191,7 @@
<!-- WorkEffortSkillStandard Services-->
<simple-method method-name="createWorkEffortSkillStandard" short-description="Create WorkEffortSkillStandard">
<make-value entity-name="WorkEffortSkillStandard" value-field="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<create-value value-name="newEntity"/>
</simple-method>
@@ -1206,7 +1206,7 @@
</simple-method>
<simple-method method-name="createWorkEffortInventoryProduced" short-description="Create Work Effort InventoryProduced">
<make-value entity-name="WorkEffortInventoryProduced" value-field="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<create-value value-name="newEntity"/>
</simple-method>
<simple-method method-name="deleteWorkEffortInventoryProduced" short-description="Delete Work Effort InventoryProduced">
Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml (original)
+++ ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml Tue Dec 30 03:55:26 2008
@@ -29,7 +29,7 @@
<check-permission permission="CATALOG" action="_CREATE"><fail-message message="Security Error: to run createKeywordThesaurus you must have the CATALOG_CREATE or CATALOG_ADMIN permission"/></check-permission>
<check-errors/>
<make-value value-field="newEntity" entity-name="KeywordThesaurus"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<call-object-method obj-field-name="newEntity.enteredKeyword" method-name="toLowerCase" ret-field-name="newEntity.enteredKeyword"/>
<call-object-method obj-field-name="newEntity.alternateKeyword" method-name="toLowerCase" ret-field-name="newEntity.alternateKeyword"/>
@@ -39,7 +39,7 @@
<check-permission permission="CATALOG" action="_UPDATE"><fail-message message="Security Error: to run updateKeywordThesaurus you must have the CATALOG_UPDATE or CATALOG_ADMIN permission"/></check-permission>
<check-errors/>
<make-value value-field="newEntity" entity-name="KeywordThesaurus"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<store-value value-name="newEntity"/>
</simple-method>
@@ -47,14 +47,14 @@
<check-permission permission="CATALOG" action="_DELETE"><fail-message message="Security Error: to run deleteKeywordThesaurus you must have the CATALOG_DELETE or CATALOG_ADMIN permission"/></check-permission>
<check-errors/>
<make-value value-field="newEntity" entity-name="KeywordThesaurus"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<remove-by-and entity-name="KeywordThesaurus" map-name="newEntity"/>
</simple-method>
<!-- Uom Conversion service -->
<simple-method method-name="createUomConversionDated" short-description="Create a new dated UOM conversion entity">
<make-value value-field="newEntity" entity-name="UomConversionDated"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<create-value value-name="newEntity"/>
</simple-method>
Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml (original)
+++ ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml Tue Dec 30 03:55:26 2008
@@ -40,7 +40,7 @@
<simple-method method-name="addPortalPageColumn" short-description="Add a new Column to a PortalPage">
<make-value entity-name="PortalPageColumn" value-field="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<make-next-seq-id value-name="newEntity" seq-field-name="columnSeqId"/>
<field-to-result field-name="newEntity.columnSeqId" result-name="columnSeqId"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
@@ -67,13 +67,13 @@
<simple-method method-name="createPortalPagePortlet" short-description="Add a registered PortalPortlet to a PortalPage">
<make-value entity-name="PortalPagePortlet" value-field="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<make-next-seq-id value-name="newEntity" seq-field-name="portletSeqId"/>
<field-to-result field-name="newEntity.portletSeqId" result-name="portletSeqId"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<create-value value-name="newEntity"/>
<make-value entity-name="PortalPageColumn" value-field="newEntity1"/>
- <set-pk-fields map-name="parameters" value-name="newEntity1"/>
+ <set-pk-fields map="parameters" value-field="newEntity1"/>
<make-next-seq-id value-name="newEntity1" seq-field-name="columnSeqId"/>
<create-value value-name="newEntity1"/>
</simple-method>
@@ -106,7 +106,7 @@
<simple-method method-name="createPortalPage" short-description="Create a new Portal Page">
<make-value entity-name="PortalPage" value-field="newPortalPage"/>
- <set-pk-fields map-name="parameters" value-name="newPortalPage"/>
+ <set-pk-fields map="parameters" value-field="newPortalPage"/>
<make-next-seq-id value-name="newPortalPage" seq-field-name="portalPageId"/>
<set-nonpk-fields map-name="parameters" value-name="newPortalPage"/>
Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml (original)
+++ ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml Tue Dec 30 03:55:26 2008
@@ -24,20 +24,20 @@
<simple-method method-name="createDataSource" short-description="Create an DataSource">
<make-value value-field="newEntity" entity-name="DataSource"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<create-value value-name="newEntity"/>
</simple-method>
<simple-method method-name="updateDataSource" short-description="Update an DataSource">
<make-value entity-name="DataSource" value-field="lookupPKMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key entity-name="DataSource" map="lookupPKMap" value-field="lookedUpValue"/>
<set-nonpk-fields map-name="parameters" value-name="lookedUpValue"/>
<store-value value-name="lookedUpValue"/>
</simple-method>
<simple-method method-name="deleteDataSource" short-description="Delete an DataSource">
<make-value entity-name="DataSource" value-field="lookupPKMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key entity-name="DataSource" map="lookupPKMap" value-field="lookedUpValue"/>
<remove-value value-name="lookedUpValue"/>
</simple-method>
Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml (original)
+++ ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml Tue Dec 30 03:55:26 2008
@@ -24,19 +24,19 @@
<simple-method method-name="createDataSourceType" short-description="Create an DataSourceType">
<make-value value-field="newEntity" entity-name="DataSourceType"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<create-value value-name="newEntity"/>
</simple-method>
<simple-method method-name="updateDataSourceType" short-description="Update an DataSourceType">
<make-value entity-name="DataSourceType" value-field="lookupPKMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key entity-name="DataSourceType" map="lookupPKMap" value-field="lookedUpValue"/>
<set-nonpk-fields map-name="parameters" value-name="lookedUpValue"/>
<store-value value-name="lookedUpValue"/>
</simple-method>
<simple-method method-name="deleteDataSourceType" short-description="Delete an DataSourceType">
<make-value entity-name="DataSourceType" value-field="lookupPKMap"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key entity-name="DataSourceType" map="lookupPKMap" value-field="lookedUpValue"/>
<remove-value value-name="lookedUpValue"/>
</simple-method>
Modified: ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml (original)
+++ ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml Tue Dec 30 03:55:26 2008
@@ -39,7 +39,7 @@
<check-errors/>
<make-value value-field="lookupPKMap" entity-name="CustomTimePeriod"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
<set-nonpk-fields map-name="parameters" value-name="lookedUpValue"/>
<store-value value-name="lookedUpValue"/>
@@ -49,7 +49,7 @@
<check-errors/>
<make-value value-field="lookupPKMap" entity-name="CustomTimePeriod"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
<remove-value value-name="lookedUpValue"/>
</simple-method>
Modified: ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml (original)
+++ ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml Tue Dec 30 03:55:26 2008
@@ -61,7 +61,7 @@
<check-errors/>
<make-value value-field="newEntity" entity-name="EntitySyncHistory"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<now-timestamp-to-env env-name="newEntity.startDate"/>
<field-to-result field-name="newEntity.startDate" result-name="startDate"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
@@ -77,7 +77,7 @@
<check-errors/>
<make-value value-field="lookupPKMap" entity-name="EntitySyncHistory"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
<set-nonpk-fields map-name="parameters" value-name="lookedUpValue"/>
<store-value value-name="lookedUpValue"/>
@@ -87,7 +87,7 @@
<check-errors/>
<make-value value-field="lookupPKMap" entity-name="EntitySyncHistory"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
<remove-value value-name="lookedUpValue"/>
</simple-method>
@@ -98,7 +98,7 @@
<check-errors/>
<make-value value-field="newEntity" entity-name="EntitySyncInclude"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<create-value value-name="newEntity"/>
</simple-method>
@@ -107,7 +107,7 @@
<check-errors/>
<make-value value-field="lookupPKMap" entity-name="EntitySyncInclude"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
<set-nonpk-fields map-name="parameters" value-name="lookedUpValue"/>
<store-value value-name="lookedUpValue"/>
@@ -117,7 +117,7 @@
<check-errors/>
<make-value value-field="lookupPKMap" entity-name="EntitySyncInclude"/>
- <set-pk-fields map-name="parameters" value-name="lookupPKMap"/>
+ <set-pk-fields map="parameters" value-field="lookupPKMap"/>
<find-by-primary-key map="lookupPKMap" value-field="lookedUpValue"/>
<remove-value value-name="lookedUpValue"/>
</simple-method>
Modified: ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml (original)
+++ ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml Tue Dec 30 03:55:26 2008
@@ -36,7 +36,7 @@
</if-not-empty>
<make-value entity-name="ExampleStatus" value-field="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity"/>
+ <set-pk-fields map="parameters" value-field="newEntity"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<set field="newEntity.statusDate" from-field="nowTimestamp"/>
<create-value value-name="newEntity"/>
Modified: ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml?rev=730104&r1=730103&r2=730104&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml (original)
+++ ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml Tue Dec 30 03:55:26 2008
@@ -23,7 +23,7 @@
<simple-method method-name="createOagisMessageInfo" short-description="Create MessageInfo">
<make-value entity-name="OagisMessageInfo" value-field="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity" />
+ <set-pk-fields map="parameters" value-field="newEntity" />
<!-- make sure it doesn't already exist: motivation: if it already exists we'll get a HUGE error message on the create with the whole XML file in it if debug is on for that, so we want a smaller error message -->
<find-by-primary-key map="newEntity" value-field="currentOagisMessageInfo"/>
@@ -48,7 +48,7 @@
<simple-method method-name="createOagisMessageErrorInfo" short-description="Create MessageErrorInfo">
<make-value entity-name="OagisMessageErrorInfo" value-field="newEntity"/>
- <set-pk-fields map-name="parameters" value-name="newEntity" />
+ <set-pk-fields map="parameters" value-field="newEntity" />
<make-next-seq-id value-name="newEntity" seq-field-name="errorSeqId"/>
<set-nonpk-fields map-name="parameters" value-name="newEntity"/>
<create-value value-name="newEntity"/>