blob: a25994bb8f33f75fa7401b066e2a66c6a516b291 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd">
<include location="component://common/webcommon/WEB-INF/common-controller.xml"/>
<include location="component://commonext/webapp/WEB-INF/controller.xml"/>
<include location="component://content/webapp/content/WEB-INF/controller.xml"/>
<description>Order Manager Module Site Configuration File</description>
<!-- event handlers -->
<handler name="service-multi" type="request" class="org.ofbiz.webapp.event.ServiceMultiEventHandler"/>
<handler name="bsf" type="request" class="org.ofbiz.webapp.event.BsfEventHandler"/>
<!-- Events to run on every request before security (chains exempt) -->
<!--
<preprocessor>
</preprocessor>
-->
<!-- Events to run on every request after all other processing (chains exempt) -->
<!--
<postprocessor>
<event name="test" type="java" path="org.ofbiz.webapp.event.TestEvent" invoke="test"/>
</postprocessor>
-->
<!-- Request Mappings -->
<request-map uri="view">
<security https="false" auth="false"/>
<response name="success" type="request" value="main"/>
</request-map>
<request-map uri="main">
<security https="true" auth="true"/>
<response name="success" type="view" value="main"/>
</request-map>
<request-map uri="orderstats">
<security https="true" auth="true"/>
<response name="success" type="view" value="orderstats"/>
</request-map>
<!-- Main Order Manager Screens -->
<request-map uri="orderview">
<security https="true" auth="true"/>
<response name="success" type="view" value="orderview"/>
</request-map>
<request-map uri="findorders">
<security https="true" auth="true"/>
<response name="success" type="view" value="findorders"/>
</request-map>
<request-map uri="searchorders">
<security https="true" auth="true"/>
<event type="service" invoke="findOrders"/>
<response name="success" type="view" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="orderlist">
<security https="true" auth="true"/>
<response name="success" type="view" value="orderlist"/>
</request-map>
<request-map uri="confirmationmailedit">
<security https="true" auth="true"/>
<response name="success" type="view" value="SendConfirmationMail"/>
</request-map>
<request-map uri="completionmailedit">
<security https="true" auth="true"/>
<response name="success" type="view" value="SendCompletionMail"/>
</request-map>
<request-map uri="sendconfirmationmail">
<security https="true" auth="true"/>
<event type="service" path="" invoke="sendMail"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="SendConfirmationMail"/>
</request-map>
<request-map uri="OrderHistory">
<security https="true" auth="true"/>
<response name="success" type="view" value="OrderHistory"/>
</request-map>
<!-- Order Manager Mass Change Requests -->
<request-map uri="massApproveOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massChangeOrderApproved"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massProcessOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massProcessOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massHoldOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massHoldOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massCancelOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massCancelOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massCancelRemainingPurchaseOrderItems">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massCancelRemainingPurchaseOrderItems"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massRejectOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massRejectOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massQuickShipOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massQuickShipOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massPickOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massPickOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massPrintOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massPrintOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<request-map uri="massCreateFileForOrders">
<security https="true" auth="true"/>
<event type="service" path="" invoke="massCreateFileForOrders"/>
<response name="success" type="request-redirect" value="findorders"/>
<response name="error" type="view" value="findorders"/>
</request-map>
<!-- Delivery Info Requests, intended for sales orders but can be used for purchase orders as well -->
<request-map uri="OrderDeliveryScheduleInfo">
<security https="true" auth="true"/>
<response name="success" type="view" value="OrderDeliveryScheduleInfo"/>
</request-map>
<request-map uri="createOrderDeliverySchedule">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createOrderDeliverySchedule"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="updateOrderDeliverySchedule">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateOrderDeliverySchedule"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<!-- Order Manager Edit Requests -->
<request-map uri="changeOrderStatus">
<security https="true" auth="true"/>
<event type="service" invoke="changeOrderStatus"/>
<response name="success" type="view" value="orderlist"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="changeOrderItemStatus">
<security https="true" auth="true"/>
<event type="service" invoke="changeOrderItemStatus"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="cancelOrderItem">
<security https="true" auth="true"/>
<event type="service" invoke="cancelOrderItem"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="cancelSelectedOrderItems">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.order.OrderEvents" invoke="cancelSelectedOrderItems"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="createOrderAdjustment">
<security https="true" auth="true"/>
<event type="service" invoke="createOrderAdjustment"/>
<response name="success" type="request" value="recalcTax"/>
<response name="error" type="view" value="editorderitems"/>
</request-map>
<request-map uri="updateOrderAdjustment">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderAdjustment"/>
<response name="success" type="view" value="editorderitems"/>
<response name="error" type="view" value="editorderitems"/>
</request-map>
<request-map uri="deleteOrderAdjustment">
<security https="true" auth="true"/>
<event type="service" invoke="deleteOrderAdjustment"/>
<response name="success" type="view" value="editorderitems"/>
<response name="error" type="view" value="editorderitems"/>
</request-map>
<request-map uri="recalcTax">
<security https="true" auth="true"/>
<event type="service" invoke="recalcTaxTotal"/>
<response name="success" type="view" value="editorderitems"/>
<response name="error" type="view" value="editorderitems"/>
</request-map>
<request-map uri="addpromocode">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addProductPromoCode"/>
<response name="success" type="view" value="showcart"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="getConfigDetailsEvent">
<security https="true" auth="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="getConfigDetailsEvent"/>
<response name="success" type="request" value="json"/>
<response name="error" type="request" value="json"/>
</request-map>
<request-map uri="updateTrackingNumber">
<security https="true" auth="true"/>
<event type="service" invoke="updateTrackingNumber"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="receivepayment">
<security https="true" auth="true"/>
<response name="success" type="view" value="receivepayment"/>
</request-map>
<request-map uri="receiveOfflinePayments">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.OrderManagerEvents" invoke="receiveOfflinePayment"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="receivepayment"/>
</request-map>
<request-map uri="allowordersplit">
<security https="true" auth="true"/>
<event type="service" invoke="setAllowOrderSplit"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="quickShipOrder">
<security https="true" auth="true"/>
<event type="service" invoke="quickShipEntireOrder"/>
<response name="success" type="request-redirect" value="orderview"><redirect-parameter name="orderId"/></response>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="createQuoteTerm">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteTerm"/>
<response name="success" type="request-redirect" value="ListQuoteTerms">
<redirect-parameter name="quoteId"/>
</response>
<response name="error" type="request-redirect" value="EditQuoteTerm">
<redirect-parameter name="quoteId"/>
</response>
</request-map>
<request-map uri="createQuoteTermFromItem">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteTerm"/>
<response name="success" type="request-redirect" value="EditQuoteItem">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
</response>
<response name="error" type="request-redirect" value="EditQuoteTermItem">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
</response>
</request-map>
<request-map uri="updateQuoteTermFromItem">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateQuoteTerm"/>
<response name="success" type="request-redirect" value="EditQuoteItem">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
</response>
<response name="error" type="request-redirect" value="EditQuoteTermItem">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
<redirect-parameter name="termTypeId"/>
<redirect-parameter name="termDays"/>
<redirect-parameter name="textValue"/>
<redirect-parameter name="uomId"/>
<redirect-parameter name="description"/>
<redirect-parameter name="termValue"/>
</response>
</request-map>
<request-map uri="updateQuoteTerm">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateQuoteTerm"/>
<response name="success" type="request-redirect" value="ListQuoteTerms">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
</response>
<response name="error" type="request-redirect" value="EditQuoteTerm">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
<redirect-parameter name="termTypeId"/>
<redirect-parameter name="termDays"/>
<redirect-parameter name="textValue"/>
<redirect-parameter name="uomId"/>
<redirect-parameter name="description"/>
<redirect-parameter name="termValue"/>
</response>
</request-map>
<request-map uri="deleteQuoteTermFromItem">
<security https="true" auth="true"/>
<event type="service" path="" invoke="deleteQuoteTerm"/>
<response name="success" type="request-redirect" value="EditQuoteItem">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
</response>
<response name="error" type="view" value="EditQuoteItem"/>
</request-map>
<request-map uri="deleteQuoteTerm">
<security https="true" auth="true"/>
<event type="service" path="" invoke="deleteQuoteTerm"/>
<response name="success" type="request-redirect" value="ListQuoteTerms">
<redirect-parameter name="quoteId"/>
<redirect-parameter name="quoteItemSeqId"/>
</response>
<response name="error" type="view" value="ListQuoteTerms"/>
</request-map>
<request-map uri="quickDropShipOrder">
<security https="true" auth="true"/>
<event type="service" path="" invoke="quickDropShipOrder"/>
<response name="success" type="request-redirect" value="orderview"><redirect-parameter name="orderId"/></response>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="completePurchaseOrder">
<security https="true" auth="true"/>
<event type="service" path="" invoke="completePurchaseOrder"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="balanceInventoryItems">
<security https="true" auth="true"/>
<event type="service" path="" invoke="balanceInventoryItems"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="editOrderItems">
<security https="true" auth="true"/>
<response name="success" type="view" value="editorderitems"/>
</request-map>
<request-map uri="updateOrderItems">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateOrderItems"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="editorderitems"/>
</request-map>
<request-map uri="appendItemToOrder">
<security https="true" auth="true"/>
<event type="service" path="" invoke="appendOrderItem"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="editorderitems"/>
</request-map>
<request-map uri="viewimage">
<security https="true" auth="true"/>
<response name="success" type="view" value="viewimage"/>
</request-map>
<request-map uri="setShippingInstructions">
<security https="true" auth="true"/>
<event type="service" invoke="setShippingInstructions"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="setGiftMessage">
<security https="true" auth="true"/>
<event type="service" invoke="setGiftMessage"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<!-- Order Note Requests -->
<request-map uri="createnewnote">
<security https="true" auth="true"/>
<response name="success" type="view" value="createnewnote"/>
</request-map>
<request-map uri="createordernote">
<security https="true" auth="true"/>
<event type="service" invoke="createOrderNote"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="createnewnote"/>
</request-map>
<!-- Order Term Requests -->
<request-map uri="ListOrderTerms">
<security https="true" auth="true"/>
<response name="success" type="view" value="ListOrderTerms"/>
</request-map>
<request-map uri="createOrderTerm">
<security https="true" auth="true"/>
<event type="service" invoke="createOrderTerm"/>
<response name="success" type="view" value="ListOrderTerms"/>
<response name="error" type="view" value="ListOrderTerms"/>
</request-map>
<request-map uri="updateOrderTerm">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderTerm"/>
<response name="success" type="view" value="ListOrderTerms"/>
<response name="error" type="view" value="ListOrderTerms"/>
</request-map>
<request-map uri="removeOrderTerm">
<security https="true" auth="true"/>
<event type="service" invoke="removeOrderTerm"/>
<response name="success" type="view" value="ListOrderTerms"/>
<response name="error" type="view" value="ListOrderTerms"/>
</request-map>
<request-map uri="updateOrderNote">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderNote"/>
<response name="success" type="request-redirect" value="orderview"><redirect-parameter name="orderId"/></response>
<response name="error" type="view" value="orderview"/>
</request-map>
<!-- Order Entry Requests -->
<request-map uri="orderentry">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="routeOrderEntry"/>
<response name="init" type="view" value="checkinits"/>
<response name="agreements" type="view" value="orderagreements"/>
<response name="cart" type="view" value="showcart"/>
<response name="error" type="view" value="checkinits"/>
</request-map>
<request-map uri="initorderentry">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="initializeOrderEntry"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="view" value="checkinits"/>
</request-map>
<request-map uri="checkinits">
<security https="true" auth="true"/>
<response name="success" type="view" value="checkinits"/>
</request-map>
<request-map uri="orderagreements">
<security https="true" auth="true"/>
<response name="success" type="view" value="orderagreements"/>
</request-map>
<request-map uri="setOrderCurrencyAgreementShipDates">
<description>Handles setting the currency, agreement and shipment dates of an order.</description>
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="setOrderCurrencyAgreementShipDates"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderagreements"/>
</request-map>
<request-map uri="setOrderAgreement">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="selectAgreement"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderagreements"/>
</request-map>
<request-map uri="setOrderCurrency">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="setCurrency"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderagreements"/>
</request-map>
<request-map uri="setOrderName">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="setOrderName"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="setPoNumber">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="setPoNumber"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="additem">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addToCart"/>
<response name="success" type="request" value="orderentry"/>
<response name="survey" type="view" value="survey"/>
<response name="product" type="view" value="product"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="additemsurvey">
<security https="true" auth="true"/>
<event type="java" invoke="createSurveyResponseAndRestoreParameters" path="org.ofbiz.content.survey.SurveyEvents"/>
<response name="success" type="request" value="additem"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="addRequirementsToCart">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addToCartBulkRequirements"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="quickAddRequirementsToCart">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addToCartBulkRequirements"/>
<response name="success" type="request" value="quickCheckoutOrderWithDefaultOptions"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="FindQuoteForCart">
<security https="true" auth="true"/>
<response name="success" type="view" value="FindQuoteForCart"/>
</request-map>
<request-map uri="createQuoteFromCart">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="createQuoteFromCart"/>
<response name="success" type="request" value="ViewQuote"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="createCustRequestFromCart">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="createCustRequestFromCart"/>
<response name="success" type="request" value="ViewRequest"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="createQuoteFromShoppingList">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteFromShoppingList"/>
<response name="success" type="request" value="ViewQuote"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="createQuoteFromCustRequest">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteFromCustRequest"/>
<response name="success" type="request" value="ViewQuote"/>
<response name="error" type="request" value="request"/>
</request-map>
<request-map uri="createCustRequestFromShoppingList">
<security https="true" auth="true"/>
<event type="service" invoke="createCustRequestFromShoppingList"/>
<response name="success" type="request" value="ViewRequest"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="viewPartyShoppingLists">
<security https="true" auth="true"/>
<response name="success" type="view" value="viewshoppinglists"/>
</request-map>
<request-map uri="addFromShoppingList">
<security https="true" auth="true"/>
<response name="success" type="view" value="addfromshoppinglist"/>
</request-map>
<request-map uri="addAllFromShoppingList">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppinglist.ShoppingListEvents" invoke="addListToCart"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="view" value="checkinits"/>
</request-map>
<request-map uri="addBulkToShoppingList">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppinglist.ShoppingListEvents" invoke="addBulkFromCart"/>
<response name="success" type="request" value="addFromShoppingList"/>
<response name="error" type="view" value="checkinits"/>
</request-map>
<request-map uri="addItemToShoppingList">
<security auth="true" https="true"/>
<event type="service" path="" invoke="createShoppingListItem"/>
<response name="success" type="view" value="viewshoppinglists"/>
<response name="error" type="view" value="viewshoppinglists"/>
</request-map>
<request-map uri="loadCartFromShoppingList">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="loadCartFromShoppingList"/>
<response name="success" type="view" value="showcart"/>
<response name="error" type="view" value="checkinits"/>
</request-map>
<request-map uri="loadCartFromOrder">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="loadCartFromOrder"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="getProductInventoryAvailable">
<security https="true" auth="true"/>
<event type="service" invoke="getInventoryAvailableByFacility"/>
<response name="success" type="view" value="showcart"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="AddGiftCertificate">
<security https="true" auth="true"/>
<response name="success" type="view" value="AddGiftCertificate"/>
</request-map>
<request-map uri="addGiftCertificateSurvey">
<security https="true" auth="false"/>
<event type="java" invoke="createSurveyResponseAndRestoreParameters" path="org.ofbiz.content.survey.SurveyEvents"/>
<response name="success" type="request" value="additem"/>
<response name="error" type="view" value="AddGiftCertificate"/>
</request-map>
<!-- Create a replacement order from an existing order against a lost shipment etc. -->
<request-map uri="loadCartForReplacementOrder">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="loadCartFromOrder"/>
<response name="success" type="request" value="createReplacementOrder"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="createReplacementOrder">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="createReplacementOrder"/>
<response name="success" type="request" value="clearCartForReplacementOrder"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="clearCartForReplacementOrder">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="destroyCart"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="addseperator">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addSeparator"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="modifycart">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="modifyCart"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="emptycart">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="destroyCart"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="doManualPromotions">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="doManualPromotions"/>
<response name="success" type="view" value="showcart"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="setDesiredAlternateGwpProductId">
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="setDesiredAlternateGwpProductId"/>
<response name="success" type="view" value="showcart"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="showAllPromotions">
<security https="true" auth="true"/>
<response name="success" type="view" value="showAllPromotions"/>
</request-map>
<request-map uri="showPromotionDetails">
<security https="true" auth="true"/>
<response name="success" type="view" value="showPromotionDetails"/>
</request-map>
<request-map uri="removePromotion">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="removePromotion"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="quickadd">
<response name="success" type="view" value="quickadd"/>
</request-map>
<request-map uri="advancedsearch">
<security https="true" auth="true"/>
<response name="success" type="view" value="advancedsearch"/>
</request-map>
<request-map uri="keywordsearch">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.product.product.ProductSearchSession" invoke="checkDoKeywordOverride"/>
<response name="success" type="view" value="keywordsearch"/>
<response name="none" type="none" value=""/>
</request-map>
<request-map uri="choosecatalog">
<security https="true" auth="true"/>
<response name="success" type="request" value="orderentry"/>
</request-map>
<request-map uri="addtocartbulk">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addToCartBulk"/>
<response name="success" type="view" value="keywordsearch"/>
<response name="error" type="view" value="keywordsearch"/>
</request-map>
<request-map uri="addCategoryDefaults">
<security https="false" auth="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addCategoryDefaults"/>
<response name="success" type="view" value="showcart"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="BulkAddProducts">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="bulkAddProducts"/>
<response name="success" type="request" value="orderentry"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="bulkAddProductsInApprovedOrder">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="bulkAddProductsInApprovedOrder"/>
<response name="success" type="request-redirect" value="orderview"><redirect-parameter name="orderId"/></response>
<response name="error" type="request" value="orderview"/>
</request-map>
<request-map uri="category">
<security https="true" auth="true"/>
<response name="success" type="view" value="category"/>
</request-map>
<request-map uri="product">
<security https="true" auth="true"/>
<response name="success" type="view" value="product"/>
</request-map>
<!-- Product Comparison Requests -->
<request-map uri="addToCompare">
<security auth="true" https="true"/>
<event type="java" path="org.ofbiz.product.product.ProductEvents" invoke="addProductToComparisonList"/>
<response name="success" type="view-last"/>
</request-map>
<request-map uri="removeFromCompare">
<security auth="true" https="true"/>
<event type="java" path="org.ofbiz.product.product.ProductEvents" invoke="removeProductFromComparisonList"/>
<response name="success" type="view-last"/>
</request-map>
<request-map uri="clearCompareList">
<security auth="true" https="true"/>
<event type="java" path="org.ofbiz.product.product.ProductEvents" invoke="clearProductComparisonList"/>
<response name="success" type="view-last"/>
</request-map>
<request-map uri="compareProducts">
<security auth="true" https="true"/>
<response name="success" type="view" value="compareProducts" save-last-view="true"/>
</request-map>
<request-map uri="finalizeOrder">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="finalizeOrderEntry"/>
<response name="addparty" type="view" value="setAdditionalParty"/>
<response name="customer" type="view" value="custsetting"/>
<response name="shipping" type="view" value="shipsetting"/>
<response name="shippingAddress" type="view" value="EditShipAddress"/>
<response name="options" type="view" value="optionsetting"/>
<response name="payment" type="request" value="calcShippingBeforePayment"/>
<response name="paymentError" type="request" value="calcShippingBeforePayment"/>
<response name="term" type="view" value="orderTerm"/>
<response name="shipGroups" type="view" value="SetItemShipGroups"/>
<response name="sales" type="request" value="calcShipping"/>
<response name="po" type="request" value="calcTax"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<!-- For checkout steps that use finalizeOrder: This request chain is for calculating shipping & tax before getting to the payments page, so that the visitor
will know the full shipping & tax charges when trying to split payments between various payment methods -->
<request-map uri="calcShippingBeforePayment">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.shipping.ShippingEvents" invoke="getShipEstimate"/>
<response name="success" type="request" value="calcTaxBeforePayment"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="calcTaxBeforePayment">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="calcTax"/>
<response name="success" type="request" value="validatePaymentMethodsBeforePayment"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="validatePaymentMethodsBeforePayment">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="checkPaymentMethods"/>
<response name="success" type="view" value="billsetting"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<!--
Quick Finalize Order reuses the ecommerce checkoutoptions widget and template. We need to
translate the controller requests here for use by ordermgr. Note that the main entry point on submit is "checkout".
-->
<request-map uri="quickcheckout">
<security https="true" auth="true"/>
<response name="success" type="view" value="quickcheckout" save-home-view="true"/>
</request-map>
<request-map uri="updateCheckoutOptions">
<description>When user selects a shipping method, this automatically reloads quick checkout page with shipping estimates filled in.</description>
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="setPartialCheckOutOptions"/>
<response name="success" type="view" value="checkoutshippingaddress"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="cartUpdateShipToCustomerParty">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="setCartShipToCustomerParty"/>
<response name="success" type="view" value="quickcheckout"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="checkout">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="setQuickCheckOutOptions"/>
<response name="success" type="request" value="calcShipping"/>
<response name="error" type="view-last"/>
</request-map>
<request-map uri="createPostalAddressAndPurpose">
<security https="true" auth="true"/>
<event type="service" invoke="createPartyPostalAddress"/>
<response name="success" type="view" value="editcontactmech"/>
<response name="error" type="view" value="editcontactmech"/>
</request-map>
<request-map uri="createPartyContactMechPurpose">
<security https="true" auth="true"/>
<event type="service" invoke="createPartyContactMechPurpose"/>
<response name="success" type="view" value="editcontactmech"/>
<response name="error" type="view" value="editcontactmech"/>
</request-map>
<request-map uri="deletePartyContactMechPurpose">
<security https="true" auth="true"/>
<event type="service" invoke="deletePartyContactMechPurpose"/>
<response name="success" type="view" value="editcontactmech"/>
<response name="error" type="view" value="editcontactmech"/>
</request-map>
<request-map uri="checkoutoptions">
<security https="true" auth="true"/>
<response name="success" type="request" value="calcShipping"/>
</request-map>
<request-map uri="updatePostalAddress">
<security https="true" auth="true"/>
<event type="service" invoke="updatePartyPostalAddress"/>
<response name="success" type="view" value="editcontactmech"/>
<response name="error" type="view" value="editcontactmech"/>
</request-map>
<request-map uri="createCreditCard">
<security https="true" auth="true"/>
<event type="simple" path="component://accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml" invoke="createCreditCard"/>
<response name="success" type="view" value="editcreditcard"/>
<response name="address" type="view" value="editcontactmech"/>
<response name="error" type="view" value="editcreditcard"/>
</request-map>
<request-map uri="createPartyForOrder">
<security https="true" auth="true"/>
<response name="success" type="view" value="custsetting"/>
</request-map>
<request-map uri="updateOrderContactMech">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderContactMech"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<!-- ================================================================= -->
<!-- ================== MultiParty Modifs =========================== -->
<!-- ================================================================= -->
<request-map uri="setAdditionalParty">
<security https="true" auth="true"/>
<response name="success" type="view" value="setAdditionalParty"/>
</request-map>
<request-map uri="addAdditionalParty">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addAdditionalParty"/>
<response name="success" type="view" value="setAdditionalParty"/>
<response name="error" type="view" value="setAdditionalParty"/>
</request-map>
<request-map uri="removeAdditionalParty">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="removeAdditionalParty"/>
<response name="success" type="view" value="setAdditionalParty"/>
<response name="error" type="view" value="setAdditionalParty"/>
</request-map>
<request-map uri="calcShipping">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.shipping.ShippingEvents" invoke="getShipEstimate"/>
<response name="success" type="request" value="calcTax"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="calcTax">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="calcTax"/>
<response name="success" type="view" value="confirm"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="setCustomer">
<security https="true" auth="true"/>
<response name="success" type="view" value="custsetting"/>
</request-map>
<request-map uri="createCustomer">
<security https="true" auth="true"/>
<event type="simple" path="component://order/script/org/ofbiz/order/customer/CustomerEvents.xml" invoke="createCustomer"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="custsetting"/>
</request-map>
<request-map uri="confirmOrder">
<security https="true" auth="true"/>
<response name="success" type="view" value="confirm"/>
</request-map>
<request-map uri="setShipping">
<security https="true" auth="true"/>
<response name="success" type="view" value="shipsetting"/>
</request-map>
<request-map uri="EditShipAddress">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditShipAddress"/>
</request-map>
<request-map uri="createPostalAddress">
<security https="true" auth="true"/>
<event type="service" invoke="createPartyPostalAddress"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="EditShipAddress"/>
</request-map>
<request-map uri="updatePostalAddressOrderEntry">
<security https="true" auth="true"/>
<event type="service" invoke="updatePartyPostalAddress"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="shipsetting"/>
</request-map>
<request-map uri="SetItemShipGroups">
<security https="true" auth="true"/>
<response name="success" type="view" value="SetItemShipGroups"/>
</request-map>
<request-map uri="assignItemToShipGroups">
<security https="true" auth="true"/>
<event type="service-multi" invoke="assignItemShipGroup"/>
<response name="success" type="view" value="SetItemShipGroups"/>
<response name="error" type="view" value="SetItemShipGroups"/>
</request-map>
<request-map uri="setOptions">
<security https="true" auth="true"/>
<response name="success" type="view" value="optionsetting"/>
</request-map>
<request-map uri="setBilling">
<security https="true" auth="true"/>
<response name="success" type="view" value="billsetting"/>
</request-map>
<request-map uri="createCreditCardAndPostalAddress">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createCreditCardAndAddress"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="billsetting"/>
</request-map>
<request-map uri="createCreditCardOrderEntry">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createCreditCard"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="billsetting"/>
</request-map>
<request-map uri="updateCreditCard">
<security https="true" auth="true"/>
<event type="simple" path="component://accounting/script/org/ofbiz/accounting/payment/PaymentMethodEvents.xml" invoke="updateCreditCard"/>
<response name="success" type="view" value="editcreditcard"/>
<response name="address" type="view" value="editcreditcard"/>
<response name="error" type="view" value="editcreditcard"/>
</request-map>
<request-map uri="updateCreditCardAndPostalAddress">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateCreditCardAndAddress"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="billsetting"/>
</request-map>
<request-map uri="createEftAndPostalAddress">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createEftAccountAndAddress"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="billsetting"/>
</request-map>
<request-map uri="createEftAccount">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createEftAccount"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="billsetting"/>
</request-map>
<request-map uri="updateEftAndPostalAddress">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateEftAccountAndAddress"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="billsetting"/>
</request-map>
<request-map uri="processorder">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="createOrder"/>
<response name="sales_order" type="request" value="checkBlackList"/>
<response name="work_order" type="request" value="checkBlackList"/>
<response name="purchase_order" type="request" value="clearpocart"/>
<response name="error" type="view" value="confirm"/>
</request-map>
<request-map uri="checkBlackList">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="checkOrderBlacklist"/>
<response name="success" type="request" value="processpayment"/>
<response name="failed" type="request" value="failedBlacklist"/>
<response name="error" type="view" value="confirm"/>
</request-map>
<request-map uri="failedBlacklist">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="failedBlacklistCheck"/>
<response name="success" type="view" value="main"/>
<response name="error" type="view" value="main"/>
</request-map>
<request-map uri="processpayment">
<security direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.CheckOutEvents" invoke="processPayment"/>
<response name="success" type="request" value="clearcart"/>
<response name="fail" type="view" value="confirm"/>
<response name="error" type="view" value="confirm"/>
</request-map>
<request-map uri="clearcart">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="destroyCart"/>
<response name="success" type="request" value="emailorder"/>
<response name="error" type="view" value="confirm"/>
</request-map>
<request-map uri="clearpocart">
<security https="true" direct-request="false"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="destroyCart"/>
<response name="success" type="view" value="ordercomplete"/>
<response name="error" type="view" value="confirm"/>
</request-map>
<request-map uri="emailorder">
<security https="true" direct-request="false"/>
<event type="service" path="async" invoke="sendOrderConfirmation"/>
<response name="success" type="view" value="ordercomplete"/>
<response name="error" type="view" value="ordercomplete"/>
</request-map>
<request-map uri="setOrderTerm">
<security https="true" auth="true"/>
<response name="success" type="view" value="orderTerm"/>
</request-map>
<request-map uri="addOrderTerm">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="addOrderTerm"/>
<response name="success" type="view" value="orderTerm"/>
<response name="error" type="view" value="orderTerm"/>
</request-map>
<request-map uri="removeCartOrderTerm">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="removeOrderTerm"/>
<response name="success" type="view" value="orderTerm"/>
<response name="error" type="view" value="orderTerm"/>
</request-map>
<!-- Order Return Requests -->
<request-map uri="findreturn">
<security https="true" auth="true"/>
<response name="success" type="view" value="findreturn"/>
</request-map>
<request-map uri="returnlist">
<security https="true" auth="true"/>
<response name="success" type="view" value="returnlist"/>
</request-map>
<request-map uri="quickreturn">
<security https="true" auth="true"/>
<response name="success" type="view" value="quickReturn"/>
</request-map>
<request-map uri="makeQuickReturn">
<security https="true" auth="true"/>
<event type="service-multi" invoke="createReturnAndItemOrAdjustment"/>
<response name="success" type="request-redirect" value="returnItems"><redirect-parameter name="returnId"/></response>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="quickRefundOrder">
<security https="true" auth="true"/>
<event type="service" invoke="quickReturnOrder"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="returnMain">
<security https="true" auth="true"/>
<response name="success" type="view" value="returnhead"/>
</request-map>
<request-map uri="returnItems">
<security https="true" auth="true"/>
<response name="success" type="view" value="returnitems"/>
</request-map>
<request-map uri="createReturn">
<security https="true" auth="true"/>
<event type="service" invoke="createReturnHeader"/>
<response name="success" type="view" value="returnhead"/>
</request-map>
<request-map uri="updateReturn">
<security https="true" auth="true"/>
<event type="service" invoke="updateReturnHeader"/>
<response name="success" type="view" value="returnhead"/>
</request-map>
<request-map uri="createReturnItems">
<security https="true" auth="true"/>
<event type="service-multi" invoke="createReturnItemOrAdjustment"/>
<response name="success" type="view" value="returnitems"/>
</request-map>
<request-map uri="updateReturnItems">
<security https="true" auth="true"/>
<event type="service-multi" invoke="updateReturnItemOrAdjustment"/>
<response name="success" type="view" value="returnitems"/>
</request-map>
<request-map uri="removeReturnItem">
<security https="true" auth="true"/>
<event type="service" invoke="removeReturnItem"/>
<response name="success" type="view" value="returnitems"/>
</request-map>
<request-map uri="removeReturnAdjustment">
<security https="true" auth="true"/>
<event type="service" invoke="removeReturnAdjustment"/>
<response name="success" type="view" value="returnitems"/>
</request-map>
<request-map uri="getStatusItemsForReturn">
<security https="true" auth="true"/>
<event type="service" invoke="getStatusItemsForReturn"/>
<response name="success" type="request" value="json"/>
<response name="error" type="request" value="json"/>
</request-map>
<!-- Payment Processor Setup Requests -->
<request-map uri="paysetup">
<security https="true" auth="true"/>
<response name="success" type="view" value="paysetup"/>
</request-map>
<request-map uri="createWebSitePaymentSetting">
<security https="true" auth="true"/>
<response name="success" type="view" value="paysetup"/>
</request-map>
<request-map uri="updateWebSitePaymentSetting">
<security https="true" auth="true"/>
<response name="success" type="view" value="paysetup"/>
</request-map>
<request-map uri="removeWebSitePaymentSetting">
<security https="true" auth="true"/>
<response name="success" type="view" value="paysetup"/>
</request-map>
<request-map uri="OrderPurchaseReportOptions"><security https="true" auth="true"/>
<response name="success" type="view" value="OrderPurchaseReportOptions"/>
</request-map>
<request-map uri="OrderPurchaseReportPayment.pdf"><security https="true" auth="true"/>
<response name="success" type="view" value="OrderPurchaseReportPayment"/>
</request-map>
<request-map uri="OrderPurchaseReportProduct.pdf"><security https="true" auth="true"/>
<response name="success" type="view" value="OrderPurchaseReportProduct"/>
</request-map>
<request-map uri="SalesByStoreReport.pdf"><security https="true" auth="true"/>
<response name="success" type="view" value="SalesByStoreReport"/>
</request-map>
<request-map uri="OpenOrderItemsReport"><security https="true" auth="true"/>
<response name="success" type="view" value="OpenOrderItemsReport"/>
</request-map>
<request-map uri="PurchasesByOrganizationReport.pdf"><security https="true" auth="true"/>
<response name="success" type="view" value="PurchasesByOrganizationReport"/>
</request-map>
<!-- Requirement request mappings -->
<request-map uri="FindRequirements">
<security https="true" auth="true"/>
<response name="success" type="view" value="FindRequirements"/>
</request-map>
<request-map uri="EditRequirement">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditRequirement"/>
</request-map>
<request-map uri="ListRequirementCustRequests">
<security https="true" auth="true"/>
<response name="success" type="view" value="ListRequirementCustRequests"/>
</request-map>
<request-map uri="ListRequirementOrders">
<security https="true" auth="true"/>
<response name="success" type="view" value="ListRequirementOrders"/>
</request-map>
<request-map uri="ListRequirementRoles">
<security https="true" auth="true"/>
<response name="success" type="view" value="ListRequirementRoles"/>
</request-map>
<request-map uri="EditRequirementRole">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditRequirementRole"/>
</request-map>
<request-map uri="createRequirement">
<security https="true" auth="true"/>
<event type="service" invoke="createRequirement"/>
<response name="success" type="view" value="EditRequirement"/>
</request-map>
<request-map uri="updateRequirement">
<security https="true" auth="true"/>
<event type="service" invoke="updateRequirement"/>
<response name="success" type="view" value="EditRequirement"/>
</request-map>
<request-map uri="deleteRequirement">
<security https="true" auth="true"/>
<event type="service" invoke="deleteRequirement"/>
<response name="success" type="view" value="FindRequirements"/>
</request-map>
<request-map uri="removeRequirementRole">
<security https="true" auth="true"/>
<event type="service" invoke="removeRequirementRole"/>
<response name="success" type="view" value="ListRequirementRoles"/>
</request-map>
<request-map uri="createRequirementRole">
<security https="true" auth="true"/>
<event type="service" invoke="createRequirementRole"/>
<response name="success" type="view" value="ListRequirementRoles"/>
</request-map>
<request-map uri="updateRequirementRole">
<security https="true" auth="true"/>
<event type="service" invoke="updateRequirementRole"/>
<response name="success" type="view" value="ListRequirementRoles"/>
</request-map>
<request-map uri="autoAssignRequirementToSupplier">
<security https="true" auth="true"/>
<event type="service" invoke="autoAssignRequirementToSupplier"/>
<response name="success" type="view" value="ListRequirementRoles"/>
</request-map>
<request-map uri="ApproveRequirements">
<security https="true" auth="true"/>
<response name="success" type="view" value="ApproveRequirements"/>
</request-map>
<request-map uri="approveRequirements">
<security https="true" auth="true"/>
<event type="service-multi" invoke="approveRequirement"/>
<response name="success" type="view" value="ApproveRequirements"/>
<response name="error" type="view" value="ApproveRequirements"/>
</request-map>
<request-map uri="createTransfersFromRequirements">
<security https="true" auth="true"/>
<event type="service-multi" invoke="createTransferFromRequirement"/>
<response name="success" type="view" value="ApproveRequirements"/>
<response name="error" type="view" value="ApproveRequirements"/>
</request-map>
<request-map uri="ApprovedProductRequirements">
<security https="true" auth="true"/>
<response name="success" type="view" value="ApprovedProductRequirements"/>
</request-map>
<request-map uri="ApprovedProductRequirementsReport">
<security https="true" auth="true"/>
<response name="success" type="view" value="ApprovedProductRequirementsReport"/>
</request-map>
<request-map uri="ApprovedProductRequirementsByVendor">
<security https="true" auth="true"/>
<response name="success" type="view" value="ApprovedProductRequirementsByVendor"/>
</request-map>
<request-map uri="ApprovedProductRequirementsByVendorReport">
<security https="true" auth="true"/>
<response name="success" type="view" value="ApprovedProductRequirementsByVendorReport"/>
</request-map>
<request-map uri="quickPurchaseOrderEntry">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="quickInitPurchaseOrder"/>
<response name="success" type="request" value="quickAddRequirementsToCart"/>
<response name="error" type="view" value="ApprovedProductRequirements"/>
</request-map>
<request-map uri="quickCheckoutOrderWithDefaultOptions">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="quickCheckoutOrderWithDefaultOptions"/>
<response name="success" type="request" value="calcTax"/>
<response name="error" type="request" value="orderentry"/>
</request-map>
<request-map uri="RequirementsForSupplier">
<security https="true" auth="true"/>
<response name="success" type="view" value="RequirementsForSupplier"/>
</request-map>
<!-- =============== CustRequest mapping =================-->
<request-map uri="FindRequest"><security https="true" auth="true"/><response name="success" type="view" value="FindRequest"/></request-map>
<request-map uri="ViewRequest"><security https="true" auth="true"/><response name="success" type="view" value="ViewRequest"/></request-map>
<request-map uri="EditRequest"><security https="true" auth="true"/><response name="success" type="view" value="EditRequest"/></request-map>
<request-map uri="EditRequestCustomer"><security https="true" auth="true"/><response name="success" type="view" value="EditRequestCustomer"/></request-map>
<!-- CustRequest Content -->
<request-map uri="EditCustRequestContent">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditCustRequestContent"/>
</request-map>
<request-map uri="createCustRequestContent">
<security auth="true" https="true"/>
<event path="component://order/script/org/ofbiz/order/request/CustRequestEvents.xml" type="simple" invoke="createCustRequestContent"/>
<response name="success" type="request-redirect" value="EditCustRequestContent"><redirect-parameter name="custRequestId"/></response>
<response name="error" type="view" value="EditCustRequestContent"/>
</request-map>
<request-map uri="deleteCustRequestContent">
<security auth="true" https="true"/>
<event invoke="deleteCustRequestContent" type="service"/>
<response name="success" type="request-redirect" value="EditCustRequestContent"><redirect-parameter name="custRequestId"/></response>
<response name="error" type="view" value="EditCustRequestContent"/>
</request-map>
<!-- deprecated: use EditRequest instead -->
<request-map uri="request"><security https="true" auth="true"/><response name="success" type="view" value="EditRequest"/></request-map>
<request-map uri="createrequest">
<security https="true" auth="true"/>
<event type="service" invoke="createCustRequest"/>
<response name="success" type="view" value="EditRequest"/>
<response name="error" type="view" value="EditRequest"/>
</request-map>
<request-map uri="updaterequest">
<security https="true" auth="true"/>
<event type="service" invoke="updateCustRequest"/>
<response name="success" type="view" value="EditRequest"/>
<response name="error" type="view" value="EditRequest"/>
</request-map>
<request-map uri="setCustRequestStatus">
<security https="true" auth="true"/>
<event type="service" invoke="setCustRequestStatus"/>
<response name="success" type="view-home" value="FindRequest"/>
<response name="error" type="view" value="EditRequest"/>
</request-map>
<request-map uri="requestroles"><security https="true" auth="true"/><response name="success" type="view" value="RequestRoles"/></request-map>
<request-map uri="createCustRequestParty">
<security https="true" auth="true"/>
<event type="service" invoke="createCustRequestParty"/>
<response name="success" type="view" value="RequestRoles"/>
<response name="error" type="view" value="RequestRoles"/>
</request-map>
<request-map uri="updateCustRequestParty">
<security https="true" auth="true"/>
<event type="service" invoke="updateCustRequestParty"/>
<response name="success" type="view" value="RequestRoles"/>
<response name="error" type="view" value="RequestRoles"/>
</request-map>
<request-map uri="deleteCustRequestParty">
<security https="true" auth="true"/>
<event type="service" invoke="deleteCustRequestParty"/>
<response name="success" type="view" value="RequestRoles"/>
<response name="error" type="view" value="RequestRoles"/>
</request-map>
<request-map uri="requestitems"><security https="true" auth="true"/><response name="success" type="view" value="RequestItems"/></request-map>
<request-map uri="EditRequestItem"><security https="true" auth="true"/><response name="success" type="view" value="EditRequestItem"/></request-map>
<!-- deprecated: use EditRequestItem instead -->
<request-map uri="requestitem"><security https="true" auth="true"/><response name="success" type="view" value="EditRequestItem"/></request-map>
<request-map uri="createrequestitem">
<security https="true" auth="true"/>
<event type="service" invoke="createCustRequestItem"/>
<response name="success" type="view" value="RequestItems"/>
<response name="error" type="view" value="RequestItems"/>
</request-map>
<request-map uri="updaterequestitem">
<security https="true" auth="true"/>
<event type="service" invoke="updateCustRequestItem"/>
<response name="success" type="view" value="RequestItems"/>
<response name="error" type="view" value="RequestItems"/>
</request-map>
<request-map uri="copyCustRequestItem">
<security https="true" auth="true"/>
<event type="service" path="" invoke="copyCustRequestItem"/>
<response name="success" type="view" value="EditRequestItem"/>
<response name="error" type="view" value="EditRequestItem"/>
</request-map>
<request-map uri="requestitemnotes"><security https="true" auth="true"/><response name="success" type="view" value="RequestItemNotes"/></request-map>
<request-map uri="createrequestitemnote">
<security https="true" auth="true"/>
<event type="service" invoke="createCustRequestItemNote"/>
<response name="success" type="view" value="RequestItemNotes"/>
<response name="error" type="view" value="RequestItemNotes"/>
</request-map>
<request-map uri="requestitemrequirements"><security https="true" auth="true"/><response name="success" type="view" value="RequestItemRequirements"/></request-map>
<request-map uri="EditRequestItemWorkEfforts"><security https="true" auth="true"/><response name="success" type="view" value="EditRequestItemWorkEfforts"/></request-map>
<request-map uri="createCustRequestItemWorkEffort">
<security https="true" auth="true"/>
<event type="service" invoke="createWorkEffortRequestItem"/>
<response name="success" type="view" value="EditRequestItemWorkEfforts"/>
<response name="error" type="view" value="EditRequestItemWorkEfforts"/>
</request-map>
<request-map uri="deleteCustRequestItemWorkEffort">
<security https="true" auth="true"/>
<event type="service" invoke="deleteWorkEffortRequestItem"/>
<response name="success" type="view" value="EditRequestItemWorkEfforts"/>
<response name="error" type="view" value="EditRequestItemWorkEfforts"/>
</request-map>
<request-map uri="RequestItemQuotes"><security https="true" auth="true"/><response name="success" type="view" value="RequestItemQuotes"/></request-map>
<request-map uri="CreateQuoteAndQuoteItemForRequest">
<security https="true" auth="true"/>
<response name="success" type="view" value="CreateQuoteAndQuoteItemForRequest"/>
</request-map>
<request-map uri="createQuoteAndQuoteItemForRequest">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteAndQuoteItemForRequest"/>
<response name="success" type="view" value="RequestItemQuotes"/>
<response name="error" type="view" value="RequestItemQuotes"/>
</request-map>
<request-map uri="EditQuoteItemForRequest">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditQuoteItemForRequest"/>
</request-map>
<request-map uri="createQuoteItemForRequest">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteItem"/>
<response name="success" type="view" value="RequestItemQuotes"/>
<response name="error" type="view" value="RequestItemQuotes"/>
</request-map>
<request-map uri="updateQuoteItemForRequest">
<security https="true" auth="true"/>
<event type="service" invoke="updateQuoteItem"/>
<response name="success" type="view" value="RequestItemQuotes"/>
<response name="error" type="view" value="RequestItemQuotes"/>
</request-map>
<!-- =============== Quote mapping =================-->
<request-map uri="FindQuote"><security https="true" auth="true"/><response name="success" type="view" value="FindQuote"/></request-map>
<request-map uri="ViewQuote"><security https="true" auth="true"/><response name="success" type="view" value="ViewQuote"/></request-map>
<request-map uri="QuoteReport"><security https="true" auth="true"/><response name="success" type="view" value="QuoteReport"/></request-map>
<request-map uri="ViewQuoteProfit"><security https="true" auth="true"/><response name="success" type="view" value="ViewQuoteProfit"/></request-map>
<request-map uri="EditQuoteReportMail"><security https="true" auth="true"/><response name="success" type="view" value="EditQuoteReportMail"/></request-map>
<request-map uri="sendQuoteReportMail">
<security https="true" auth="true"/>
<event type="service" path="" invoke="sendQuoteReportMail"/>
<response name="success" type="view" value="ViewQuote"/>
<response name="error" type="view" value="EditQuoteReportMail"/>
</request-map>
<request-map uri="EditQuote"><security https="true" auth="true"/><response name="success" type="view" value="EditQuote"/></request-map>
<request-map uri="createQuote">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createQuote"/>
<response name="success" type="view" value="ViewQuote"/>
<response name="error" type="view" value="EditQuote"/>
</request-map>
<request-map uri="updateQuote">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateQuote"/>
<response name="success" type="view" value="ViewQuote"/>
<response name="error" type="view" value="EditQuote"/>
</request-map>
<request-map uri="copyQuote">
<security https="true" auth="true"/>
<event type="service" path="" invoke="copyQuote"/>
<response name="success" type="view" value="EditQuote"/>
<response name="error" type="view" value="EditQuote"/>
</request-map>
<request-map uri="ListQuoteRoles"><security https="true" auth="true"/><response name="success" type="view" value="ListQuoteRoles"/></request-map>
<request-map uri="EditQuoteRole"><security https="true" auth="true"/><response name="success" type="view" value="EditQuoteRole"/></request-map>
<request-map uri="createQuoteRole">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createQuoteRole"/>
<response name="success" type="view" value="EditQuoteRole"/>
<response name="error" type="view" value="EditQuoteRole"/>
</request-map>
<request-map uri="removeQuoteRole">
<security https="true" auth="true"/>
<event type="service" path="" invoke="removeQuoteRole"/>
<response name="success" type="view" value="ListQuoteRoles"/>
<response name="error" type="view" value="ListQuoteRoles"/>
</request-map>
<request-map uri="ListQuoteItems"><security https="true" auth="true"/><response name="success" type="view" value="ListQuoteItems"/></request-map>
<request-map uri="EditQuoteItem"><security https="true" auth="true"/><response name="success" type="view" value="EditQuoteItem"/></request-map>
<request-map uri="createQuoteItem">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createQuoteItem"/>
<response name="success" type="request-redirect" value="ListQuoteItems">
<redirect-parameter name="quoteId"/>
</response>
</request-map>
<request-map uri="updateQuoteItem">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateQuoteItem"/>
<response name="success" type="view" value="ListQuoteItems"/>
<response name="error" type="view" value="EditQuoteItem"/>
</request-map>
<request-map uri="removeQuoteItem">
<security https="true" auth="true"/>
<event type="service" path="" invoke="removeQuoteItem"/>
<response name="success" type="view" value="ListQuoteItems"/>
</request-map>
<request-map uri="ListQuoteAttributes"><security https="true" auth="true"/><response name="success" type="view" value="ListQuoteAttributes"/></request-map>
<request-map uri="EditQuoteAttribute"><security https="true" auth="true"/><response name="success" type="view" value="EditQuoteAttribute"/></request-map>
<request-map uri="createQuoteAttribute">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createQuoteAttribute"/>
<response name="success" type="view" value="EditQuoteAttribute"/>
</request-map>
<request-map uri="updateQuoteAttribute">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateQuoteAttribute"/>
<response name="success" type="view" value="EditQuoteAttribute"/>
</request-map>
<request-map uri="removeQuoteAttribute">
<security https="true" auth="true"/>
<event type="service" path="" invoke="removeQuoteAttribute"/>
<response name="success" type="view" value="ListQuoteAttributes"/>
</request-map>
<request-map uri="ListQuoteCoefficients"><security https="true" auth="true"/><response name="success" type="view" value="ListQuoteCoefficients"/></request-map>
<request-map uri="EditQuoteCoefficient"><security https="true" auth="true"/><response name="success" type="view" value="EditQuoteCoefficient"/></request-map>
<request-map uri="createQuoteCoefficient">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createQuoteCoefficient"/>
<response name="success" type="view" value="EditQuoteCoefficient"/>
</request-map>
<request-map uri="updateQuoteCoefficient">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateQuoteCoefficient"/>
<response name="success" type="view" value="EditQuoteCoefficient"/>
</request-map>
<request-map uri="removeQuoteCoefficient">
<security https="true" auth="true"/>
<event type="service" path="" invoke="removeQuoteCoefficient"/>
<response name="success" type="view" value="ListQuoteCoefficients"/>
</request-map>
<request-map uri="ManageQuotePrices"><security https="true" auth="true"/><response name="success" type="view" value="ManageQuotePrices"/></request-map>
<request-map uri="ListQuoteAdjustments"><security https="true" auth="true"/><response name="success" type="view" value="ListQuoteAdjustments"/></request-map>
<request-map uri="EditQuoteAdjustment"><security https="true" auth="true"/><response name="success" type="view" value="EditQuoteAdjustment"/></request-map>
<request-map uri="autoUpdateQuotePrices">
<security https="true" auth="true"/>
<event type="service-multi" invoke="autoUpdateQuotePrice"/>
<response name="success" type="view" value="ManageQuotePrices"/>
<response name="error" type="view" value="ManageQuotePrices"/>
</request-map>
<request-map uri="autoCreateQuoteAdjustments">
<security https="true" auth="true"/>
<event type="service" path="" invoke="autoCreateQuoteAdjustments"/>
<response name="success" type="view" value="ListQuoteAdjustments"/>
</request-map>
<request-map uri="loadCartFromQuote">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.order.shoppingcart.ShoppingCartEvents" invoke="loadCartFromQuote"/>
<response name="success" type="request" value="finalizeOrder"/>
<response name="error" type="view" value="EditQuote"/>
</request-map>
<request-map uri="createQuoteAdjustment">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createQuoteAdjustment"/>
<response name="success" type="view" value="EditQuoteAdjustment"/>
</request-map>
<request-map uri="updateQuoteAdjustment">
<security https="true" auth="true"/>
<event type="service" path="" invoke="updateQuoteAdjustment"/>
<response name="success" type="view" value="EditQuoteAdjustment"/>
</request-map>
<request-map uri="removeQuoteAdjustment">
<security https="true" auth="true"/>
<event type="service" path="" invoke="removeQuoteAdjustment"/>
<response name="success" type="view" value="ListQuoteAdjustments"/>
</request-map>
<!-- Quote Note Requests -->
<request-map uri="createnewquotenote">
<security https="true" auth="true"/>
<response name="success" type="view" value="createnewquotenote"/>
</request-map>
<request-map uri="createquotenote">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteNote"/>
<response name="success" type="view" value="ListQuoteNotes"/>
<response name="error" type="view" value="createnewquotenote"/>
</request-map>
<request-map uri="updateQuoteNote">
<security https="true" auth="true"/>
<event type="service" invoke="updateNote"/>
<response name="success" type="request-redirect" value="ListQuoteNotes"><redirect-parameter name="quoteId"/></response>
<response name="error" type="view" value="ListQuoteNotes"/>
</request-map>
<request-map uri="ListQuoteNotes">
<security https="true" auth="true"/>
<response name="success" type="view" value="ListQuoteNotes"/>
</request-map>
<request-map uri="EditQuoteNote">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditQuoteNote"/>
</request-map>
<!-- WorkEffort Quote request mappings -->
<request-map uri="ListQuoteWorkEfforts">
<security https="true" auth="true"/>
<response name="success" type="view" value="ListQuoteWorkEfforts"/>
</request-map>
<request-map uri="AddQuoteWorkEffort">
<security https="true" auth="true"/>
<response name="success" type="view" value="AddQuoteWorkEffort"/>
</request-map>
<request-map uri="EditQuoteWorkEffort">
<security https="true" auth="true"/>
<response name="success" type="view" value="EditQuoteWorkEffort"/>
</request-map>
<request-map uri="createQuoteWorkEffort">
<security https="true" auth="true"/>
<event type="service" invoke="createQuoteWorkEffort"/>
<response name="success" type="view" value="EditQuoteWorkEffort"/>
<response name="error" type="view" value="AddQuoteWorkEffort"/>
</request-map>
<request-map uri="updateQuoteWorkEffort">
<security https="true" auth="true"/>
<event type="service" invoke="updateWorkEffort"/>
<response name="success" type="view" value="EditQuoteWorkEffort"/>
<response name="error" type="view" value="EditQuoteWorkEffort"/>
</request-map>
<request-map uri="deleteQuoteWorkEffort">
<security https="true" auth="true"/>
<event type="service" invoke="deleteQuoteWorkEffort"/>
<response name="success" type="view" value="ListQuoteWorkEfforts"/>
<response name="error" type="view" value="ListQuoteWorkEfforts"/>
</request-map>
<!-- OrderHeader request mappings -->
<request-map uri="ListOrderHeaders"><security https="true" auth="true"/><response name="success" type="view" value="ListOrderHeaders"/></request-map>
<request-map uri="AddOrderHeader"><security https="true" auth="true"/><response name="success" type="view" value="EditOrderHeader"/></request-map>
<request-map uri="EditOrderHeader"><security https="true" auth="true"/><response name="success" type="view" value="EditOrderHeader"/></request-map>
<request-map uri="createOrderHeader">
<security https="true" auth="true"/>
<event type="service" invoke="createOrderHeader"/>
<response name="success" type="view" value="EditOrderHeader"/>
<response name="error" type="view" value="EditOrderHeader"/>
</request-map>
<request-map uri="updateOrderHeader">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderHeader"/>
<response name="success" type="view" value="EditOrderHeader"/>
<response name="error" type="view" value="EditOrderHeader"/>
</request-map>
<request-map uri="deleteOrderHeader">
<security https="true" auth="true"/>
<!-- TO DO
<event type="service" invoke="deleteOrderHeader"/>
-->
<response name="success" type="view" value="ListOrderHeaders"/>
<response name="error" type="view" value="ListOrderHeaders"/>
</request-map>
<request-map uri="createOrderItemShipGroup">
<security https="true" auth="true"/>
<event type="service" invoke="createOrderItemShipGroup"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="updateOrderItemShipGroup">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderItemShipGroup"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="addPaymentMethodToOrder">
<security https="true" auth="true"/>
<event type="service" path="" invoke="addPaymentMethodToOrder"/>
<response name="success" type="request" value="authOrderPayment"/>
</request-map>
<request-map uri="authOrderPayment">
<security https="true" auth="true"/>
<event type="service" path="" invoke="authOrderPaymentPreference"/>
<response name="success" type="request-redirect" value="orderview"><redirect-parameter name="orderId"/></response>
</request-map>
<request-map uri="updateOrderPaymentPreference">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderPaymentPreference"/>
<response name="success" type="request-redirect" value="orderview"><redirect-parameter name="orderId"/></response>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="setOrderReservationPriority">
<security https="true" auth="true"/>
<event type="service" invoke="setOrderReservationPriority"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="markOrderViewed">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderHeader"/>
<response name="success" type="request" value="json"/>
<response name="error" type="request" value="json"/>
</request-map>
<request-map uri="setInvoicePerShipment">
<security https="true" auth="true"/>
<event type="service" invoke="updateOrderHeader"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="addShippingAddress">
<security https="true" auth="true"/>
<event type="service" invoke="createUpdateShippingAddress"/>
<response name="success" type="request" value="updateOrderItemShipGroup"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="getAssociatedStateList">
<security https="true" auth="false"/>
<event type="service" invoke="getAssociatedStateList"/>
<response name="success" type="request" value="json"/>
<response name="error" type="request" value="json"/>
</request-map>
<!-- UPS carrier requests -->
<request-map uri="upsEmailReturnLabelOrder">
<security https="true" auth="true"/>
<event type="service" invoke="upsEmailReturnLabel"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="upsEmailReturnLabelReturn">
<security https="true" auth="true"/>
<event type="service" invoke="upsEmailReturnLabel"/>
<response name="success" type="view" value="returnhead"/>
<response name="error" type="view" value="returnhead"/>
</request-map>
<request-map uri="updateShippingMethodAndCharges">
<security https="true" auth="true"/>
<event type="service" invoke="updateShippingMethodAndCharges"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="crosssell">
<security https="false" auth="false"/>
<response name="success" type="view" value="product"/>
</request-map>
<request-map uri="AddOrderItemShipGroup">
<security auth="true" https="true"/>
<event type="service" path="" invoke="addOrderItemShipGroup"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="DeleteOrderItemShipGroup">
<security auth="true" https="true"/>
<event type="service" path="" invoke="deleteOrderItemShipGroup"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="AddOrderItemShipGroupAssoc">
<security auth="true" https="true"/>
<event type="service" invoke="addOrderItemShipGroupAssoc"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="UpdateOrderItemShipGroupAssoc">
<security auth="true" https="true"/>
<event type="service-multi" invoke="updateOrderItemShipGroupAssoc"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="DeleteOrderItemShipGroupAssoc">
<security auth="true" https="true"/>
<event type="service" invoke="deleteOrderItemShipGroupAssoc"/>
<response name="success" type="view" value="orderview"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<!-- Lookup request mappings -->
<request-map uri="LookupPerson"><security https="true" auth="true"/><response name="success" type="view" value="LookupPerson"/></request-map>
<request-map uri="LookupPartyGroup"><security https="true" auth="true"/><response name="success" type="view" value="LookupPartyGroup"/></request-map>
<request-map uri="LookupPartyName"><security auth="true" https="true"/><response name="success" type="view" value="LookupPartyName"/></request-map>
<request-map uri="LookupCustomerName"><security auth="true" https="true"/><response name="success" type="view" value="LookupCustomerName"/></request-map>
<request-map uri="LookupProduct"><security https="true" auth="true"/><response name="success" type="view" value="LookupProduct"/></request-map>
<request-map uri="LookupSupplierProduct"><security https="true" auth="true"/><response name="success" type="view" value="LookupSupplierProduct"/></request-map>
<request-map uri="LookupBulkAddSupplierProductsInApprovedOrder"><security https="true" auth="true"/><response name="success" type="view" value="LookupBulkAddSupplierProductsInApprovedOrder"/></request-map>
<request-map uri="LookupProductAndPrice"><security https="true" auth="true"/><response name="success" type="view" value="LookupProductAndPrice"/></request-map>
<request-map uri="LookupProductFeature"><security auth="true" https="true"/><response name="success" type="view" value="LookupProductFeature"/></request-map>
<request-map uri="LookupUserLoginAndPartyDetails"><security https="true" auth="true"/><response name="success" type="view" value="LookupUserLoginAndPartyDetails"/></request-map>
<request-map uri="LookupPreferredContactMech"><security https="true" auth="true"/><response name="success" type="view" value="LookupPreferredContactMech"/></request-map>
<request-map uri="LookupVariantProduct"><security https="true" auth="true"/><response name="success" type="view" value="LookupVariantProduct"/></request-map>
<request-map uri="LookupFacility"><security https="true" auth="true"/><response name="success" type="view" value="LookupFacility"/></request-map>
<request-map uri="LookupFixedAsset"><security auth="true" https="true"/><response name="success" type="view" value="LookupFixedAsset"/></request-map>
<request-map uri="LookupShoppingList"><security https="true" auth="true"/><response name="success" type="view" value="LookupShoppingList"/></request-map>
<request-map uri="LookupCustRequest"><security https="true" auth="true"/><response name="success" type="view" value="LookupCustRequest"/></request-map>
<request-map uri="LookupCustRequestItem"><security https="true" auth="true"/><response name="success" type="view" value="LookupCustRequestItem"/></request-map>
<request-map uri="LookupRequirement"><security https="true" auth="true"/><response name="success" type="view" value="LookupRequirement"/></request-map>
<request-map uri="LookupQuote"><security https="true" auth="true"/><response name="success" type="view" value="LookupQuote"/></request-map>
<request-map uri="LookupQuoteItem"><security https="true" auth="true"/><response name="success" type="view" value="LookupQuoteItem"/></request-map>
<request-map uri="LookupOrderHeader"><security https="true" auth="true"/><response name="success" type="view" value="LookupOrderHeader"/></request-map>
<request-map uri="LookupWorkEffort"><security https="true" auth="true"/><response name="success" type="view" value="LookupWorkEffort"/></request-map>
<request-map uri="LookupBulkAddProducts"><security https="true" auth="true"/><response name="success" type="view" value="LookupBulkAddProducts"/></request-map>
<request-map uri="LookupBulkAddSupplierProducts"><security https="true" auth="true"/><response name="success" type="view" value="LookupBulkAddSupplierProducts"/></request-map>
<request-map uri="LookupAssociatedProducts"><security https="true" auth="true"/><response name="success" type="view" value="LookupAssociatedProducts"/></request-map>
<!-- PDFs -->
<request-map uri="order.pdf"><security https="true" auth="true"/><response name="success" type="view" value="OrderPDF"/></request-map>
<request-map uri="return.pdf"><security https="true" auth="true"/><response name="success" type="view" value="ReturnPDF"/></request-map>
<request-map uri="shipGroups.pdf"><security https="true" auth="true"/><response name="success" type="view" value="ShipGroupsPDF"/></request-map>
<request-map uri="orderPickSheet.pdf">
<security https="true" auth="true"/>
<event type="service" invoke="printPickSheets"/>
<response name="success" type="view" value="OrderPickSheetPDF"/>
<response name="error" type="view" value="orderview"/>
</request-map>
<request-map uri="LookupProductCategory">
<security auth="true" https="true"/>
<response name="success" type="view" value="LookupProductCategory"/>
</request-map>
<request-map uri="ReturnHistory">
<security https="true" auth="true"/>
<response name="success" type="view" value="ReturnHistory"/>
</request-map>
<request-map uri="LookupContent"><security auth="true" https="true"/><response name="success" type="view" value="LookupContent"/></request-map>
<request-map uri="productAvailabalityByFacility">
<security https="true" auth="true"/>
<event type="service" invoke="productAvailabalityByFacility"/>
<response name="success" type="view" value="showcart"/>
<response name="error" type="view" value="showcart"/>
</request-map>
<request-map uri="clearSearchOptionsHistoryList">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.product.product.ProductSearchSession" invoke="clearSearchOptionsHistoryList"/>
<response name="success" type="view" value="advancedsearch"/>
<response name="error" type="view" value="advancedsearch"/>
</request-map>
<request-map uri="setCurrentSearchFromHistory">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.product.product.ProductSearchSession" invoke="setCurrentSearchFromHistory"/>
<response name="success" type="view" value="advancedsearch"/>
<response name="error" type="view" value="advancedsearch"/>
</request-map>
<request-map uri="setCurrentSearchFromHistoryAndSearch">
<security https="true" auth="true"/>
<event type="java" path="org.ofbiz.product.product.ProductSearchSession" invoke="setCurrentSearchFromHistory"/>
<response name="success" type="request" value="keywordsearch"/>
<response name="error" type="view" value="advancedsearch"/>
</request-map>
<request-map uri="ProductUomDropDownOnly">
<security auth="true" https="true"/>
<response name="success" type="view" value="ProductUomDropDownOnly" save-last-view="true"/>
</request-map>
<request-map uri="ListQuoteTerms">
<security auth="true" https="true"/>
<response name="success" type="view" value="ListQuoteTerms" save-last-view="true"/>
</request-map>
<request-map uri="EditQuoteTerm">
<security auth="true" https="true"/>
<response name="success" type="view" value="EditQuoteTerm" save-last-view="true"/>
</request-map>
<request-map uri="EditQuoteTermItem">
<security auth="true" https="true"/>
<response name="success" type="view" value="EditQuoteTermItem" save-last-view="true"/>
</request-map>
<!-- Split Shipment Requests -->
<request-map uri="splitship">
<security https="true" auth="true"/>
<response name="success" type="view" value="splitship"/>
</request-map>
<request-map uri="updatesplit">
<security https="true" auth="true"/>
<event type="service" invoke="assignItemShipGroup"/>
<response name="success" type="view" value="splitship"/>
<response name="error" type="view" value="splitship"/>
</request-map>
<request-map uri="updateShippingAddress">
<security https="true" auth="true"/>
<event type="service" invoke="setCartShippingAddress"/>
<response name="success" type="view" value="splitship"/>
<response name="error" type="request" value="splitship"/>
</request-map>
<request-map uri="updateShippingOptions">
<security https="true" auth="true"/>
<event type="service" invoke="setCartShippingOptions"/>
<response name="success" type="view" value="splitship"/>
<response name="error" type="request" value="splitship"/>
</request-map>
<!--
These are just examples of reports developed using JasperReport and not really
useful reports. In order to run them you'll have to follow the notes in the
OPTIONAL_LIBRARIES files, add the following entry:
<handler name="jasperreportspdf" type="view" class="org.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>
to the handler section of this file and uncomment the following lines:
<request-map uri="orderreportjasper.pdf"><security https="true" auth="true"/>
<event type="bsf" path="/reports/" invoke="OrderReportPrepare.groovy"/>
<response name="success" type="view" value="orderreportjasper"/>
</request-map>
<request-map uri="orderitemreportjasper.pdf"><security https="true" auth="true"/>
<event type="bsf" path="/reports/" invoke="OrderReportPrepare.groovy"/>
<response name="success" type="view" value="orderitemreportjasper"/>
</request-map>
<request-map uri="orderreportlist">
<security https="true" auth="true"/>
<response name="success" type="view" value="orderreportlist"/>
</request-map>
<view-map name="orderreportlist" type="screen" page="component://order/widget/ordermgr/OrderReportScreens.xml#OrderReportList"/>
<view-map name="orderreportjasper" type="jasperreportspdf" page="/reports/orderreport.xml" content-type="application/pdf" encoding="none"/>
<view-map name="orderitemreportjasper" type="jasperreportspdf" page="/reports/orderitemreport.xml" content-type="application/pdf" encoding="none"/>
-->
<!-- end of request mappings -->