Author: jleroux
Date: Tue Dec 30 04:22:42 2008 New Revision: 730122 URL: http://svn.apache.org/viewvc?rev=730122&view=rev Log: <set-service-fields(.*)map-name => <set-service-fields(.*)map-name (include to-map-name) Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/agreement/AgreementServices.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/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/ContentServices.xml ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.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/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/PartyContactMechServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/customer/CustomerEvents.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartyServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/party/PartySimpleEvents.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/test/PartyTestServices.xml ofbiz/trunk/applications/party/script/org/ofbiz/party/user/UserEvents.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/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/InventoryIssueServices.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/olap/ProductDimensionServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/product/ProductContentServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/storage/FacilityContactMechServices.xml ofbiz/trunk/applications/product/script/org/ofbiz/product/store/ProductStoreServices.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/workeffort/script/org/ofbiz/workeffort/timesheet/TimesheetServices.xml ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml ofbiz/trunk/framework/bi/script/org/ofbiz/bi/DimensionServices.xml ofbiz/trunk/framework/common/script/org/ofbiz/common/PortalPageServices.xml ofbiz/trunk/specialpurpose/assetmaint/script/org/ofbiz/assetmaint/FixedAssetMaintEvents.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/projectmgr/script/org/ofbiz/project/ProjectSimpleEvents.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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -69,7 +69,7 @@ <simple-method method-name="copyAgreement" short-description="Copy an existing Agreement"> <entity-one entity-name="Agreement" value-field="agreement" auto-field-map="true"/> <check-errors/> - <set-service-fields service-name="createAgreement" to-map-name="createAgreementInMap" map-name="agreement"/> + <set-service-fields service-name="createAgreement" to-map="createAgreementInMap" map="agreement"/> <call-service service-name="createAgreement" in-map-name="createAgreementInMap"> <result-to-field result-name="agreementId" field-name="agreementIdTo"/> </call-service> @@ -77,7 +77,7 @@ <get-related value-name="agreement" relation-name="AgreementItem" list-name="agreementItems"/> <iterate list="agreementItems" entry="agreementItem"> <clear-field field="createAgreementItemInMap"/> - <set-service-fields service-name="createAgreementItem" to-map-name="createAgreementItemInMap" map-name="agreementItem"/> + <set-service-fields service-name="createAgreementItem" to-map="createAgreementItemInMap" map="agreementItem"/> <set from-field="agreementIdTo" field="createAgreementItemInMap.agreementId"/> <call-service service-name="createAgreementItem" in-map-name="createAgreementItemInMap"/> </iterate> @@ -85,7 +85,7 @@ <get-related value-name="agreement" relation-name="AgreementTerm" list-name="agreementTerms"/> <iterate list="agreementTerms" entry="agreementTerm"> <clear-field field="createAgreementTermInMap"/> - <set-service-fields service-name="createAgreementTerm" to-map-name="createAgreementTermInMap" map-name="agreementTerm"/> + <set-service-fields service-name="createAgreementTerm" to-map="createAgreementTermInMap" map="agreementTerm"/> <set from-field="agreementIdTo" field="createAgreementTermInMap.agreementId"/> <call-service service-name="createAgreementTerm" in-map-name="createAgreementTermInMap"/> </iterate> @@ -94,7 +94,7 @@ <get-related value-name="agreement" relation-name="AgreementProductAppl" list-name="agreementProductAppls"/> <iterate list="agreementProductAppls" entry="agreementProductAppl"> <clear-field field="createAgreementProductApplInMap"/> - <set-service-fields service-name="createAgreementProductAppl" to-map-name="createAgreementProductApplInMap" map-name="agreementProductAppl"/> + <set-service-fields service-name="createAgreementProductAppl" to-map="createAgreementProductApplInMap" map="agreementProductAppl"/> <set from-field="agreementIdTo" field="createAgreementProductApplInMap.agreementId"/> <call-service service-name="createAgreementProductAppl" in-map-name="createAgreementProductApplInMap"/> </iterate> @@ -103,7 +103,7 @@ <get-related value-name="agreement" relation-name="AgreementPartyApplic" list-name="agreementPartyApplic"/> <iterate list="agreementPartyApplics" entry="agreementPartyApplic"> <clear-field field="createAgreementPartyApplicInMap"/> - <set-service-fields service-name="createAgreementPartyApplic" to-map-name="createAgreementPartyApplicInMap" map-name="agreementPartyApplic"/> + <set-service-fields service-name="createAgreementPartyApplic" to-map="createAgreementPartyApplicInMap" map="agreementPartyApplic"/> <set from-field="agreementIdTo" field="createAgreementPartyApplicInMap.agreementId"/> <call-service service-name="createAgreementPartyApplic" in-map-name="createAgreementPartyApplicInMap"/> </iterate> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -80,7 +80,7 @@ <create-value value-field="newEntity"/> <field-to-result field="finAccountId" map-name="newEntity" result-name="finAccountId"/> - <set-service-fields service-name="createFinAccountStatus" map-name="newEntity" to-map-name="createFinAccountStatusMap"/> + <set-service-fields service-name="createFinAccountStatus" map="newEntity" to-map="createFinAccountStatusMap"/> <call-service service-name="createFinAccountStatus" in-map-name="createFinAccountStatusMap"/> </simple-method> <simple-method method-name="updateFinAccount" short-description="Update a Financial Account"> @@ -115,7 +115,7 @@ </if-not-empty> <!-- before we set the nonpk fields, if the statusId is different save a status history record --> - <set-service-fields service-name="createFinAccountStatus" map-name="parameters" to-map-name="createFinAccountStatusMap"/> + <set-service-fields service-name="createFinAccountStatus" map="parameters" to-map="createFinAccountStatusMap"/> <call-service service-name="createFinAccountStatus" in-map-name="createFinAccountStatusMap"/> </then> </if> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -369,7 +369,7 @@ </else> </if-compare> <if-compare field="maintDue" operator="equals" value="true"> - <set-service-fields service-name="createFixedAssetMaint" to-map-name="createMaintCxt" map-name="productMaintValue"/> + <set-service-fields service-name="createFixedAssetMaint" to-map="createMaintCxt" map="productMaintValue"/> <set field="createMaintCxt.fixedAssetId" from-field="fixedAssetValue.fixedAssetId"/> <set field="createMaintCxt.intervalQuantity" from-field="meterValue.meterValue"/> <set field="createMaintCxt.statusId" value="FAM_CREATED"/> @@ -441,7 +441,7 @@ </else> </if-compare> <if-compare field="maintDue" operator="equals" value="true"> - <set-service-fields service-name="createFixedAssetMaint" to-map-name="createMaintCxt" map-name="productMaint"/> + <set-service-fields service-name="createFixedAssetMaint" to-map="createMaintCxt" map="productMaint"/> <set field="createMaintCxt.fixedAssetId" from-field="fixedAsset.fixedAssetId"/> <set field="createMaintCxt.statusId" value="FAM_CREATED"/> <call-service service-name="createFixedAssetMaint" in-map-name="createMaintCxt"/> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -175,7 +175,7 @@ <if-not-empty field="parameters.invoiceTypeId"> <set field="invoice.invoiceTypeId" from-field="parameters.invoiceTypeId"/> </if-not-empty> - <set-service-fields service-name="createInvoice" map-name="invoice" to-map-name="newInvoice"/> + <set-service-fields service-name="createInvoice" map="invoice" to-map="newInvoice"/> <clear-field field="newInvoice.invoiceId"/> <call-service service-name="createInvoice" in-map-name="newInvoice"> <result-to-field result-name="invoiceId" field-name="invoiceId"/> @@ -183,7 +183,7 @@ <field-to-result field="invoiceId" result-name="invoiceId"/> <field-to-request field-name="invoiceId" request-name="invoiceId"/> <iterate entry="invoiceItem" list="invoiceItems"> - <set-service-fields service-name="createInvoiceItem" map-name="invoiceItem" to-map-name="createInvoiceItem"/> + <set-service-fields service-name="createInvoiceItem" map="invoiceItem" to-map="createInvoiceItem"/> <set field="createInvoiceItem.invoiceId" from-field="invoiceId"/> <call-service service-name="createInvoiceItem" in-map-name="createInvoiceItem"/> </iterate> @@ -236,7 +236,7 @@ </simple-method> <simple-method method-name="sendInvoicePerEmail" short-description="Send an invoice per Email"> - <set-service-fields service-name="sendMailFromScreen" map-name="parameters" to-map-name="emailParams"/> + <set-service-fields service-name="sendMailFromScreen" map="parameters" to-map="emailParams"/> <set field="emailParams.xslfoAttachScreenLocation" value="component://accounting/widget/AccountingPrintScreens.xml#InvoicePDF"/> <set field="emailParams.bodyParameters.invoiceId" from-field="parameters.invoiceId"/> <set field="emailParams.bodyParameters.userLogin" from-field="parameters.userLogin"/> @@ -557,12 +557,12 @@ <field-map field-name="recurrenceInfoId" from-field="parameters.recurrenceInfoId"/> </entity-and> <iterate list="invoices" entry="invoice"> - <set-service-fields service-name="copyInvoice" map-name="invoice" to-map-name="copyInvoiceCtx"/> + <set-service-fields service-name="copyInvoice" map="invoice" to-map="copyInvoiceCtx"/> <set field="copyInvoiceCtx.invoiceIdToCopyFrom" from-field="invoice.invoiceId"/> <call-service service-name="copyInvoice" in-map-name="copyInvoiceCtx"> <result-to-field result-name="invoiceId" field-name="invoiceId"/> </call-service> - <set-service-fields service-name="updateInvoice" map-name="invoice" to-map-name="updateInvoiceCtx"/> + <set-service-fields service-name="updateInvoice" map="invoice" to-map="updateInvoiceCtx"/> <set field="updateInvoiceCtx.invoiceId" from-field="invoiceId"/> <if-compare field="updateInvoiceCtx.invoiceTypeId" operator="equals" value="SALES_INV_TEMPLATE"> <set field="updateInvoiceCtx.invoiceTypeId" value="SALES_INVOICE"/> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -84,7 +84,7 @@ <field field-name="creditCard.expireDate"/> </call-class-method> <if-compare field="isNotExpired" operator="equals" type="Boolean" value="true"> - <set-service-fields service-name="updateCreditCard" map-name="creditCard" to-map-name="uccMap"/> + <set-service-fields service-name="updateCreditCard" map="creditCard" to-map="uccMap"/> <set field="uccMap.contactMechId" from-field="parameters.contactMechId"/> <set field="uccMap.partyId" from-field="parameters.partyId"/> <!-- use the service so it will expire the old card and create a new one; don't break on error since this is a background process, just get whatever we can done... --> @@ -94,7 +94,7 @@ <find-by-and entity-name="EftAccount" map-name="lookupMap" list-name="eftAccounts"/> <iterate entry="eftAccount" list="eftAccounts"> - <set-service-fields service-name="updateEftAccount" map-name="eftAccount" to-map-name="ueaMap"/> + <set-service-fields service-name="updateEftAccount" map="eftAccount" to-map="ueaMap"/> <set field="ueaMap.contactMechId" from-field="parameters.contactMechId"/> <set field="ueaMap.partyId" from-field="parameters.partyId"/> <!-- use the service so it will expire the old account and create a new one; don't break on error since this is a background process, just get whatever we can done... --> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -119,7 +119,7 @@ <if-not-empty field="parameters.statusId"> <if-compare-field field="parameters.statusId" to-field="statusIdSave" operator="not-equals"> - <set-service-fields service-name="setPaymentStatus" map-name="parameters" to-map-name="param"/> + <set-service-fields service-name="setPaymentStatus" map="parameters" to-map="param"/> <call-service service-name="setPaymentStatus" in-map-name="param"/> <check-errors/> </if-compare-field> @@ -227,12 +227,12 @@ </simple-method> <simple-method method-name="createPaymentAndApplication" short-description="Create a payment and a payment application for the full amount"> - <set-service-fields service-name="createPayment" map-name="parameters" to-map-name="createPaymentInMap"/> + <set-service-fields service-name="createPayment" map="parameters" to-map="createPaymentInMap"/> <call-service service-name="createPayment" in-map-name="createPaymentInMap"> <result-to-field field-name="paymentId" result-name="paymentId"/> </call-service> <check-errors/> - <set-service-fields service-name="createPaymentApplication" map-name="parameters" to-map-name="createPaymentAppInMap"/> + <set-service-fields service-name="createPaymentApplication" map="parameters" to-map="createPaymentAppInMap"/> <set field="createPaymentAppInMap.paymentId" from-field="paymentId"/> <set field="createPaymentAppInMap.amountApplied" from-field="parameters.amount"/> <call-service service-name="createPaymentApplication" in-map-name="createPaymentAppInMap"> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -57,7 +57,7 @@ <if-not-empty field="rateAmounts"> <first-from-list entry="rateAmount" list="rateAmounts"/> <if-compare-field field="rateAmount.rateAmount" operator="not-equals" to-field="parameters.rateAmount"> - <set-service-fields service-name="deleteRateAmount" map-name="rateAmount" to-map-name="delRateAmount"/> + <set-service-fields service-name="deleteRateAmount" map="rateAmount" to-map="delRateAmount"/> <call-service service-name="deleteRateAmount" in-map-name="delRateAmount"/> </if-compare-field> </if-not-empty> @@ -315,7 +315,7 @@ <create-value value-field="newEntity"/> <if-not-empty field="parameters.rateAmount"> - <set-service-fields service-name="updateRateAmount" map-name="parameters" to-map-name="updRate"/> + <set-service-fields service-name="updateRateAmount" map="parameters" to-map="updRate"/> <call-service service-name="updateRateAmount" in-map-name="updRate"/> </if-not-empty> </simple-method> @@ -345,7 +345,7 @@ <now-timestamp-to-env env-name="lookedUpValue.thruDate"/> <store-value value-name="lookedUpValue"/> - <set-service-fields service-name="deleteRateAmount" map-name="parameters" to-map-name="delRateAmount"/> + <set-service-fields service-name="deleteRateAmount" map="parameters" to-map="delRateAmount"/> <set field="delRateAmount.fromDate" from-field="parameters.rateAmountFromDate"/> <call-service service-name="deleteRateAmount" in-map-name="delRateAmount"/> </simple-method> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -245,7 +245,7 @@ parameters.put("taxAuthPartyId", taxAuthPartyGeoIds.substring(0, taxAuthPartyGeoIds.indexOf("::"))); parameters.put("taxAuthGeoId", taxAuthPartyGeoIds.substring(taxAuthPartyGeoIds.indexOf("::") + 2)); ]]></call-bsh> - <set-service-fields service-name="createPartyTaxAuthInfo" map-name="parameters" to-map-name="createPartyTaxAuthInfoMap"/> + <set-service-fields service-name="createPartyTaxAuthInfo" map="parameters" to-map="createPartyTaxAuthInfoMap"/> <call-service service-name="createPartyTaxAuthInfo" in-map-name="createPartyTaxAuthInfoMap" include-user-login="true"/> </simple-method> </simple-methods> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -143,7 +143,7 @@ <simple-method method-name="persistCompDoc" short-description="Create CompDoc"> <!-- create the compdoc Content entity --> - <set-service-fields service-name="persistContentAndAssoc" map-name="parameters" to-map-name="persistMap"/> + <set-service-fields service-name="persistContentAndAssoc" map="parameters" to-map="persistMap"/> <if-not-empty field="parameters.mimeTypeId"> <if> <condition> @@ -265,7 +265,7 @@ <set from-field="content.dataResourceId" field="oldDataResourceId"/> <log level="info" message="persistCompDocContent(0).content : ${content}"/> - <set-service-fields service-name="persistDataResourceAndData" map-name="parameters" to-map-name="persistMap"/> + <set-service-fields service-name="persistDataResourceAndData" map="parameters" to-map="persistMap"/> <clear-field field="persistMap.dataResourceId"/> <clear-field field="persistMap.drDataResourceId"/> @@ -313,7 +313,7 @@ </call-service> <log level="info" message="persistCompDocPdf2Survey(3).surveyId : ${surveyId}"/> - <set-service-fields service-name="persistCompDocContent" map-name="parameters" to-map-name="persistMap"/> + <set-service-fields service-name="persistCompDocContent" map="parameters" to-map="persistMap"/> <set field="persistMap.relatedDetailId" from-field="surveyId"/> <set field="persistMap.mimeTypeId" value="application/vnd.ofbiz.survey"/> <clear-field field="persistMap._imageData_contentType"/> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -136,12 +136,12 @@ </simple-method> <simple-method method-name="copyContentAndElectronicTextandAssoc" short-description="copy a content, electronic text and assocs and set status in progress"> - <set-service-fields service-name="getContent" map-name="parameters" to-map-name="getC"/> + <set-service-fields service-name="getContent" map="parameters" to-map="getC"/> <call-service service-name="getContent" in-map-name="getC"> <result-to-field result-name="view" field-name="content"/> </call-service> <if-not-empty field="content.dataResourceId"> - <set-service-fields service-name="getElectronicText" map-name="content" to-map-name="getEt"/> + <set-service-fields service-name="getElectronicText" map="content" to-map="getEt"/> <call-service service-name="getElectronicText" in-map-name="getEt"> <result-to-field result-name="textData" field-name="et.textData"/> </call-service> @@ -157,7 +157,7 @@ <clear-field field="content.contentId"/><!-- force new value --> <clear-field field="content.statusId"/><!-- force new value --> - <set-service-fields service-name="createContent" map-name="content" to-map-name="createContent"/> + <set-service-fields service-name="createContent" map="content" to-map="createContent"/> <call-service service-name="createContent" in-map-name="createContent"> <result-to-field result-name="contentId" field-name="newContentId"/> </call-service> @@ -167,7 +167,7 @@ </entity-and> <iterate entry="assoc" list="assocs"> <set field="assoc.contentId" from-field="newContentId"/> - <set-service-fields service-name="createContentAssoc" map-name="assoc" to-map-name="assocS"/> + <set-service-fields service-name="createContentAssoc" map="assoc" to-map="assocS"/> <call-service service-name="createContentAssoc" in-map-name="assocS"/> </iterate> @@ -176,7 +176,7 @@ </entity-and> <iterate entry="assocTo" list="assocsTo"> <set field="assocTo.contentIdTo" from-field="newContentId"/> - <set-service-fields service-name="createContentAssoc" map-name="assocTo" to-map-name="assocTos"/> + <set-service-fields service-name="createContentAssoc" map="assocTo" to-map="assocTos"/> <call-service service-name="createContentAssoc" in-map-name="assocTos"/> </iterate> @@ -535,7 +535,7 @@ <!-- combined text + uploaded file service --> <simple-method method-name="createTextAndUploadedContent" short-description="Creates Text and Optionally Uploaded (sub) Content records"> - <set-service-fields service-name="createTextContent" map-name="parameters" to-map-name="textContext"/> + <set-service-fields service-name="createTextContent" map="parameters" to-map="textContext"/> <call-service service-name="createTextContent" in-map-name="textContext"> <result-to-field result-name="contentId" field-name="parentContentId" map-name="parameters"/> </call-service> @@ -544,7 +544,7 @@ <if-not-empty field="parameters.uploadedFile"> <log level="always" message="Uploaded file found; processing sub-content"/> - <set-service-fields service-name="createContentFromUploadedFile" map-name="parameters" to-map-name="uploadContext"/> + <set-service-fields service-name="createContentFromUploadedFile" map="parameters" to-map="uploadContext"/> <set field="uploadContext.ownerContentId" from-field="parameters.parentContentId"/> <set field="uploadContext.contentIdFrom" from-field="parameters.parentContentId"/> <set field="uploadContext.contentAssocTypeId" value="SUB_CONTENT"/> @@ -589,7 +589,7 @@ <check-errors/> <!-- Create subject --> - <set-service-fields service-name="createContent" map-name="parameters" to-map-name="createSubjectContent"/> + <set-service-fields service-name="createContent" map="parameters" to-map="createSubjectContent"/> <set from-field="parameters.subject" field="createSubjectEtext.textData"/> <call-service service-name="createElectronicText" in-map-name="createSubjectEtext"> <result-to-field result-name="dataResourceId" map-name="createSubjectContent"/> @@ -654,7 +654,7 @@ </check-permission> <check-errors/> - <set-service-fields service-name="createContent" map-name="parameters" to-map-name="createDownloadContent"/> + <set-service-fields service-name="createContent" map="parameters" to-map="createDownloadContent"/> <set from-field="parameters.file" field="createDownload.dataResourceContent"/> <call-service service-name="createOtherDataResource" in-map-name="createDownload"> <result-to-field result-name="dataResourceId" map-name="createDownloadContent"/> @@ -682,12 +682,12 @@ </check-permission> <check-errors/> - <set-service-fields service-name="createContent" map-name="parameters" to-map-name="createSimpleTextContent"/> + <set-service-fields service-name="createContent" map="parameters" to-map="createSimpleTextContent"/> <set value="DOCUMENT" field="createSimpleTextContent.contentTypeId"/> <set from-field="parameters.text" field="createSimpleText.textData"/> - <set-service-fields service-name="createDataResource" map-name="parameters" to-map-name="createSimpleTextDataResource"/> + <set-service-fields service-name="createDataResource" map="parameters" to-map="createSimpleTextDataResource"/> <set value="ELECTRONIC_TEXT" field="createSimpleTextDataResource.dataResourceTypeId"/> <set value="FTL" field="createSimpleTextDataResource.dataTemplateTypeId"/> @@ -739,7 +739,7 @@ </if-empty> <check-errors/> - <set-service-fields service-name="createContent" map-name="parameters" to-map-name="createContentMap"/> + <set-service-fields service-name="createContent" map="parameters" to-map="createContentMap"/> <if-empty field="createContentMap.contentName"> <set field="createContentMap.contentName" from-field="dataResource.dataResourceName"/> @@ -778,7 +778,7 @@ --> <now-timestamp-to-env env-name="nowTimestamp"/> - <set-service-fields to-map-name="persistIn" service-name="persistContentAndAssoc" map-name="parameters"/> + <set-service-fields to-map="persistIn" service-name="persistContentAndAssoc" map="parameters"/> <!-- let's take a guess at what the dataResourceTypeId should be if it is empty --> <if-empty field="persistIn.dataResourceTypeId"> <log level="info" message="persistIn.drMimeTypeId: ${persistIn.drMimeTypeId}" /> @@ -819,7 +819,7 @@ <check-permission permission="CONTENTMGR" action="_DELETE"><fail-message message="Security Error: to run updateContent you must have the CONTENTMGR_DELETE or CONTENTMGR_ADMIN permission"/></check-permission> <check-errors/> --> - <set-service-fields to-map-name="persistIn" service-name="persistContentAndAssoc" map-name="parameters"/> + <set-service-fields to-map="persistIn" service-name="persistContentAndAssoc" map="parameters"/> <call-service service-name="persistContentAndAssoc" in-map-name="persistIn"> <results-to-map map-name="persistOut"/> </call-service> @@ -878,12 +878,12 @@ </simple-method> <simple-method method-name="createContentAndAssoc" short-description="Create content and associate with other content"> - <set-service-fields service-name="createContent" map-name="parameters" to-map-name="contentData"/> + <set-service-fields service-name="createContent" map="parameters" to-map="contentData"/> <call-service service-name="createContent" in-map-name="contentData"> <result-to-field result-name="contentId" field-name="newContentId"/> </call-service> <if-not-empty field="newContentId"> - <set-service-fields service-name="createContentAssoc" map-name="parameters" to-map-name="assocData"/> + <set-service-fields service-name="createContentAssoc" map="parameters" to-map="assocData"/> <set field="assocData.contentId" from-field="newContentId"/> <call-service service-name="createContentAssoc" in-map-name="assocData"> <result-to-result result-name="contentId" service-result-name="contentIdFrom"/> @@ -1195,7 +1195,7 @@ <simple-method method-name="getSubSubContentWithPermCheck" short-description="Get sub content and perform permission check on each record"> - <set-service-fields service-name="getSubContentWithPermCheck" map-name="parameters" to-map-name="inMap"/> + <set-service-fields service-name="getSubContentWithPermCheck" map="parameters" to-map="inMap"/> <call-service service-name="getSubContentWithPermCheck" in-map-name="inMap"> <result-to-field result-name="subContentList"/> </call-service> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -698,7 +698,7 @@ <set value="LOCAL_FILE" field="dataResource.dataResourceTypeId"/> <store-value value-name="dataResource"/> - <set-service-fields service-name="createAnonFile" map-name="dataResource" to-map-name="fileCtx"/> + <set-service-fields service-name="createAnonFile" map="dataResource" to-map="fileCtx"/> <set from-field="parameters.uploadedFile" field="fileCtx.binData"/> <set from-field="dataResource" field="fileCtx.dataResource"/> <call-service service-name="createAnonFile" in-map-name="fileCtx" include-user-login="true"/> @@ -749,7 +749,7 @@ <store-value value-name="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> - <set-service-fields service-name="createOtherDataResource" map-name="dataResource" to-map-name="serviceContext"/> + <set-service-fields service-name="createOtherDataResource" map="dataResource" to-map="serviceContext"/> <set from-field="parameters.uploadedFile" field="serviceContext.dataResourceContent"/> <if-compare field="isUpdate" value="true" operator="equals"> @@ -805,7 +805,7 @@ <store-value value-name="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> - <set-service-fields service-name="createImageDataResource" map-name="dataResource" to-map-name="serviceContext"/> + <set-service-fields service-name="createImageDataResource" map="dataResource" to-map="serviceContext"/> <set from-field="parameters.uploadedFile" field="serviceContext.imageData"/> <if-compare field="isUpdate" value="true" operator="equals"> @@ -861,7 +861,7 @@ <store-value value-name="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> - <set-service-fields service-name="createVideoDataResource" map-name="dataResource" to-map-name="serviceContext"/> + <set-service-fields service-name="createVideoDataResource" map="dataResource" to-map="serviceContext"/> <set from-field="parameters.uploadedFile" field="serviceContext.videoData"/> <if-compare field="isUpdate" value="true" operator="equals"> @@ -917,7 +917,7 @@ <store-value value-name="dataResource"/> <!-- fields serviceName and fileField are required to be set by calling method --> - <set-service-fields service-name="createAudioDataResource" map-name="dataResource" to-map-name="serviceContext"/> + <set-service-fields service-name="createAudioDataResource" map="dataResource" to-map="serviceContext"/> <set from-field="parameters.uploadedFile" field="serviceContext.audioData"/> <if-compare field="isUpdate" value="true" operator="equals"> 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=730122&r1=730121&r2=730122&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:22:42 2008 @@ -284,8 +284,8 @@ <!-- now that everything is validated & setup, check to see if there are errors, then call the services --> <check-errors/> - <set-service-fields map-name="personContext" service-name="createPersonAndUserLogin" to-map-name="personUserLoginContext"/> - <set-service-fields map-name="newUserLogin" service-name="createPersonAndUserLogin" to-map-name="personUserLoginContext"/> + <set-service-fields map="personContext" service-name="createPersonAndUserLogin" to-map="personUserLoginContext"/> + <set-service-fields map="newUserLogin" service-name="createPersonAndUserLogin" to-map="personUserLoginContext"/> <set from-field="newUserLogin.currentPassword" field="personUserLoginContext.currentPasswordVerify"/> <!-- the above copy is okay since we checked already that they are the same --> <call-service service-name="createPersonAndUserLogin" in-map-name="personUserLoginContext"> @@ -871,7 +871,7 @@ </if-not-empty> <!-- Create Update Person --> - <set-service-fields service-name="createUpdatePerson" map-name="parameters" to-map-name="createUpdatePersonCtx"/> + <set-service-fields service-name="createUpdatePerson" map="parameters" to-map="createUpdatePersonCtx"/> <set field="createUpdatePersonCtx.userLogin" from-field="userLogin"/> <set field="createUpdatePersonCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="createUpdatePerson" in-map-name="createUpdatePersonCtx"> @@ -891,7 +891,7 @@ <call-service service-name="createPartyRole" in-map-name="partyRoleContext"/> <!-- Create Update Shipping address --> - <set-service-fields service-name="createUpdateShippingAddress" map-name="parameters" to-map-name="shipToAddressCtx"/> + <set-service-fields service-name="createUpdateShippingAddress" map="parameters" to-map="shipToAddressCtx"/> <set field="shipToAddressCtx.userLogin" from-field="userLogin"/> <call-service service-name="createUpdateShippingAddress" in-map-name="shipToAddressCtx"> <result-to-field result-name="contactMechId" field-name="parameters.shipToContactMechId"/> @@ -903,7 +903,7 @@ processor-name="phoneNumber" in-map-name="parameters" out-map-name="shipToPhoneContext"/> <check-errors/> - <set-service-fields service-name="createUpdateTelecomNumber" map-name="shipToPhoneContext" to-map-name="createUpdateTelecomNumberCtx"/> + <set-service-fields service-name="createUpdateTelecomNumber" map="shipToPhoneContext" to-map="createUpdateTelecomNumberCtx"/> <set field="createUpdateTelecomNumberCtx.contactMechId" from-field="parameters.shipToPhoneContactMechId"/> <set field="createUpdateTelecomNumberCtx.userLogin" from-field="userLogin"/> <set field="createUpdateTelecomNumberCtx.partyId" from-field="parameters.partyId"/> @@ -919,7 +919,7 @@ processor-name="emailAddress" in-map-name="parameters" out-map-name="emailAddressContext"/> <check-errors/> - <set-service-fields service-name="createUpdateEmailAddress" map-name="emailAddressContext" to-map-name="createUpdateEmailCtx"/> + <set-service-fields service-name="createUpdateEmailAddress" map="emailAddressContext" to-map="createUpdateEmailCtx"/> <set field="createUpdateEmailCtx.contactMechPurposeTypeId" value="PRIMARY_EMAIL"/> <set field="createUpdateEmailCtx.userLogin" from-field="userLogin"/> <set field="createUpdateEmailCtx.partyId" from-field="parameters.partyId"/> @@ -971,7 +971,7 @@ org.ofbiz.common.login.LoginServices.checkNewPassword(newUserLogin, null, password, confirmPassword, passwordHint, error_list, true, locale); ]]></call-bsh> <check-errors/> - <set-service-fields service-name="createUserLogin" map-name="userLoginMap" to-map-name="userLoginCtx"/> + <set-service-fields service-name="createUserLogin" map="userLoginMap" to-map="userLoginCtx"/> <!-- call the service with the system account to get around security constraints for this special create --> <entity-one entity-name="UserLogin" value-field="userLoginCtx.userLogin" auto-field-map="false"> @@ -996,7 +996,7 @@ <call-map-processor xml-resource="org/ofbiz/securityext/login/LoginMapProcs.xml" processor-name="updatePassword" in-map-name="parameters" out-map-name="passwordMap"/> <check-errors/> - <set-service-fields service-name="updatePassword" map-name="passwordMap" to-map-name="passwordCtx"/> + <set-service-fields service-name="updatePassword" map="passwordMap" to-map="passwordCtx"/> <call-service service-name="updatePassword" in-map-name="passwordCtx"> <result-to-field result-name="updatedUserLogin"/> </call-service> @@ -1190,7 +1190,7 @@ </if-not-empty> <!-- Create Update Billing address --> - <set-service-fields service-name="createUpdateBillingAddress" map-name="parameters" to-map-name="billToAddressCtx"/> + <set-service-fields service-name="createUpdateBillingAddress" map="parameters" to-map="billToAddressCtx"/> <set field="billToAddressCtx.userLogin" from-field="userLogin"/> <call-service service-name="createUpdateBillingAddress" in-map-name="billToAddressCtx"> <result-to-field result-name="contactMechId" field-name="parameters.billToContactMechId"/> @@ -1202,7 +1202,7 @@ processor-name="phoneNumber" in-map-name="parameters" out-map-name="billToPhoneContext"/> <check-errors/> - <set-service-fields service-name="createUpdateTelecomNumber" map-name="billToPhoneContext" to-map-name="createUpdateTelecomNumberCtx"/> + <set-service-fields service-name="createUpdateTelecomNumber" map="billToPhoneContext" to-map="createUpdateTelecomNumberCtx"/> <set field="createUpdateTelecomNumberCtx.contactMechId" from-field="parameters.billToPhoneContactMechId"/> <set field="createUpdateTelecomNumberCtx.userLogin" from-field="userLogin"/> <set field="createUpdateTelecomNumberCtx.partyId" from-field="parameters.partyId"/> @@ -1214,7 +1214,7 @@ <field-to-request field-name="parameters.billToPhoneContactMechId" request-name="billToPhoneContactMechId"/> <!-- Create Update credit card --> - <set-service-fields service-name="createUpdateCreditCard" map-name="parameters" to-map-name="creditCardContext"/> + <set-service-fields service-name="createUpdateCreditCard" map="parameters" to-map="creditCardContext"/> <set field="creditCardContext.contactMechId" from-field="parameters.billToContactMechId"/> <call-service service-name="createUpdateCreditCard" in-map-name="creditCardContext"> <result-to-field result-name="paymentMethodId" field-name="parameters.paymentMethodId"/> @@ -1249,7 +1249,7 @@ <check-errors/> <!-- create person --> - <set-service-fields service-name="createPerson" map-name="personCtx" to-map-name="createPersonCtx"/> + <set-service-fields service-name="createPerson" map="personCtx" to-map="createPersonCtx"/> <call-service service-name="createPerson" in-map-name="createPersonCtx"> <result-to-field result-name="partyId" field-name="partyId"/> </call-service> @@ -1329,7 +1329,7 @@ <field field-name="request" type="javax.servlet.ServletRequest"/> </call-class-method> - <set-service-fields service-name="createUpdatePerson" map-name="parameters" to-map-name="createUpdatePersonCtx"/> + <set-service-fields service-name="createUpdatePerson" map="parameters" to-map="createUpdatePersonCtx"/> <set field="createUpdatePersonCtx.userLogin" from-field="userLogin"/> <set field="createUpdatePersonCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="createUpdatePerson" in-map-name="createUpdatePersonCtx"> @@ -1347,7 +1347,7 @@ <call-map-processor xml-resource="org/ofbiz/ecommerce/customer/CheckoutMapProcs.xml" processor-name="emailAddress" in-map-name="parameters" out-map-name="emailAddressContext"/> <check-errors/> - <set-service-fields service-name="createUpdateEmailAddress" map-name="emailAddressContext" to-map-name="createUpdateEmailCtx"/> + <set-service-fields service-name="createUpdateEmailAddress" map="emailAddressContext" to-map="createUpdateEmailCtx"/> <set field="createUpdateEmailCtx.contactMechPurposeTypeId" value="PRIMARY_EMAIL"/> <set field="createUpdateEmailCtx.contactMechId" from-field="parameters.emailContactMechId"/> <set field="createUpdateEmailCtx.userLogin" from-field="userLogin"/> @@ -1360,7 +1360,7 @@ <simple-method method-name="setUserLoginFromEmail" short-description="Set userloginId from email. If user edit email address then set it as a new userLoginId and disabled date to far in the future for existing userLoginId"> <if-compare-field field="parameters.userLoginId" operator="not-equals" to-field="userLogin.userLoginId"> <set field="loggedInUser" from-field="userLogin"/> - <set-service-fields service-name="updateUserLoginId" map-name="parameters" to-map-name="serviceContext"/> + <set-service-fields service-name="updateUserLoginId" map="parameters" to-map="serviceContext"/> <set field="serviceContext.userLogin" from-field="userLogin"/> <call-service service-name="updateUserLoginId" in-map-name="serviceContext"> <result-to-field result-name="newUserLogin"/> Modified: ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml (original) +++ ofbiz/trunk/applications/humanres/script/org/ofbiz/humanres/HumanResServices.xml Tue Dec 30 04:22:42 2008 @@ -197,7 +197,7 @@ </if-empty> <create-value value-field="newEntity"/> - <set-service-fields service-name="createPayHistory" map-name="newEntity" to-map-name="createPayHistoryMap"/> + <set-service-fields service-name="createPayHistory" map="newEntity" to-map="createPayHistoryMap"/> <call-service service-name="createPayHistory" in-map-name="createPayHistoryMap"/> </simple-method> @@ -625,7 +625,7 @@ <create-value value-field="newEntity"/> <if-not-empty field="parameters.rateAmount"> - <set-service-fields service-name="updateRateAmount" map-name="parameters" to-map-name="updRate"/> + <set-service-fields service-name="updateRateAmount" map="parameters" to-map="updRate"/> <call-service service-name="updateRateAmount" in-map-name="updRate"/> </if-not-empty> </simple-method> @@ -635,7 +635,7 @@ <now-timestamp-to-env env-name="lookedUpValue.thruDate"/> <store-value value-name="lookedUpValue"/> - <set-service-fields service-name="deleteRateAmount" map-name="parameters" to-map-name="delRateAmount"/> + <set-service-fields service-name="deleteRateAmount" map="parameters" to-map="delRateAmount"/> <set field="delRateAmount.fromDate" from-field="parameters.rateAmountFromDate"/> <call-service service-name="deleteRateAmount" in-map-name="delRateAmount"/> </simple-method> Modified: ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml (original) +++ ofbiz/trunk/applications/manufacturing/script/org/ofbiz/manufacturing/jobshopmgt/ProductionRunServices.xml Tue Dec 30 04:22:42 2008 @@ -43,7 +43,7 @@ <iterate list="components" entry="component"> <if-not-empty field="component.productId"> <clear-field field="callSvcMap"/> - <set-service-fields to-map-name="callSvcMap" service-name="issueProductionRunTaskComponent" map-name="component"/> + <set-service-fields to-map="callSvcMap" service-name="issueProductionRunTaskComponent" map="component"/> <set from-field="reserveOrderEnumId" field="callSvcMap.reserveOrderEnumId"/> <set field="callSvcMap.description" value="BOM Part"/> <set field="callSvcMap.failIfItemsAreNotAvailable" from-field="parameters.failIfItemsAreNotAvailable"/> Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/contact/ContactListServices.xml Tue Dec 30 04:22:42 2008 @@ -111,7 +111,7 @@ <create-value value-field="newEntity"/> - <set-service-fields service-name="createContactListPartyStatus" map-name="newEntity" to-map-name="createContactListPartyStatusMap"/> + <set-service-fields service-name="createContactListPartyStatus" map="newEntity" to-map="createContactListPartyStatusMap"/> <call-service service-name="createContactListPartyStatus" in-map-name="createContactListPartyStatusMap"/> </simple-method> <simple-method method-name="updateContactListParty" short-description="Update Add Party To ContactList"> @@ -135,7 +135,7 @@ <if-not-empty field="parameters.statusId"> <if-compare-field field="parameters.statusId" to-field="lookedUpValue.statusId" operator="not-equals"> <!-- NOTE: must be parameters as this will have the new statusId, and it will have additional attributes like optInVerifyCode --> - <set-service-fields service-name="createContactListPartyStatus" map-name="parameters" to-map-name="createContactListPartyStatusMap"/> + <set-service-fields service-name="createContactListPartyStatus" map="parameters" to-map="createContactListPartyStatusMap"/> <call-service service-name="createContactListPartyStatus" in-map-name="createContactListPartyStatusMap"/> </if-compare-field> </if-not-empty> Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/tracking/TrackingCodeServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/tracking/TrackingCodeServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/tracking/TrackingCodeServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/marketing/tracking/TrackingCodeServices.xml Tue Dec 30 04:22:42 2008 @@ -158,7 +158,7 @@ <set field="trackingCodeOrder" from-field="trackingCodeOrders[0]"/> <log level="info" message="Create Tracking Code Order Return For ${trackingCodeOrder}"/> <if-not-empty field="trackingCodeOrder"> - <set-service-fields to-map-name="trackingCodeOrderReturnContext" service-name="createTrackingCodeOrderReturn" map-name="trackingCodeOrder"/> + <set-service-fields to-map="trackingCodeOrderReturnContext" service-name="createTrackingCodeOrderReturn" map="trackingCodeOrder"/> <set field="trackingCodeOrderReturnContext.returnId" from-field="parameters.returnId"/> <set field="trackingCodeOrderReturnContext.orderId" from-field="trackingCodeOrder.orderId"/> <set field="trackingCodeOrderReturnContext.trackingCodeTypeId" value="PARTNER_MGD"/> Modified: ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml (original) +++ ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml Tue Dec 30 04:22:42 2008 @@ -131,7 +131,7 @@ <first-from-list list="partyRelationships" entry="partyRelationship"/> <if-not-empty field="partyRelationship"> - <set-service-fields service-name="updatePartyRelationship" map-name="partyRelationship" to-map-name="deletePartyRelationship"/> + <set-service-fields service-name="updatePartyRelationship" map="partyRelationship" to-map="deletePartyRelationship"/> <call-service service-name="deletePartyRelationship" in-map-name="deletePartyRelationship"/> <set field="partyGroupId" from-field="partyRelationship.partyIdFrom"/> <else> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderReturnServices.xml Tue Dec 30 04:22:42 2008 @@ -449,7 +449,7 @@ </entity-and> <iterate entry="returnAdjustment" list="returnAdjustments"> <log level="info" message="updating returnAdjustment with Id:[${returnAdjustment.returnAdjustmentId}]"/> - <set-service-fields service-name="updateReturnAdjustment" map-name="returnAdjustment" to-map-name="ctx"/> + <set-service-fields service-name="updateReturnAdjustment" map="returnAdjustment" to-map="ctx"/> <set field="ctx.originalReturnPrice" from-field="originalReturnPrice"/> <set field="ctx.originalReturnQuantity" from-field="originalReturnQuantity"/> <set field="ctx.returnTypeId" from-field="returnItem.returnTypeId"/> @@ -844,7 +844,7 @@ <simple-method method-name="createReturnAndItemOrAdjustment" short-description="If returnId is null, create a return; then create Return Item or Adjustment based on the parameters passed in"> <if-empty field="parameters.returnId"> - <set-service-fields service-name="createReturnHeader" map-name="parameters" to-map-name="returnHeaderInMap"/> + <set-service-fields service-name="createReturnHeader" map="parameters" to-map="returnHeaderInMap"/> <call-service service-name="createReturnHeader" in-map-name="returnHeaderInMap"> <result-to-field result-name="returnId" field-name="returnId"/> </call-service> @@ -852,7 +852,7 @@ <set field="parameters.returnId" from-field="returnId"/> <field-to-result field="returnId" result-name="returnId"/> </if-empty> - <set-service-fields service-name="createReturnItemOrAdjustment" map-name="parameters" to-map-name="createReturnItemOrAdjustmentInMap"/> + <set-service-fields service-name="createReturnItemOrAdjustment" map="parameters" to-map="createReturnItemOrAdjustmentInMap"/> <call-service service-name="createReturnItemOrAdjustment" in-map-name="createReturnItemOrAdjustmentInMap"> <result-to-field result-name="returnAdjustmentId" field-name="returnAdjustmentId"/> <result-to-field result-name="returnItemSeqId" field-name="returnItemSeqId"/> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/order/OrderServices.xml Tue Dec 30 04:22:42 2008 @@ -151,7 +151,7 @@ </call-service> <!-- create the OrderRequirementCommitment to record the Requirement created for an order item --> - <set-service-fields to-map-name="orderReqCommitParams" service-name="createOrderRequirementCommitment" map-name="parameters"/> + <set-service-fields to-map="orderReqCommitParams" service-name="createOrderRequirementCommitment" map="parameters"/> <call-service service-name="createOrderRequirementCommitment" in-map-name="orderReqCommitParams"/> <field-to-result field="parameters.requirementId" result-name="requirementId"/> @@ -570,7 +570,7 @@ </condition> <then> <clear-field field="cancelOrderItemInMap"/> - <set-service-fields service-name="cancelOrderItemNoActions" to-map-name="cancelOrderItemInMap" map-name="parameters"/> + <set-service-fields service-name="cancelOrderItemNoActions" to-map="cancelOrderItemInMap" map="parameters"/> <set from-field="orderItem.orderItemSeqId" field="cancelOrderItemInMap.orderItemSeqId"/> <call-service service-name="cancelOrderItemNoActions" in-map-name="cancelOrderItemInMap"/> </then> @@ -598,7 +598,7 @@ </iterate> <!-- Recalculate the promotions for the order --> - <set-service-fields service-name="loadCartFromOrder" to-map-name="loadCartFromOrderInMap" map-name="parameters"/> + <set-service-fields service-name="loadCartFromOrder" to-map="loadCartFromOrderInMap" map="parameters"/> <set value="true" field="loadCartFromOrderInMap.skipInventoryChecks" type="Boolean"/> <set value="true" field="loadCartFromOrderInMap.skipProductChecks" type="Boolean"/> <call-service service-name="loadCartFromOrder" in-map-name="loadCartFromOrderInMap"> @@ -695,7 +695,7 @@ <set field="inputMap.shipGroupSeqId" from-field="shipGroup.shipGroupSeqId"/> <set field="inputMap.shipmentMethod" value="${shipGroup.shipmentMethodTypeId}@${shipGroup.carrierPartyId}"/> <set field="inputMap.oldContactMechId" from-field="parameters.oldContactMechId"/> - <set-service-fields to-map-name="orderItemShipGroupMap" service-name="updateOrderItemShipGroup" map-name="inputMap"/> + <set-service-fields to-map="orderItemShipGroupMap" service-name="updateOrderItemShipGroup" map="inputMap"/> <call-service service-name="updateOrderItemShipGroup" in-map-name="orderItemShipGroupMap" include-user-login="true"/> </iterate> </if-not-empty> @@ -704,12 +704,12 @@ <find-by-and entity-name="OrderContactMech" map-name="inputMap" list-name="orderContactMechList"/> <!-- If orderContactMechList value is null then create new entry in OrderContactMech entity--> <if-empty field="orderContactMechList"> - <set-service-fields service-name="createOrderContactMech" map-name="parameters" to-map-name="createOrderContactMechMap"/> + <set-service-fields service-name="createOrderContactMech" map="parameters" to-map="createOrderContactMechMap"/> <call-service service-name="createOrderContactMech" in-map-name="createOrderContactMechMap" include-user-login="true"/> <set from-field="parameters.orderId" field="orderContactMechLookupMap.orderId"/> <set from-field="parameters.oldContactMechId" field="orderContactMechLookupMap.contactMechId"/> <set from-field="parameters.contactMechPurposeTypeId" field="orderContactMechLookupMap.contactMechPurposeTypeId"/> - <set-service-fields service-name="removeOrderContactMech" map-name="orderContactMechLookupMap" to-map-name="removeOrderContactMechMap"/> + <set-service-fields service-name="removeOrderContactMech" map="orderContactMechLookupMap" to-map="removeOrderContactMechMap"/> <call-service service-name="removeOrderContactMech" in-map-name="removeOrderContactMechMap" include-user-login="true"/> </if-empty> <store-value value-name="orderContactMechMap"/> @@ -744,7 +744,7 @@ <find-by-and entity-name="OrderContactMech" map-name="inputMap" list-name="orderContactMechList"/> <!-- If orderContactMechList value is null then create new entry in OrderContactMech entity--> <if-empty field="orderContactMechList"> - <set-service-fields service-name="createOrderContactMech" map-name="parameters" to-map-name="createOrderContactMechMap"/> + <set-service-fields service-name="createOrderContactMech" map="parameters" to-map="createOrderContactMechMap"/> <call-service service-name="createOrderContactMech" in-map-name="createOrderContactMechMap" include-user-login="true"/> </if-empty> <store-value value-name="lookedUpValue"/> @@ -757,7 +757,7 @@ <set from-field="parameters.contactMechPurposeTypeId" field="inputMap.contactMechPurposeTypeId"/> <set from-field="parameters.oldContactMechId" field="inputMap.contactMechId"/> <find-by-and entity-name="OrderContactMech" map-name="inputMap" list-name="orderContactMechList"/> - <set-service-fields service-name="createOrderContactMech" map-name="inputMap" to-map-name="removeOrderContactMechMap"/> + <set-service-fields service-name="createOrderContactMech" map="inputMap" to-map="removeOrderContactMechMap"/> <call-service service-name="removeOrderContactMech" in-map-name="removeOrderContactMechMap" include-user-login="true"/> </if-empty> </simple-method> @@ -929,7 +929,7 @@ </entity-and> <!-- If purpose is not exists then create --> <if-empty field="pcmpShipList"> - <set-service-fields service-name="createPartyContactMechPurpose" map-name="parameters" to-map-name="serviceContext"/> + <set-service-fields service-name="createPartyContactMechPurpose" map="parameters" to-map="serviceContext"/> <set field="serviceContext.partyId" from-field="userLogin.partyId"/> <entity-and entity-name="PartyContactMechPurpose" list="pcmpList" filter-by-date="true"> @@ -938,7 +938,7 @@ </entity-and> <if-not-empty field="pcmpList"> <first-from-list list="pcmpList" entry="pcmp"/> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> <clear-field field="serviceInMap"/> </if-not-empty> @@ -950,7 +950,7 @@ <clear-field field="serviceContext"/> </if-empty> <if-compare field="parameters.setDefaultShipping" operator="equals" value="Y"> - <set-service-fields service-name="setPartyProfileDefaults" map-name="parameters" to-map-name="partyProfileDefaultsCtx"/> + <set-service-fields service-name="setPartyProfileDefaults" map="parameters" to-map="partyProfileDefaultsCtx"/> <set field="partyProfileDefaultsCtx.defaultShipAddr" from-field="parameters.shipToContactMechId"/> <set field="partyProfileDefaultsCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="setPartyProfileDefaults" in-map-name="partyProfileDefaultsCtx"/> @@ -971,7 +971,7 @@ </entity-and> <first-from-list list="pcmpList" entry="pcmp"/> <if-not-empty field="pcmp"> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> </if-not-empty> <set field="shipToAddressCtx.contactMechPurposeTypeId" value="SHIPPING_LOCATION"/> @@ -1008,7 +1008,7 @@ <if-compare field="parameters.useShippingAddressForBilling" operator="equals" value="Y"> <if-empty field="parameters.billToContactMechId"> <set field="billToAddressCtx.contactMechPurposeTypeId" value="BILLING_LOCATION"/> - <set-service-fields service-name="createPartyContactMechPurpose" map-name="billToAddressCtx" to-map-name="serviceInMap"/> + <set-service-fields service-name="createPartyContactMechPurpose" map="billToAddressCtx" to-map="serviceInMap"/> <set field="serviceInMap.contactMechId" from-field="parameters.shipToContactMechId"/> <call-service service-name="createPartyContactMechPurpose" in-map-name="serviceInMap"/> <else> @@ -1019,16 +1019,16 @@ <field-map field-name="contactMechPurposeTypeId" value="BILLING_LOCATION"/> </entity-and> <first-from-list entry="pcmp" list="pcmpList"/> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> <clear-field field="serviceInMap"/> <if-compare field="keepAddressBook" operator="equals" value="N"> - <set-service-fields service-name="deletePartyContactMech" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMech" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMech" in-map-name="serviceInMap"/> <clear-field field="serviceInMap"/> </if-compare> <set field="billToAddressCtx.contactMechPurposeTypeId" value="BILLING_LOCATION"/> - <set-service-fields service-name="createPartyContactMechPurpose" map-name="billToAddressCtx" to-map-name="serviceInMap"/> + <set-service-fields service-name="createPartyContactMechPurpose" map="billToAddressCtx" to-map="serviceInMap"/> <set field="serviceInMap.contactMechId" from-field="parameters.shipToContactMechId"/> <call-service service-name="createPartyContactMechPurpose" in-map-name="serviceInMap"> </call-service> @@ -1073,7 +1073,7 @@ </entity-and> <!-- If purpose is not exists then create --> <if-empty field="pcmpBillList"> - <set-service-fields service-name="createPartyContactMechPurpose" map-name="parameters" to-map-name="serviceContext"/> + <set-service-fields service-name="createPartyContactMechPurpose" map="parameters" to-map="serviceContext"/> <set field="serviceContext.partyId" from-field="userLogin.partyId"/> <entity-and entity-name="PartyContactMechPurpose" list="pcmpList" filter-by-date="true"> @@ -1082,7 +1082,7 @@ </entity-and> <if-not-empty field="pcmpList"> <first-from-list list="pcmpList" entry="pcmp"/> - <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map-name="pcmp" to-map-name="serviceInMap"/> + <set-service-fields service-name="deletePartyContactMechPurposeIfExists" map="pcmp" to-map="serviceInMap"/> <call-service service-name="deletePartyContactMechPurposeIfExists" in-map-name="serviceInMap"/> <clear-field field="serviceInMap"/> </if-not-empty> @@ -1094,7 +1094,7 @@ <clear-field field="serviceContext"/> </if-empty> <if-compare field="parameters.setDefaultBilling" operator="equals" value="Y"> - <set-service-fields service-name="setPartyProfileDefaults" map-name="parameters" to-map-name="partyProfileDefaultsCtx"/> + <set-service-fields service-name="setPartyProfileDefaults" map="parameters" to-map="partyProfileDefaultsCtx"/> <set field="partyProfileDefaultsCtx.defaultBillAddr" from-field="parameters.billToContactMechId"/> <set field="partyProfileDefaultsCtx.partyId" from-field="userLogin.partyId"/> <call-service service-name="setPartyProfileDefaults" in-map-name="partyProfileDefaultsCtx"/> @@ -1106,7 +1106,7 @@ <field-to-result field="parameters.billToContactMechId" result-name="contactMechId"/> </simple-method> <simple-method method-name="createUpdateCreditCard" short-description="create and update credit card"> - <set-service-fields service-name="createCreditCard" map-name="parameters" to-map-name="creditCardContext"/> + <set-service-fields service-name="createCreditCard" map="parameters" to-map="creditCardContext"/> <set field="creditCardContext.partyId" from-field="parameters.partyId"/> <set field="creditCardContext.contactMechId" from-field="parameters.contactMechId"/> <if-empty field="parameters.paymentMethodId"> Modified: ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml?rev=730122&r1=730121&r2=730122&view=diff ============================================================================== --- ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml (original) +++ ofbiz/trunk/applications/order/script/org/ofbiz/order/quote/QuoteServices.xml Tue Dec 30 04:22:42 2008 @@ -158,7 +158,7 @@ <check-errors/> <entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/> <check-errors/> - <set-service-fields service-name="createQuote" to-map-name="createQuoteInMap" map-name="quote"/> + <set-service-fields service-name="createQuote" to-map="createQuoteInMap" map="quote"/> <clear-field field="createQuoteInMap.statusId"/> <call-service service-name="createQuote" in-map-name="createQuoteInMap"> <result-to-field result-name="quoteId" field-name="quoteIdTo"/> @@ -167,7 +167,7 @@ <get-related value-name="quote" relation-name="QuoteItem" list-name="quoteItems"/> <iterate list="quoteItems" entry="quoteItem"> <clear-field field="createQuoteItemInMap"/> - <set-service-fields service-name="createQuoteItem" to-map-name="createQuoteItemInMap" map-name="quoteItem"/> + <set-service-fields service-name="createQuoteItem" to-map="createQuoteItemInMap" map="quoteItem"/> <set from-field="quoteIdTo" field="createQuoteItemInMap.quoteIdTo"/> <set from-field="parameters.copyQuoteAdjustments" field="createQuoteItemInMap.copyQuoteAdjustments"/> <call-service service-name="copyQuoteItem" in-map-name="createQuoteItemInMap"/> @@ -179,7 +179,7 @@ <iterate list="quoteAdjustments" entry="quoteAdjustment"> <if-empty field="quoteAdjustment.quoteItemSeqId"> <clear-field field="createQuoteAdjustmentInMap"/> - <set-service-fields service-name="createQuoteAdjustment" to-map-name="createQuoteAdjustmentInMap" map-name="quoteAdjustment"/> + <set-service-fields service-name="createQuoteAdjustment" to-map="createQuoteAdjustmentInMap" map="quoteAdjustment"/> <set from-field="quoteIdTo" field="createQuoteAdjustmentInMap.quoteId"/> <call-service service-name="createQuoteAdjustment" in-map-name="createQuoteAdjustmentInMap"/> </if-empty> @@ -191,7 +191,7 @@ <iterate list="quoteRoles" entry="quoteRole"> <if-compare field="quoteRole.roleTypeId" value="REQ_TAKER" operator="not-equals"> <clear-field field="createQuoteRoleInMap"/> - <set-service-fields service-name="createQuoteRole" to-map-name="createQuoteRoleInMap" map-name="quoteRole"/> + <set-service-fields service-name="createQuoteRole" to-map="createQuoteRoleInMap" map="quoteRole"/> <set from-field="quoteIdTo" field="createQuoteRoleInMap.quoteId"/> <call-service service-name="createQuoteRole" in-map-name="createQuoteRoleInMap"/> </if-compare> @@ -202,7 +202,7 @@ <get-related value-name="quote" relation-name="QuoteAttribute" list-name="quoteAttributes"/> <iterate list="quoteAttributes" entry="quoteAttribute"> <clear-field field="createQuoteAttributeInMap"/> - <set-service-fields service-name="createQuoteAttribute" to-map-name="createQuoteAttributeInMap" map-name="quoteAttribute"/> + <set-service-fields service-name="createQuoteAttribute" to-map="createQuoteAttributeInMap" map="quoteAttribute"/> <set from-field="quoteIdTo" field="createQuoteAttributeInMap.quoteId"/> <call-service service-name="createQuoteAttribute" in-map-name="createQuoteAttributeInMap"/> </iterate> @@ -212,7 +212,7 @@ <get-related value-name="quote" relation-name="QuoteCoefficient" list-name="quoteCoefficients"/> <iterate list="quoteCoefficients" entry="quoteCoefficient"> <clear-field field="createQuoteCoefficientInMap"/> - <set-service-fields service-name="createQuoteCoefficient" to-map-name="createQuoteCoefficientInMap" map-name="quoteCoefficient"/> + <set-service-fields service-name="createQuoteCoefficient" to-map="createQuoteCoefficientInMap" map="quoteCoefficient"/> <set from-field="quoteIdTo" field="createQuoteCoefficientInMap.quoteId"/> <call-service service-name="createQuoteCoefficient" in-map-name="createQuoteCoefficientInMap"/> </iterate> @@ -376,7 +376,7 @@ <entity-one entity-name="QuoteItem" value-field="quoteItem" auto-field-map="true"/> <check-errors/> - <set-service-fields service-name="createQuoteItem" to-map-name="createQuoteItemInMap" map-name="quoteItem"/> + <set-service-fields service-name="createQuoteItem" to-map="createQuoteItemInMap" map="quoteItem"/> <set from-field="parameters.quoteIdTo" field="createQuoteItemInMap.quoteId"/> <set from-field="parameters.quoteItemSeqId" field="createQuoteItemInMap.quoteItemSeqId"/> <if-empty field="parameters.quoteIdTo"> @@ -396,7 +396,7 @@ <get-related value-name="quoteItem" relation-name="QuoteAdjustment" list-name="quoteAdjustments"/> <iterate list="quoteAdjustments" entry="quoteAdjustment"> <clear-field field="createQuoteAdjustmentInMap"/> - <set-service-fields service-name="createQuoteAdjustment" to-map-name="createQuoteAdjustmentInMap" map-name="quoteAdjustment"/> + <set-service-fields service-name="createQuoteAdjustment" to-map="createQuoteAdjustmentInMap" map="quoteAdjustment"/> <set from-field="quoteIdTo" field="createQuoteAdjustmentInMap.quoteId"/> <set from-field="quoteItemSeqId" field="createQuoteAdjustmentInMap.quoteItemSeqId"/> <call-service service-name="createQuoteAdjustment" in-map-name="createQuoteAdjustmentInMap"/> @@ -577,7 +577,7 @@ <iterate list="quoteItems" entry="quoteItem"> <if-compare field="quoteItem.isPromo" value="Y" operator="equals"> <clear-field field="removeQuoteItemInMap"/> - <set-service-fields service-name="removeQuoteItem" to-map-name="removeQuoteItemInMap" map-name="parameters"/> + <set-service-fields service-name="removeQuoteItem" to-map="removeQuoteItemInMap" map="parameters"/> <set from-field="quoteItem.quoteItemSeqId" field="removeQuoteItemInMap.quoteItemSeqId"/> <call-service service-name="removeQuoteItem" in-map-name="removeQuoteItemInMap"/> </if-compare> @@ -588,12 +588,12 @@ <!-- make sure this is not a manual adjustments --> <if-not-empty field="quoteAdjustment.productPromoId"> <clear-field field="removeQuoteAdjustmentInMap"/> - <set-service-fields service-name="removeQuoteAdjustment" to-map-name="removeQuoteAdjustmentInMap" map-name="parameters"/> + <set-service-fields service-name="removeQuoteAdjustment" to-map="removeQuoteAdjustmentInMap" map="parameters"/> <set from-field="quoteAdjustment.quoteAdjustmentId" field="removeQuoteAdjustmentInMap.quoteAdjustmentId"/> <call-service service-name="removeQuoteAdjustment" in-map-name="removeQuoteAdjustmentInMap"/> </if-not-empty> </iterate> - <set-service-fields service-name="loadCartFromQuote" to-map-name="loadCartFromQuoteInMap" map-name="parameters"/> + <set-service-fields service-name="loadCartFromQuote" to-map="loadCartFromQuoteInMap" map="parameters"/> <set value="false" field="loadCartFromQuoteInMap.applyQuoteAdjustments"/> <call-service service-name="loadCartFromQuote" in-map-name="loadCartFromQuoteInMap"> <result-to-field result-name="shoppingCart" field-name="cart"/> @@ -606,7 +606,7 @@ <!-- this is a new (promo) item --> <!-- a new quote item is created --> <clear-field field="createQuoteItemInMap"/> - <set-service-fields service-name="createQuoteItem" to-map-name="createQuoteItemInMap" map-name="parameters"/> + <set-service-fields service-name="createQuoteItem" to-map="createQuoteItemInMap" map="parameters"/> <call-object-method obj-field-name="item" method-name="getProductId" ret-field-name="createQuoteItemInMap.productId"/> <call-object-method obj-field-name="item" method-name="getQuantity" ret-field-name="createQuoteItemInMap.quantity"/> <set value="Y" field="createQuoteItemInMap.isPromo"/> |
Free forum by Nabble | Edit this page |