Order component Moved forms from webapp to widget folder Removed empty folders git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829377 13f79535-47bb-0310-9956-ffa450edef68
683 lines
36 KiB
XML
683 lines
36 KiB
XML
<?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.
|
|
-->
|
|
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
|
|
|
|
<!-- list all assets in a tabular format -->
|
|
<screen name="FindQuote">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderFindQuote"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuotes}">
|
|
<container>
|
|
<link target="EditQuote" text="${uiLabelMap.OrderCreateOrderQuote}" style="buttontext"/>
|
|
</container>
|
|
<include-form name="FindQuotes" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
<include-form name="ListQuotes" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ViewQuote">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderViewQuote"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ViewQuote"/>
|
|
|
|
<set field="showQuoteManagementLinks" value="Y"/>
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<entity-one entity-name="Quote" value-field="quote"/>
|
|
<get-related-one value-field="quote" relation-name="QuoteType" to-value-field="quoteType"/>
|
|
<get-related-one value-field="quote" relation-name="StatusItem" to-value-field="statusItem"/>
|
|
<get-related-one value-field="quote" relation-name="SalesChannelEnumeration" to-value-field="salesChannel"/>
|
|
<get-related-one value-field="quote" relation-name="Uom" to-value-field="currency"/>
|
|
<get-related-one value-field="quote" relation-name="ProductStore" to-value-field="store"/>
|
|
|
|
<set field="listOrderBy[]" value="quoteItemSeqId"/>
|
|
<get-related value-field="quote" relation-name="QuoteItem" list="quoteItems" order-by-list="listOrderBy"/>
|
|
<get-related value-field="quote" relation-name="QuoteAdjustment" list="quoteAdjustments"/>
|
|
<get-related value-field="quote" relation-name="QuoteRole" list="quoteRoles"/>
|
|
<!--
|
|
<get-related value-name="quote" relation-name="QuoteAttribute" list-name="quoteAttributes"/>
|
|
<get-related value-name="quote" relation-name="QuoteCoefficient" list-name="quoteCoefficients"/>
|
|
-->
|
|
<property-map resource="OrderUiLabels" map-name="uiLabelMap"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<container>
|
|
<link target="QuoteReport" text="${uiLabelMap.CommonReports}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
<link target="EditQuoteReportMail" text="${uiLabelMap.CommonSendReportByMail}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
<parameter param-name="emailType" value="PRDS_QUO_CONFIRM"/>
|
|
</link>
|
|
</container>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/CreateOrderQuote.ftl"/></html>
|
|
</platform-specific>
|
|
<include-screen name="ViewQuoteTemplate"/>
|
|
<screenlet title="${uiLabelMap.OrderCopyQuote}">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/CopyQuote.ftl"/></html>
|
|
</platform-specific>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ViewQuoteSimple">
|
|
<section>
|
|
<actions>
|
|
<set field="showQuoteManagementLinks" value="N"/>
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<entity-one entity-name="Quote" value-field="quote"/>
|
|
<get-related-one value-field="quote" relation-name="QuoteType" to-value-field="quoteType"/>
|
|
<get-related-one value-field="quote" relation-name="StatusItem" to-value-field="statusItem"/>
|
|
<get-related-one value-field="quote" relation-name="Uom" to-value-field="currency"/>
|
|
<get-related-one value-field="quote" relation-name="ProductStore" to-value-field="store"/>
|
|
|
|
<get-related value-field="quote" relation-name="QuoteItem" list="quoteItems"/>
|
|
<get-related value-field="quote" relation-name="QuoteAdjustment" list="quoteAdjustments"/>
|
|
<get-related value-field="quote" relation-name="QuoteRole" list="quoteRoles"/>
|
|
|
|
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
</actions>
|
|
<widgets>
|
|
<include-screen name="ViewQuoteTemplate"/>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="QuoteReport">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteReport"/>
|
|
|
|
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="AccountingUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
|
|
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<entity-one entity-name="Quote" value-field="quote"/>
|
|
<get-related-one value-field="quote" relation-name="QuoteType" to-value-field="quoteType"/>
|
|
<get-related-one value-field="quote" relation-name="StatusItem" to-value-field="statusItem"/>
|
|
<get-related-one value-field="quote" relation-name="Uom" to-value-field="currency"/>
|
|
<get-related-one value-field="quote" relation-name="ProductStore" to-value-field="store"/>
|
|
<get-related-one value-field="quote" relation-name="Party" to-value-field="party"/>
|
|
|
|
<set field="listOrderBy[]" value="quoteItemSeqId"/>
|
|
<get-related value-field="quote" relation-name="QuoteItem" list="quoteItems" order-by-list="listOrderBy"/>
|
|
<get-related value-field="quote" relation-name="QuoteAdjustment" list="quoteAdjustments"/>
|
|
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/quote/GetPartyAddress.groovy"/>
|
|
<!--
|
|
<get-related value-name="quote" relation-name="QuoteRole" list-name="quoteRoles"/>
|
|
<get-related value-name="quote" relation-name="QuoteAttribute" list-name="quoteAttributes"/>
|
|
<get-related value-name="quote" relation-name="QuoteCoefficient" list-name="quoteCoefficients"/>
|
|
-->
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="FoReportDecorator" location="component://common/widget/CommonScreens.xml">
|
|
<!-- at the top left of every page we put the logo and company information -->
|
|
<decorator-section name="topLeft">
|
|
<section>
|
|
<widgets>
|
|
<include-screen name="CompanyLogo" location="component://order/widget/ordermgr/OrderPrintScreens.xml"/>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<!-- at the top right of every page we put the order information -->
|
|
<decorator-section name="topRight">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/quote/quoteReportHeaderInfo.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
<decorator-section name="body">
|
|
<section>
|
|
<widgets>
|
|
<!-- the contach mechanisms, terms, payment and shipping methods are shown in the first page -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/quote/quoteReportContactMechs.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
<!-- quote items and totals -->
|
|
<platform-specific>
|
|
<xsl-fo><html-template location="component://order/webapp/ordermgr/quote/quoteReportBody.fo.ftl"/></xsl-fo>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
|
|
<screen name="EditQuote">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteEdit"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="EditQuote"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<entity-one entity-name="Quote" value-field="quote"/>
|
|
|
|
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteEdit}">
|
|
<include-form name="EditQuote" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListQuoteRoles">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteListRoles"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteRoles"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-and entity-name="QuoteRole" list="quoteRoles">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
</entity-and>
|
|
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteListRoles}">
|
|
<container>
|
|
<link target="EditQuoteRole" text="${uiLabelMap.OrderCreateOrderQuoteRole}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="ListQuoteRoles" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditQuoteRole">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteEditRoles"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteRoles"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<set field="quoteItemSeqId" from-field="parameters.quoteItemSeqId"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-one entity-name="QuoteRole" value-field="quoteRole"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteEditRoles}">
|
|
<container>
|
|
<link target="EditQuoteRole" text="${uiLabelMap.OrderCreateOrderQuoteRole}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="EditQuoteRole" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListQuoteItems">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteListItems"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteItems"/>
|
|
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-and entity-name="QuoteItem" list="quoteItems">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
<order-by field-name="quoteItemSeqId"/>
|
|
</entity-and>
|
|
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteListItems}">
|
|
<container>
|
|
<link target="EditQuoteItem" text="${uiLabelMap.OrderCreateOrderQuoteItem}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="ListQuoteItems" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditQuoteItem">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteEditItems"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteItems"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<set field="quoteItemSeqId" from-field="parameters.quoteItemSeqId"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-one entity-name="QuoteItem" value-field="quoteItem"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteEditItems}">
|
|
<container>
|
|
<link target="EditQuoteItem" text="${uiLabelMap.OrderCreateOrderQuoteItem}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="EditQuoteItem" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListQuoteAttributes">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteListAttributes"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteAttributes"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-and entity-name="QuoteAttribute" list="quoteAttributes">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteListAttributes}">
|
|
<container>
|
|
<link target="EditQuoteAttribute" text="${uiLabelMap.OrderCreateOrderQuoteAttribute}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="ListQuoteAttributes" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditQuoteAttribute">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteEditAttributes"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteAttributes"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<set field="attrName" from-field="parameters.attrName"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-one entity-name="QuoteAttribute" value-field="quoteAttribute"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteEditAttributes}">
|
|
<container>
|
|
<link target="EditQuoteAttribute" text="${uiLabelMap.OrderCreateOrderQuoteAttribute}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="EditQuoteAttribute" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListQuoteCoefficients">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteListCoefficients"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteCoefficients"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-and entity-name="QuoteCoefficient" list="quoteCoefficients">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuotePriceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteListCoefficients}">
|
|
<container>
|
|
<link target="EditQuoteCoefficient" text="${uiLabelMap.OrderCreateOrderQuoteCoefficient}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="ListQuoteCoefficients" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditQuoteCoefficient">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteEditCoefficients"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteCoefficients"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<set field="attrName" from-field="parameters.coeffName"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-one entity-name="QuoteCoefficient" value-field="quoteCoefficient"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuotePriceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteEditCoefficients}">
|
|
<container>
|
|
<link target="EditQuoteCoefficient" text="${uiLabelMap.OrderCreateOrderQuoteCoefficient}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="EditQuoteCoefficient" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ManageQuotePrices">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuotePrices"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ManageQuotePrices"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-and entity-name="QuoteItem" list="quoteItems">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
<order-by field-name="custRequestId"/>
|
|
<order-by field-name="custRequestItemSeqId"/>
|
|
<order-by field-name="quoteItemSeqId"/>
|
|
</entity-and>
|
|
<entity-and entity-name="QuoteCoefficient" list="quoteCoefficients">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
</entity-and>
|
|
<set from-field="quote.quoteId" field="quoteId"/>
|
|
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/quote/ManageQuotePrices.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuotePriceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuotePrices}">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/ManageQuotePrices.ftl"/></html>
|
|
</platform-specific>
|
|
</screenlet>
|
|
<screenlet title="${uiLabelMap.OrderOrderQuotePrices}">
|
|
<include-form name="ManageQuotePrices" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/ManageQuotePricesTotals.ftl"/></html>
|
|
</platform-specific>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ListQuoteAdjustments">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteListAdjustments"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteAdjustments"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-and entity-name="QuoteAdjustment" list="quoteAdjustments">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
</entity-and>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuotePriceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteListAdjustments}">
|
|
<container>
|
|
<link target="autoCreateQuoteAdjustments" text="${uiLabelMap.OrderRunStorePromotions}" style="buttontext">
|
|
<parameter param-name="quoteId"/>
|
|
</link>
|
|
<link target="EditQuoteAdjustment" text="${uiLabelMap.OrderCreateOrderQuoteAdjustment}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="ListQuoteAdjustments" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditQuoteAdjustment">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteEditAdjustments"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ListQuoteAdjustments"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<set field="quoteAdjustmentId" from-field="parameters.quoteAdjustmentId"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-one entity-name="QuoteAdjustment" value-field="quoteAdjustment"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuotePriceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteEditAdjustments}">
|
|
<container>
|
|
<link target="EditQuoteAdjustment" text="${uiLabelMap.OrderCreateOrderQuoteAdjustment}" style="buttontext">
|
|
<parameter param-name="quoteId" from-field="quote.quoteId"/>
|
|
</link>
|
|
</container>
|
|
<include-form name="EditQuoteAdjustment" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ViewQuoteProfit">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteViewProfit"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ViewQuoteProfit"/>
|
|
<set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/>
|
|
<set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
|
|
|
|
<entity-one entity-name="Quote" value-field="quote" auto-field-map="true"/>
|
|
<entity-and entity-name="QuoteItem" list="quoteItems">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
<order-by field-name="custRequestId"/>
|
|
<order-by field-name="custRequestItemSeqId"/>
|
|
<order-by field-name="quoteItemSeqId"/>
|
|
</entity-and>
|
|
<entity-and entity-name="QuoteCoefficient" list="quoteCoefficients">
|
|
<field-map from-field="quote.quoteId" field-name="quoteId"/>
|
|
</entity-and>
|
|
<set from-field="quote.quoteId" field="quoteId"/>
|
|
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/quote/ViewQuoteProfit.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuotePriceDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteViewProfit}">
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/ViewQuoteProfit.ftl"/></html>
|
|
</platform-specific>
|
|
<include-form name="ViewQuoteProfit" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="EditQuoteReportMail">
|
|
<section>
|
|
<actions>
|
|
<set field="titleProperty" value="OrderOrderQuoteEditReportMail"/>
|
|
<set field="headerItem" value="quote"/>
|
|
<set field="tabButtonItem" value="ViewQuote"/>
|
|
|
|
<set field="quoteId" from-field="parameters.quoteId"/>
|
|
<entity-one entity-name="Quote" value-field="quote"/>
|
|
<get-related-one value-field="quote" relation-name="Party" to-value-field="party"/>
|
|
<script location="component://order/webapp/ordermgr/WEB-INF/actions/quote/GetPartyEmailAddress.groovy"/>
|
|
</actions>
|
|
<widgets>
|
|
<decorator-screen name="CommonQuoteDecorator" location="${parameters.mainDecoratorLocation}">
|
|
<decorator-section name="body">
|
|
<screenlet title="${uiLabelMap.OrderOrderQuoteEditReportMail}">
|
|
<include-form name="EditQuoteReportMail" location="component://order/widget/ordermgr/QuoteForms.xml"/>
|
|
</screenlet>
|
|
</decorator-section>
|
|
</decorator-screen>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ViewQuoteTemplate">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="quote"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<label text="${note}" style="tabletext"/>
|
|
<include-screen name="ViewQuoteInfo"/>
|
|
<container style="leftclear">
|
|
<include-screen name="ViewQuoteItemInfo"/>
|
|
</container>
|
|
</widgets>
|
|
<fail-widgets>
|
|
<label style="h3">${uiLabelMap.OrderNoQuoteFound}</label>
|
|
</fail-widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ViewQuoteInfo">
|
|
<section>
|
|
<widgets>
|
|
<container style="lefthalf">
|
|
<include-screen name="quoteInfo"/>
|
|
</container>
|
|
<container style="righthalf">
|
|
<include-screen name="quoteDate"/>
|
|
<include-screen name="quoteRoles"/>
|
|
</container>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="quoteInfo">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/quoteInfo.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="quoteDate">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/quoteDate.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="quoteRoles">
|
|
<section>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/quoteRoles.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
<screen name="ViewQuoteItemInfo">
|
|
<section>
|
|
<condition>
|
|
<not><if-empty field="quoteItems"/></not>
|
|
</condition>
|
|
<widgets>
|
|
<platform-specific>
|
|
<html><html-template location="component://order/webapp/ordermgr/quote/ViewQuoteItemInfo.ftl"/></html>
|
|
</platform-specific>
|
|
</widgets>
|
|
</section>
|
|
</screen>
|
|
</screens> |