Author: jleroux
Date: Tue Dec 30 04:01:09 2008 New Revision: 730108 URL: http://svn.apache.org/viewvc?rev=730108&view=rev Log: <create-value(.*)value-name => <create-value$1value-field Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/olap/FactServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/compdoc/CompDocServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/techdata/RoutingSimpleServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/campaign/CampaignServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/segment/SegmentServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/tracking/TrackingCodeServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/opportunity/OpportunityServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/UpgradeServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/communication/CommunicationEventServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/opportunity/OpportunityServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderDeliveryServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/request/CustRequestServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/requirement/RequirementServices.xml ofbiz/trunk/applications/order/script/org/ofbiz/order/shoppinglist/ShoppingListServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/content/PartyContentServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyInvitationServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/UpgradeServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/catalog/CatalogServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryContentServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/category/CategoryServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/communication/CommunicationEventServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ConfigServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/config/ProductConfigItemContentServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/feature/ProductFeatureServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryReserveServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/InventoryServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/inventory/StockMoveServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/price/PriceServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/product/CustomerDigitalDownloadServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/promo/PromoServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/StorageServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/subscription/SubscriptionServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/supplier/SupplierProductServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/issuance/IssuanceServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/picklist/PicklistServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/receipt/ShipmentReceiptServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml ofbiz/trunk/applications/securityext/script/org/ofbiz/securityext/securitygroup/SecurityGroupServices.xml ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/EnumerationServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/datasource/DataSourceTypeServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/olap/CommonDimensionServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/period/PeriodServices.xml ofbiz/trunk/framework/entityext/script/org/ofbiz/entityext/synchronization/EntitySyncServices.xml ofbiz/trunk/framework/example/script/org/ofbiz/example/example/ExampleServices.xml ofbiz/trunk/specialpurpose/mypage/script/org/ofbiz/mypage/Events.xml ofbiz/trunk/specialpurpose/myportal/script/org/ofbiz/myportal/Events.xml ofbiz/trunk/specialpurpose/oagis/script/org/ofbiz/oagis/OagisMessageServices.xml ofbiz/trunk/specialpurpose/projectmgr/script/org/ofbiz/project/ProjectServices.xml ofbiz/trunk/specialpurpose/webpos/script/org/ofbiz/webpos/event/ManagerEvents.xml Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.xml Tue Dec 30 04:01:09 2008 @@ -42,7 +42,7 @@ </if-empty> <!-- finally create the record (should not exist already)--> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> </simple-method> @@ -130,7 +130,7 @@ <field-to-result field-name="newEntity.agreementItemSeqId" result-name="agreementItemSeqId"/> <!-- finally create the record (should not exist already)--> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> </simple-method> @@ -164,7 +164,7 @@ <field-to-result field-name="agreementTermId" result-name="agreementTermId"/> <!-- finally create the record (should not exist already)--> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> </simple-method> @@ -190,7 +190,7 @@ <make-value value-field="newEntity" entity-name="AgreementPromoAppl"/> <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"/> <check-errors/> </simple-method> @@ -216,7 +216,7 @@ <make-value value-field="newEntity" entity-name="AgreementProductAppl"/> <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"/> <check-errors/> </simple-method> @@ -242,7 +242,7 @@ <make-value value-field="newEntity" entity-name="AgreementPartyApplic"/> <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"/> <check-errors/> </simple-method> @@ -268,7 +268,7 @@ <make-value value-field="newEntity" entity-name="AgreementGeographicalApplic"/> <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"/> <check-errors/> </simple-method> @@ -294,7 +294,7 @@ <make-value entity-name="AgreementRole" value-field="newEntity"/> <set-pk-fields value-field="newEntity" map="parameters"/> <set-nonpk-fields value-field="newEntity" map="parameters"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateAgreementRole" short-description="Update an Agreement Role"> @@ -317,7 +317,7 @@ <else> <make-value value-field="newEntity" entity-name="AgreementWorkEffortAppl"/> <set-pk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </else> </if-not-empty> </simple-method> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/cost/CostServices.xml Tue Dec 30 04:01:09 2008 @@ -27,7 +27,7 @@ <set from-field="costComponentCalcId" field="newEntity.costComponentCalcId"/> <field-to-result field-name="costComponentCalcId" result-name="costComponentCalcId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateCostComponentCalc" short-description="Update a CostComponentCalc entry"> <entity-one entity-name="CostComponentCalc" value-name="costComponentCalc"/> @@ -45,7 +45,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="removeWorkEffortCostCalc" short-description="Remove a WorkEffortCostCalc entry"> <entity-one entity-name="WorkEffortCostCalc" value-name="workEffortCostCalc"/> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/finaccount/FinAccountServices.xml Tue Dec 30 04:01:09 2008 @@ -77,7 +77,7 @@ <calcop operator="get" field-name="newEntity.replenishLevel"/> </calculate> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <field-to-result field-name="finAccountId" map-name="newEntity" result-name="finAccountId"/> <set-service-fields service-name="createFinAccountStatus" map-name="newEntity" to-map-name="createFinAccountStatusMap"/> @@ -155,7 +155,7 @@ <set-pk-fields map="parameters" value-field="newEntity"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> <set field="newEntity.statusDate" from-field="nowTimestamp"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <!-- FinAccountTrans Services --> @@ -185,7 +185,7 @@ <log level="warning" message="In createFinAccountTrans had to round the amount from [${originalAmount}] to [${newEntity.amount}]"></log> </if-compare-field> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <field-to-result field-name="newEntity.finAccountTransId" result-name="finAccountTransId"/> </simple-method> @@ -199,7 +199,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="updateFinAccountRole" short-description="Update a Financial Account Role"> <entity-one entity-name="FinAccountRole" value-name="lookedUpValue"/> @@ -237,7 +237,7 @@ <log level="warning" message="In createFinAccountAuth had to round the amount from [${originalAmount}] to [${newEntity.amount}]"></log> </if-compare-field> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <field-to-result field-name="newEntity.finAccountAuthId" result-name="finAccountAuthId"/> </simple-method> <simple-method method-name="expireFinAccountAuth" short-description="Expire a Financial Account Authorization"> @@ -330,7 +330,7 @@ <make-value value-field="newEntity" entity-name="FinAccountTypeGlAccount"/> <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="updateFinAccountTypeGlAccount" short-description="Update an FinAccountTypeGlAccount"> @@ -349,7 +349,7 @@ <make-value entity-name="VarianceReasonGlAccount" value-field="newEntity" /> <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="updateVarianceReasonGlAccount" short-description="Update an Variance Reason Gl Account"> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/fixedasset/FixedAssetServices.xml Tue Dec 30 04:01:09 2008 @@ -48,7 +48,7 @@ <field-to-result field-name="newEntity.fixedAssetId" result-name="fixedAssetId"/> <!-- finally create the record (should not exist already)--> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <!-- update an existing Fixed Asset header Record --> @@ -72,7 +72,7 @@ <now-timestamp-to-env env-name="newEntity.fromDate"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <!-- update the product to fixed Asset link --> @@ -130,7 +130,7 @@ <set-pk-fields map="parameters" value-field="newEntity"/> <!-- finally create the record (should not exist already)--> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> </simple-method> <!-- update an existing FixedAssetStdCost --> @@ -151,7 +151,7 @@ <make-value value-field="newEntity" entity-name="FixedAssetIdent"/> <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="updateFixedAssetIdent" short-description="Update an existing FixedAssetIdent"> <entity-one entity-name="FixedAssetIdent" value-name="lookedUpValue"/> @@ -171,7 +171,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="updateFixedAssetRegistration" short-description="Update an existing FixedAsset Registration"> <entity-one entity-name="FixedAssetRegistration" value-name="lookedUpValue"/> @@ -237,7 +237,7 @@ </call-service> </else> </if-not-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> <set field="workEffortId" from-field="newEntity.scheduleWorkEffortId"/> <call-simple-method method-name="autoAssignFixedAssetPartiesToMaintenance"/> @@ -308,7 +308,7 @@ <make-value entity-name="FixedAssetMeter" 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"/> <check-errors/> <set field="meterValue" from-field="newEntity"/> <call-simple-method method-name="createMaintsFromMeterReading"/> @@ -466,7 +466,7 @@ <field-map field-name="readingDate" from-field="newEntity.readingDate"/> </entity-one> <if-empty field="lookedUpValue"> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> </if-empty> </iterate> @@ -508,7 +508,7 @@ <make-value entity-name="FixedAssetMaintOrder" 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="deleteFixedAssetMaintOrder" short-description="Delete FixedAsset Maintenance Order"> <entity-one entity-name="FixedAssetMaintOrder" value-name="lookedUpValue"/> @@ -524,7 +524,7 @@ <now-timestamp-to-env env-name="nowTimestamp"/> <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="updatePartyFixedAssetAssignment" short-description="Update Party to Fixed Asset"> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml Tue Dec 30 04:01:09 2008 @@ -152,14 +152,14 @@ </if-not-empty> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- create new status entry, and set lastStatusUpdate date --> <make-value value-field="newInvoiceStatus" entity-name="InvoiceStatus"/> <set from-field="newEntity.invoiceId" field="newInvoiceStatus.invoiceId"/> <set from-field="newEntity.statusId" field="newInvoiceStatus.statusId"/> <set from-field="nowTimestamp" field="newInvoiceStatus.statusDate"/> - <create-value value-name="newInvoiceStatus"/> + <create-value value-field="newInvoiceStatus"/> </simple-method> <simple-method method-name="copyInvoice" short-description="Create a new Invoice from an existing invoice"> @@ -277,7 +277,7 @@ <fail-message message="The amount value is mandatory"/> </add-error> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateInvoiceItem" short-description="Update an existing Invoice Item"> @@ -424,7 +424,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <if-empty field="newEntity.datetimePerformed"><now-timestamp-to-env env-name="newEntity.datetimePerformed"/></if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="removeInvoiceRole" short-description="Remove existing Invoice Role"> @@ -480,7 +480,7 @@ <if-empty field="newEntity.statusDate"> <now-timestamp-to-env env-name="newEntity.statusDate"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- if new status is cancelled remove existing payment applications and time entries. --> <if-compare field="parameters.statusId" operator="equals" value="INVOICE_CANCELLED"> @@ -509,7 +509,7 @@ <sequenced-id-to-env sequence-name="InvoiceTerm" env-name="newEntity.invoiceTermId"/> <field-to-result field-name="newEntity.invoiceTermId" result-name="invoiceTermId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="copyInvoiceToTemplate" short-description="copy a invoice to a InvoiceType starting with 'template'"> @@ -542,7 +542,7 @@ <simple-method method-name="createInvoiceContactMech" short-description="Create a ContactMech for an invoice"> <make-value value-field="invoiceContactMech" entity-name="InvoiceContactMech"/> <set-pk-fields map="parameters" value-field="invoiceContactMech"/> - <create-value value-name="invoiceContactMech"/> + <create-value value-field="invoiceContactMech"/> <field-to-result field-name="contactMechId" map-name="invoiceContactMech"/> </simple-method> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml Tue Dec 30 04:01:09 2008 @@ -33,7 +33,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="updateAcctgTrans" short-description="Update an AcctgTrans"> <entity-one entity-name="AcctgTrans" value-name="lookedUpValue"/> @@ -113,7 +113,7 @@ <!-- by default, set the reconciled status of this new entry to not reconciled --> <set value="AES_NOT_RECONCILED" field="newEntity.reconcileStatusId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <!-- when changing entries, also update the last modified info for the AcctgTrans --> <!-- call-simple-method method-name="updateAcctgTransLastModified"/ --> @@ -397,7 +397,7 @@ <set from-field="customTimePeriod.customTimePeriodId" field="glAccountHistory.customTimePeriodId"/> <set field="glAccountHistory.postedDebits" value="0.0" type="Double"/> <set field="glAccountHistory.postedCredits" value="0.0" type="Double"/> - <create-value value-name="glAccountHistory"/> + <create-value value-field="glAccountHistory"/> </if-empty> <!-- update GlAccountHistory's debit and credit totals --> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/olap/FactServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/olap/FactServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/olap/FactServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/olap/FactServices.xml Tue Dec 30 04:01:09 2008 @@ -113,7 +113,7 @@ <!-- TODO --> <set field="fact.orderId" value="_NA_"/> <set field="fact.billToCustomerDimId" value="_NA_"/> - <create-value value-name="fact"/> + <create-value value-field="fact"/> </if-empty> <!-- =============== --> <!-- facts handling --> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/BillingServices.xml Tue Dec 30 04:01:09 2008 @@ -34,7 +34,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="updateBillingAccount" short-description="Update Billing Account"> <make-value value-field="lookupPKMap" entity-name="BillingAccount"/> @@ -51,7 +51,7 @@ <now-timestamp-to-env env-name="nowTimestamp"/> <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="updateBillingAccountRole" short-description="Update Billing Account Role"> <make-value value-field="lookupPKMap" entity-name="BillingAccountRole"/> @@ -75,7 +75,7 @@ <set from-field="billingAccountTermId" field="newEntity.billingAccountTermId"/> <field-to-result field-name="billingAccountTermId" result-name="billingAccountTermId"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateBillingAccountTerm" short-description="Update Billing Account Term"> <make-value value-field="lookupPKMap" entity-name="BillingAccountTerm"/> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentMethodServices.xml Tue Dec 30 04:01:09 2008 @@ -106,7 +106,7 @@ <make-value entity-name="CreditCardTypeGlAccount" 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="updateCreditCardTypeGlAccount" short-description="Update a Credit Card Gl Account"> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/payment/PaymentServices.xml Tue Dec 30 04:01:09 2008 @@ -61,7 +61,7 @@ <if-empty field="payment.effectiveDate"> <now-timestamp-to-env env-name="payment.effectiveDate"/> </if-empty> - <create-value value-name="payment"/> + <create-value value-field="payment"/> </simple-method> <simple-method method-name="updatePayment" short-description="Update a Payment"> <make-value entity-name="Payment" value-field="lookupPayment"/> @@ -161,7 +161,7 @@ <sequenced-id-to-env sequence-name="PaymentApplication" env-name="paymentAppl.paymentApplicationId"/> <field-to-result field-name="paymentAppl.paymentApplicationId" result-name="paymentApplicationId"/> - <create-value value-name="paymentAppl"/> + <create-value value-field="paymentAppl"/> </simple-method> <simple-method method-name="setPaymentStatus" short-description="Set The Payment Status"> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/rate/RateServices.xml Tue Dec 30 04:01:09 2008 @@ -67,7 +67,7 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <now-timestamp-to-env env-name="newEntity.fromDate"/> <clear-field field-name="newEntity.thruDate"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="deleteRateAmount" short-description="update/create a rate amount value"> @@ -312,7 +312,7 @@ <if-empty field="newEntity.fromDate"><now-timestamp-to-env env-name="newEntity.fromDate"/></if-empty> <set-nonpk-fields map="parameters" value-field="newEntity"/> <call-simple-method method-name="checkOtherDefaultRate"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <if-not-empty field="parameters.rateAmount"> <set-service-fields service-name="updateRateAmount" map-name="parameters" to-map-name="updRate"/> @@ -357,28 +357,28 @@ <make-value value-field="emplPositionTypeRate" entity-name="EmplPositionTypeRate"/> <set-pk-fields value-field="posRate" map="emplPositionTypeRate"/> <set-nonpk-fields value-field="posRate" map="emplPositionTypeRate"/> - <create-value value-name="emplPositionTypeRate"/> + <create-value value-field="emplPositionTypeRate"/> <make-value value-field="rateAmount" entity-name="RateAmount"/> <set-pk-fields value-field="posRate" map="rateAmount"/> <set-nonpk-fields value-field="posRate" map="rateAmount"/> <set field="rateAmount.workeffortId" value="_NA_"/> <set field="rateAmount.partyId" value="_NA_"/> <property-to-field resource="general.properties" property="currency.uom.id.default" field-name="rateAmount.rateCurrencyUomId"/> - <create-value value-name="rateAmount"/> + <create-value value-field="rateAmount"/> </iterate> <entity-condition entity-name="OldPartyRate" list-name="partyRates"/> <iterate entry="oldPartyRate" list="oldPartyRates"> <make-value value-field="partyRate" entity-name="PartyRate"/> <set-pk-fields value-field="oldPartyRate" map="partyRate"/> <set-nonpk-fields value-field="oldPartyRate" map="partyRate"/> - <create-value value-name="partyRate"/> + <create-value value-field="partyRate"/> <make-value value-field="rateAmount" entity-name="RateAmount"/> <set-pk-fields value-field="oldPartyRate" map="rateAmount"/> <set-nonpk-fields value-field="oldPartyRate" map="rateAmount"/> <set field="rateAmount.workeffortId" value="_NA_"/> <set field="rateAmount.emplPositionTypeId" value="_NA_"/> <set field="rateAmount.periodTypeId" value="RATE_HOUR"/> - <create-value value-name="rateAmount"/> + <create-value value-field="rateAmount"/> </iterate> </simple-method> </simple-methods> Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml (original) +++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/tax/TaxAuthorityServices.xml Tue Dec 30 04:01:09 2008 @@ -30,7 +30,7 @@ <make-value entity-name="TaxAuthority" 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="updateTaxAuthority" short-description="update a TaxAuthority"> <set value="_UPDATE" field="securityAction"/> @@ -60,7 +60,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="updateTaxAuthorityAssoc" short-description="update a TaxAuthorityAssoc"> <set value="_UPDATE" field="securityAction"/> @@ -89,7 +89,7 @@ <make-value entity-name="TaxAuthorityCategory" 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="updateTaxAuthorityCategory" short-description="update a TaxAuthorityCategory"> <set value="_UPDATE" field="securityAction"/> @@ -130,7 +130,7 @@ <make-value entity-name="TaxAuthorityGlAccount" 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="updateTaxAuthorityGlAccount" short-description="update a TaxAuthorityGlAccount"> <set value="_UPDATE" field="securityAction"/> @@ -161,7 +161,7 @@ <field-to-result field-name="newEntity.taxAuthorityRateSeqId" result-name="taxAuthorityRateSeqId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateTaxAuthorityRateProduct" short-description="update a TaxAuthorityRateProduct"> <set value="_UPDATE" field="securityAction"/> @@ -197,7 +197,7 @@ <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="updatePartyTaxAuthInfo" short-description="update a PartyTaxAuthInfo"> <set value="_UPDATE" field="securityAction"/> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/compdoc/CompDocServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/compdoc/CompDocServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/compdoc/CompDocServices.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/compdoc/CompDocServices.xml Tue Dec 30 04:01:09 2008 @@ -75,7 +75,7 @@ <set from-field="rootInstanceContent.createdByUserLogin" field="parameters.userLogin.userLoginId"/> <set from-field="rootInstanceContent.lastModifiedByUserLogin" field="parameters.userLogin.userLoginId"/> <set value="COMPDOC_INSTANCE" field="rootInstanceContent.contentTypeId"/> - <create-value value-name="rootInstanceContent"/> + <create-value value-field="rootInstanceContent"/> <log message="genCompDocInstance 3> rootInstanceContent: ${rootInstanceContent}" level="info"/> <field-to-result result-name="contentId" field-name="rootInstanceContent.contentId"/> @@ -127,13 +127,13 @@ <sequenced-id-to-env sequence-name="Content" env-name="instanceContent.contentId"/> <set value="TEMPLATE" field="instanceContent.contentTypeId"/> - <create-value value-name="instanceContent"/> + <create-value value-field="instanceContent"/> <make-value entity-name="ContentAssoc" value-field="instanceContentAssoc"/> <set from-field="thisInstanceContentId" field="instanceContentAssoc.contentIdTo"/> <set from-field="instanceContent.contentId" field="instanceContentAssoc.contentId"/> <set value="COMPDOC_PART" field="instanceContentAssoc.contentAssocTypeId"/> <set from-field="nowTimestamp" field="instanceContentAssoc.fromDate"/> - <create-value value-name="instanceContent"/> + <create-value value-field="instanceContent"/> <!-- recursively call this method --> <set from-field="templateContentAssoc.contentId" field="parentTemplateContentId"/> <set from-field="instanceContent.contentId" field="parentInstanceContentId"/> @@ -335,7 +335,7 @@ <make-value entity-name="ContentRevision" value-field="newEntity"/> <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="updateContentRevision" short-description="Update ContentRevision"> <check-permission action="_UPDATE" permission="CONTENTMGR"> @@ -367,7 +367,7 @@ <make-value entity-name="ContentRevisionItem" value-field="newEntity"/> <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="updateContentRevisionItem" short-description="Update ContentRevisionItem"> <check-permission action="_UPDATE" permission="CONTENTMGR"> @@ -430,13 +430,13 @@ <set-nonpk-fields map="parameters" value-field="newEntity"/> <set field="newEntity.contentRevisionSeqId" from-field="paddedSeqId"/> <log level="info" message="ContentRevision(1): ${newEntity}"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <if-not-empty field="parameters.itemContentId"> <make-value entity-name="ContentRevisionItem" value-field="newEntity"/> <set-pk-fields map="parameters" value-field="newEntity"/> <set field="newEntity.contentRevisionSeqId" from-field="paddedSeqId"/> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <log level="info" message="ContentRevisionItem(1): ${newEntity}"/> </if-not-empty> <field-to-result field-name="paddedSeqId" result-name="contentRevisionSeqId"/> @@ -496,7 +496,7 @@ <if-empty field="newEntity.contentApprovalId"> <sequenced-id-to-env sequence-name="ContentApproval" env-name="newEntity.contentApprovalId"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <check-errors/> <field-to-result result-name="contentApprovalId" field-name="newEntity.contentApprovalId"/> </simple-method> @@ -600,7 +600,7 @@ <sequenced-id-to-env sequence-name="ContentApproval" env-name="contentApproval.contentApprovalId"/> <clear-field field-name="contentApproval.approvalStatusId"/> <log level="info" message="contentApproval 2b: ${contentApproval}"/> - <create-value value-name="contentApproval"/> + <create-value value-field="contentApproval"/> </iterate> </simple-method> <simple-method method-name="cloneInstanceContentApprovals" short-description="Bump the previous ContentApproval approvals up to current CDI"> @@ -655,7 +655,7 @@ <set value="CNTAP_READY" field="contentApproval.approvalStatusId"/> <set from-field="nowTimestamp" field="contentApproval.approvalDate"/> <log level="info" message="contentApproval 2b: ${contentApproval}"/> - <create-value value-name="contentApproval"/> + <create-value value-field="contentApproval"/> </iterate> </then> <else> @@ -720,7 +720,7 @@ </else> </if-compare> <log level="info" message="contentApproval 2: ${contentApproval}"/> - <create-value value-name="contentApproval"/> + <create-value value-field="contentApproval"/> </iterate> <!-- if an instance track, check to see if there any new or deleted records on the template --> <set from-field="content.instanceOfContentId" field="rootTemplateContentId"/> @@ -756,7 +756,7 @@ <sequenced-id-to-env sequence-name="ContentApproval" env-name="contentApproval.contentApprovalId"/> <set field="contentApproval.approvalStatusId" value="CNTAP_READY"/> <log level="info" message="contentApproval 2b: ${contentApproval}"/> - <create-value value-name="contentApproval"/> + <create-value value-field="contentApproval"/> </if-empty> </iterate> <!-- TODO: remove instance approvals that have been deleted from the template set --> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentEvents.xml Tue Dec 30 04:01:09 2008 @@ -79,7 +79,7 @@ <set field="newContentPurpose.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <log level="always" message="contentId: ${contentId}"/> <set field="newContentPurpose.contentId" from-field="contentId"/> - <create-value value-name="newContentPurpose"/> + <create-value value-field="newContentPurpose"/> <log level="always" message="newContentPurpose: ${newContentPurpose}"/> </if-not-empty> </simple-method> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentPermissionEvents.xml Tue Dec 30 04:01:09 2008 @@ -53,12 +53,12 @@ <check-errors/> <if-compare field="permissionStatus" operator="equals" type="String" value="granted"> - <create-value value-name="currentContent"/> + <create-value value-field="currentContent"/> <if-not-empty field="parameters.contentPurposeTypeId"> <make-value entity-name="ContentPurpose" value-field="newContentPurpose"/> <set field="newContentPurpose.contentPurposeTypeId" from-field="parameters.contentPurposeTypeId"/> <set field="newContentPurpose.contentId" from-field="currentContent.contentId"/> - <create-value value-name="newContentPurpose"/> + <create-value value-field="newContentPurpose"/> </if-not-empty> </if-compare> </simple-method> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml Tue Dec 30 04:01:09 2008 @@ -48,7 +48,7 @@ <set field="content.lastModifiedDate" from-field="nowTimestamp"/> <set field="content.createdDate" from-field="nowTimestamp"/> - <create-value value-name="content"/> + <create-value value-field="content"/> <field-to-result field-name="content.contentId" result-name="contentId"/> </simple-method> @@ -88,7 +88,7 @@ <set field="assoc.lastModifiedDate" from-field="nowTimestamp"/> <set field="assoc.createdDate" from-field="nowTimestamp"/> - <create-value value-name="assoc"/> + <create-value value-field="assoc"/> <log level="info" message="assoc: ${assoc}"/> <field-to-result field-name="assoc.fromDate" result-name="fromDate"/> </simple-method> @@ -220,7 +220,7 @@ <if-not-empty field="parameters.thruDate"> <set from-field="parameters.thruDate" field="newContentAssoc.thruDate"/> </if-not-empty> - <create-value value-name="newContentAssoc" /> + <create-value value-field="newContentAssoc" /> </if-compare> <check-errors/> </simple-method> @@ -230,7 +230,7 @@ <make-value entity-name="ContentMetaData" value-field="newEntity"/> <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="updateContentMetaData" short-description="Update Content Meta Data"> <make-value entity-name="ContentMetaData" value-field="lookupKeyValue"/> @@ -256,7 +256,7 @@ <find-by-primary-key entity-name="PartyRole" map="partyRolePK" value-field="partyRole"/> <if-empty field="partyRole"> <make-value entity-name="PartyRole" map-name="partyRolePK" value-field="partyRole"/> - <create-value value-name="partyRole"/> + <create-value value-field="partyRole"/> </if-empty> <check-errors/> @@ -265,7 +265,7 @@ <find-by-primary-key entity-name="ContentRole" map="newEntity" value-field="contentRole"/> <if-empty field="contentRole"> <set-nonpk-fields map="parameters" value-field="newEntity"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </if-empty> <check-errors/> </simple-method> @@ -301,7 +301,7 @@ <make-value entity-name="ContentType" value-field="newEntity"/> <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"/> <field-to-result map-name="newEntity" field-name="contentTypeId" /> </simple-method> <simple-method method-name="updateContentType" short-description="Update Content Type"> @@ -323,7 +323,7 @@ <make-value entity-name="ContentTypeAttr" value-field="newEntity"/> <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="removeContentTypeAttr" short-description="Remove Content TypeAttr"> <make-value entity-name="ContentTypeAttr" value-field="lookupKeyValue"/> @@ -337,7 +337,7 @@ <make-value entity-name="ContentAssocType" value-field="newEntity"/> <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"/> <field-to-result map-name="newEntity" field-name="contentAssocTypeId" /> </simple-method> <simple-method method-name="updateContentAssocType" short-description="Update Content AssocType"> @@ -362,7 +362,7 @@ <if-empty field="newEntity.contentPurposeTypeId"> <make-next-seq-id seq-field-name="contentPurposeTypeId" value-name="newEntity"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <field-to-result map-name="newEntity" field-name="contentPurposeTypeId" /> </simple-method> <simple-method method-name="updateContentPurposeType" short-description="Update Content PurposeType"> @@ -384,7 +384,7 @@ <make-value entity-name="ContentAssocPredicate" value-field="newEntity"/> <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"/> <field-to-result map-name="newEntity" field-name="contentAssocPredicateId" /> </simple-method> <simple-method method-name="updateContentAssocPredicate" short-description="Update Content AssocPredicate"> @@ -406,7 +406,7 @@ <make-value entity-name="ContentPurposeOperation" value-field="newEntity"/> <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="updateContentPurposeOperation" short-description="Update Content PurposeOperation"> <make-value entity-name="ContentPurposeOperation" value-field="lookupKeyValue"/> @@ -427,7 +427,7 @@ <make-value entity-name="ContentPurpose" value-field="newEntity"/> <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="updateContentPurpose" short-description="Update Content Purpose"> <make-value entity-name="ContentPurpose" value-field="lookupKeyValue"/> @@ -453,7 +453,7 @@ <make-value entity-name="ContentOperation" value-field="newEntity"/> <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="updateContentOperation" short-description="Update Content Operation"> <make-value entity-name="ContentOperation" value-field="lookupKeyValue"/> @@ -474,7 +474,7 @@ <make-value entity-name="ContentPurposeOperation" value-field="newEntity"/> <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="updateContentPurposeOperation" short-description="Update Content PurposeOperation"> <make-value entity-name="ContentPurposeOperation" value-field="lookupKeyValue"/> @@ -495,7 +495,7 @@ <make-value entity-name="ContentAttribute" value-field="newEntity"/> <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="updateContentAttribute" short-description="Update Content Attribute"> <make-value entity-name="ContentAttribute" value-field="lookupKeyValue"/> @@ -516,7 +516,7 @@ <make-value entity-name="ContentMetaData" value-field="newEntity"/> <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="updateContentMetaData" short-description="Update Content MetaData"> <make-value entity-name="ContentMetaData" value-field="lookupKeyValue"/> @@ -726,7 +726,7 @@ <set from-field="parameters.userLogin.userLoginId" field="content.lastModifiedByUserLogin"/> <set from-field="parameters.userLogin.userLoginId" field="content.createdByUserLogin"/> - <create-value value-name="content"/> + <create-value value-field="content"/> </simple-method> <!-- This method will create a skeleton content record from a data resource --> @@ -846,7 +846,7 @@ <if-empty field="commEventContentAssoc.fromDate"> <now-timestamp-to-env env-name="commEventContentAssoc.fromDate"/> </if-empty> - <create-value value-name="commEventContentAssoc" /> + <create-value value-field="commEventContentAssoc" /> <field-to-result field-name="commEventContentAssoc.fromDate" result-name="fromDate"/> </simple-method> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml Tue Dec 30 04:01:09 2008 @@ -51,7 +51,7 @@ <set field="newEntity.statusId" from-field="statusItem.statusId"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> <field-to-result field-name="dataResourceId" map-name="newEntity"/> </simple-method> @@ -84,7 +84,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"/> <field-to-result field-name="dataCategoryId" map-name="newEntity"/> </simple-method> <simple-method method-name="updateDataCategory" short-description="Update a Data Category"> @@ -109,7 +109,7 @@ <make-value entity-name="DataResourceMetaData" value-field="newEntity"/> <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="updateDataResourceMetaData" short-description="Update Data Resource Meta Data"> <check-permission permission="CONTENTMGR" action="_UPDATE"><fail-message message="Security Error: to run updateDataResourceMetaData you must have the CONTENTMGR_UPDATE or CONTENTMGR_ADMIN permission"/></check-permission> @@ -139,7 +139,7 @@ <make-value entity-name="DataResourcePurpose" value-field="newEntity"/> <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="updateDataResourcePurpose" short-description="Update Data Resource Purpose"> <check-permission permission="CONTENTMGR" action="_UPDATE"><fail-message message="Security Error: to run updateDataResourcePurpose you must have the CONTENTMGR_UPDATE or CONTENTMGR_ADMIN permission"/></check-permission> @@ -172,7 +172,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="updateDataResourceRole" short-description="Update Data Resource Role"> <make-value entity-name="DataResourceRole" value-field="lookupKeyValue"/> @@ -193,7 +193,7 @@ <make-value entity-name="DataCategory" value-field="newEntity"/> <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"/> <field-to-result field-name="dataCategoryId" map-name="newEntity"/> </simple-method> <simple-method method-name="updateDataCategory" short-description="Update Data Category"> @@ -215,7 +215,7 @@ <make-value entity-name="DataResourceType" value-field="newEntity"/> <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"/> <field-to-result field-name="dataResourceTypeId" map-name="newEntity"/> </simple-method> <simple-method method-name="updateDataResourceType" short-description="Update Data Resource Type"> @@ -237,7 +237,7 @@ <make-value entity-name="DataResourceAttribute" value-field="newEntity"/> <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="updateDataResourceAttribute" short-description="Update Data Resource Attribute"> <make-value entity-name="DataResourceAttribute" value-field="lookupKeyValue"/> @@ -258,7 +258,7 @@ <make-value entity-name="DataResourceTypeAttr" value-field="newEntity"/> <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="updateDataResourceTypeAttr" short-description="Update Data Resource Type Attribute"> <make-value entity-name="DataResourceTypeAttr" value-field="lookupKeyValue"/> @@ -279,7 +279,7 @@ <make-value entity-name="CharacterSet" value-field="newEntity"/> <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"/> <field-to-result field-name="characterSetId" map-name="newEntity"/> </simple-method> <simple-method method-name="updateCharacterSet" short-description="Update Character Set"> @@ -301,7 +301,7 @@ <make-value entity-name="FileExtension" value-field="newEntity"/> <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"/> <field-to-result field-name="fileExtensionId" map-name="newEntity"/> </simple-method> <simple-method method-name="updateFileExtension" short-description="Update Data Resource Role"> @@ -323,7 +323,7 @@ <make-value entity-name="MetaDataPredicate" value-field="newEntity"/> <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"/> <field-to-result field-name="metaDataPredicateId" map-name="newEntity"/> </simple-method> <simple-method method-name="updateMetaDataPredicate" short-description="Update Data Resource Role"> @@ -345,7 +345,7 @@ <make-value entity-name="MimeType" value-field="newEntity"/> <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"/> <field-to-result field-name="mimeTypeId" map-name="newEntity"/> </simple-method> <simple-method method-name="updateMimeType" short-description="Update MimeType"> @@ -367,7 +367,7 @@ <make-value entity-name="MimeTypeHtmlTemplate" value-field="newEntity"/> <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="updateMimeTypeHtmlTemplate" short-description="Update MimeTypeHtmlTemplate"> <make-value entity-name="MimeTypeHtmlTemplate" value-field="lookupKeyValue"/> @@ -389,7 +389,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"/> <field-to-result field-name="dataResourceId" map-name="newEntity"/> </simple-method> @@ -415,7 +415,7 @@ <make-value entity-name="ImageDataResource" value-field="newEntity"/> <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="updateImageDataResource" short-description="Update Image Data Resource"> <make-value entity-name="ImageDataResource" value-field="lookupKeyValue"/> @@ -436,7 +436,7 @@ <make-value entity-name="VideoDataResource" value-field="newEntity"/> <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="updateVideoDataResource" short-description="Update Video Data Resource"> <make-value entity-name="VideoDataResource" value-field="lookupKeyValue"/> @@ -457,7 +457,7 @@ <make-value entity-name="AudioDataResource" value-field="newEntity"/> <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="updateAudioDataResource" short-description="Update Audio Data Resource"> <make-value entity-name="AudioDataResource" value-field="lookupKeyValue"/> @@ -478,7 +478,7 @@ <make-value entity-name="OtherDataResource" value-field="newEntity"/> <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"/> <log level="always" message="created new OtherDataResource: ${newEntity}"/> </simple-method> <simple-method method-name="updateOtherDataResource" short-description="Update Other Data Resource"> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml (original) +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml Tue Dec 30 04:01:09 2008 @@ -27,7 +27,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="updateWebSite" short-description="Update a WebSite"> <entity-one entity-name="WebSite" value-name="webSite"/> @@ -51,7 +51,7 @@ <now-date-to-env env-name="nowTimestamp"/> <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="updateWebSiteContent" short-description="Update WebSite Content"> <make-value value-field="lookupPKMap" entity-name="WebSiteContent"/> @@ -76,7 +76,7 @@ <sequenced-id-to-env sequence-name="WebSiteContentTypeId" env-name="webSiteContentTypeId"/> <set field="newEntity.webSiteContentTypeId" from-field="webSiteContentTypeId"/> </if-empty> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateWebSiteContentType" short-description="Update WebSite Content Type"> <make-value value-field="lookupPKMap" entity-name="WebSiteContentType"/> @@ -97,7 +97,7 @@ <make-value value-field="newEntity" entity-name="WebSitePathAlias"/> <set-pk-fields value-field="newEntity" map="parameters"/> <set-nonpk-fields value-field="newEntity" map="parameters"/> - <create-value value-name="newEntity"/> + <create-value value-field="newEntity"/> </simple-method> <simple-method method-name="updateWebSitePathAlias" short-description="Update WebSite Path Alias"> <make-value value-field="lookupPKMap" entity-name="WebSitePathAlias"/> @@ -130,7 +130,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="updateWebSiteRole" short-description="Update WebSite Role"> <make-value value-field="lookupPKMap" entity-name="WebSiteRole"/> Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml (original) +++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Tue Dec 30 04:01:09 2008 @@ -306,7 +306,7 @@ <set from-field="tempMap.partyId" field="mobilePhoneContext.partyId"/> <set from-field="tempMap.partyId" field="emailContext.partyId"/> - <create-value value-name="partyDataSource"/> + <create-value value-field="partyDataSource"/> <call-service service-name="createPartyRole" in-map-name="partyRoleContext" include-user-login="true"/> <!-- shipping address --> Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml?rev=730108&r1=730107&r2=730108&view=diff ============================================================================== --- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml (original) +++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/QuickAnonCustomerEvents.xml Tue Dec 30 04:01:09 2008 @@ -345,10 +345,10 @@ ]]></call-bsh> <!-- create the UserLogin manually to get around ordering and security constraints in the service --> <set field="userLoginContext.partyId" from-field="partyId" /> - <create-value value-name="newUserLogin"/> + <create-value value-field="newUserLogin"/> </if-not-empty> - <create-value value-name="partyDataSource"/> + <create-value value-field="partyDataSource"/> <!-- add contactMechPurposeTypeId for first Postal Address --> <if-compare field="shipToPostalAddress" operator="equals" value="true"> |
Free forum by Nabble | Edit this page |