Following points are covered in this patch: 1) Show associated products for product of type "MARKETING_PKG_AUTO" on order items section of show cart page in order manager application. 2) Marketing packages should only shown backordered when ATP of product which compose Marketing packages product are less than quantity added in cart. 3) Pick sheets should show Products of type Marketing Packages along with the products which compose Marketing Packages. 4) Show link of production run created on order items section of Order detail page while placing order for product of type MARKETING_PKG_AUTO. 5) Product of type Marketing Packages should be shown on Verify Pick Screen along with Products they are composed of. Thanks Divesh for the contribution - this is very nice addition to the trunk. I would be more then happy to see comments / concern from - Jacopo? Scott? Anil? or others? git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@834479 13f79535-47bb-0310-9956-ffa450edef68
221 lines
13 KiB
XML
221 lines
13 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.
|
|
-->
|
|
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
|
|
<form name="FindRequirements" type="single" target="RequirementsForSupplier" title=""
|
|
default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext">
|
|
<field name="showList"><hidden value="Y"/></field>
|
|
<field name="requirementId"><text-find/></field>
|
|
<field name="partyId" title="${uiLabelMap.PartySupplier}"><lookup target-form-name="LookupPartyName"/></field>
|
|
<field name="productId" title="${uiLabelMap.ProductProductId}"><lookup target-form-name="LookupProduct"/></field>
|
|
<field name="requirementByDate"><date-find type="date"/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonLookup}" widget-style="smallSubmit"><submit button-type="button"/></field>
|
|
</form>
|
|
<form name="RequirementsList" type="multi" use-row-submit="true" target="addRequirementsToCart" title="" list-name="requirementsForSupplier"
|
|
default-title-style="tableheadtext" default-widget-style="tabletext" default-tooltip-style="tabletext"
|
|
paginate-target="RequirementsForSupplier">
|
|
<actions>
|
|
<service service-name="prepareFind" result-map="resultConditions">
|
|
<field-map field-name="inputFields" from-field="requestParameters"/>
|
|
<field-map field-name="entityName" from-field="entityName"/>
|
|
</service>
|
|
<service service-name="getRequirementsForSupplier" result-map="result" result-map-list="requirementsForSupplier">
|
|
<!--<field-map field-name="orderByList" from-field="resultConditions.orderByList"/>-->
|
|
<field-map field-name="requirementConditions" from-field="resultConditions.entityConditionList"/>
|
|
<field-map field-name="partyId" from-field="parameters.partyId"/>
|
|
</service>
|
|
</actions>
|
|
<field name="requirementId"><display/></field>
|
|
<field name="productId"><hidden value="${productId}"/></field>
|
|
<field name="productId">
|
|
<display-entity entity-name="Product" key-field-name="productId" description="${productId} - ${internalName}"/>
|
|
</field>
|
|
|
|
<field name="requiredByDate"><display/></field>
|
|
<field name="quantity"><text/></field>
|
|
<field name="_rowSubmit" title="${uiLabelMap.CommonSelect}"><check/></field>
|
|
<field name="submitButton" widget-style="smallSubmit"><submit/></field>
|
|
</form>
|
|
<form name="FindQuotes" target="FindQuoteForCart" title="" type="single"
|
|
header-row-style="header-row" default-table-style="basic-table">
|
|
<auto-fields-entity entity-name="Quote" default-field-type="find"/>
|
|
<field name="quoteId" title="${uiLabelMap.OrderOrderQuoteId}"></field>
|
|
<field name="quoteTypeId" title="${uiLabelMap.OrderOrderQuoteTypeId}">
|
|
<drop-down allow-empty="true">
|
|
<entity-options description="${description}" entity-name="QuoteType" key-field-name="quoteTypeId"/>
|
|
</drop-down>
|
|
</field>
|
|
<field name="partyId" title="${uiLabelMap.PartyPartyId}">
|
|
<lookup target-form-name="LookupPartyName"/>
|
|
</field>
|
|
<field name="issueDate" title="${uiLabelMap.OrderOrderQuoteIssueDate}"></field>
|
|
<field name="statusId"><hidden/></field>
|
|
<field name="currencyUomId"><hidden/></field>
|
|
<field name="validFromDate"><hidden/></field>
|
|
<field name="validThruDate"><hidden/></field>
|
|
<field name="description"><hidden/></field>
|
|
<field name="submitButton" title="${uiLabelMap.CommonFind}" widget-style="smallSubmit">
|
|
<submit button-type="button"/>
|
|
</field>
|
|
</form>
|
|
<form name="ListQuotes" list-name="listIt" target="" title="" type="list"
|
|
default-title-style="tableheadtext" default-tooltip-style="tabletext" default-widget-style="tabletext"
|
|
paginate-target="FindQuoteForCart">
|
|
<actions>
|
|
<set field="entityName" value="Quote"/>
|
|
<service service-name="performFind" result-map="result" result-map-list="listIt">
|
|
<field-map field-name="inputFields" from-field="requestParameters"/>
|
|
<field-map field-name="entityName" from-field="entityName"/>
|
|
<field-map field-name="viewIndex" from-field="viewIndex"/>
|
|
<field-map field-name="viewSize" from-field="viewSize"/>
|
|
</service>
|
|
</actions>
|
|
<auto-fields-entity entity-name="Quote" default-field-type="display"/>
|
|
|
|
<field name="quoteId" title="${uiLabelMap.OrderOrderQuoteId}" widget-style="buttontext">
|
|
<hyperlink also-hidden="false" description="${quoteId}" target="loadCartFromQuote">
|
|
<parameter param-name="quoteId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="quoteTypeId" title="${uiLabelMap.OrderOrderQuoteTypeId}">
|
|
<display-entity entity-name="QuoteType"/>
|
|
</field>
|
|
<field name="partyId" title="${uiLabelMap.PartyPartyId}"></field>
|
|
<field name="description" title="${uiLabelMap.CommonDescription}"></field>
|
|
<field name="issueDate" title="${uiLabelMap.OrderOrderQuoteIssueDate}"></field>
|
|
<field name="validFromDate" title="${uiLabelMap.CommonValidFromDate}"></field>
|
|
<field name="validThruDate" title="${uiLabelMap.CommonValidThruDate}"></field>
|
|
<field name="statusId"><hidden/></field>
|
|
<field name="currencyUomId"><hidden/></field>
|
|
</form>
|
|
<form name="ViewShoppingLists" type="list" list-name="customershoppinglists" target=""
|
|
default-title-style="tableheadtext" default-widget-style="tabletext">
|
|
<field name="listName" title="${uiLabelMap.PageTitleShoppingList}"><display/></field>
|
|
<field name="shoppingListTypeId" title="${uiLabelMap.OrderListType}">
|
|
<display-entity entity-name="ShoppingListType"/>
|
|
</field>
|
|
<field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
|
|
<field name="addFromList" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="addFromShoppingList" description="${uiLabelMap.OrderToAddSelectedItemsToShoppingList}" also-hidden="false">
|
|
<parameter param-name="shoppingListId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="addAllFromList" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="addAllFromShoppingList" description="${uiLabelMap.OrderQuickAdd}" also-hidden="false">
|
|
<parameter param-name="shoppingListId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="AddFromShoppingList" type="list" list-name="shoppinglistitems" target=""
|
|
default-title-style="tableheadtext" default-widget-style="tabletext">
|
|
<auto-fields-entity entity-name="ShoppingListItem" default-field-type="display"/>
|
|
<field name="productId" title="${uiLabelMap.ProductProduct}">
|
|
<display-entity entity-name="Product" description="${productId} - ${description}"/>
|
|
</field>
|
|
<field name="addToCart" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="additem/editShoppingList" description="${uiLabelMap.CommonAdd} ${quantity} ${uiLabelMap.OrderAddQntToOrder}" also-hidden="false">
|
|
<parameter param-name="shoppingListId"/>
|
|
<parameter param-name="shoppingListItemSeqId"/>
|
|
<parameter param-name="add_product_id" from-field="productId"/>
|
|
<parameter param-name="quantity"/>
|
|
<parameter param-name="configId"/>
|
|
</hyperlink>
|
|
</field>
|
|
</form>
|
|
<form name="AddFromShoppingListAll" type="single" target="">
|
|
<field name="addAllFromList" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="addAllFromShoppingList" description="${uiLabelMap.OrderQuickAdd}" also-hidden="false">
|
|
<parameter param-name="shoppingListId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="returnToOrderEntry" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
|
|
<hyperlink target="orderentry" description="${uiLabelMap.OrderOrderReturn}" also-hidden="false"/>
|
|
</field>
|
|
</form>
|
|
|
|
<form name="LookupBulkAddProducts" type="multi" use-row-submit="true" list-name="productList" title="" target="BulkAddProducts"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="LookupBulkAddProducts">
|
|
<field name="productId" title="${uiLabelMap.ProductProductId}" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="brandName" title="${uiLabelMap.ProductBrandName}"><display/></field>
|
|
<field name="internalName"><display/></field>
|
|
<field name="quantity" title="${uiLabelMap.OrderQuantity}">
|
|
<text size="5" maxlength="10"/>
|
|
</field>
|
|
<field name="amount" title="${uiLabelMap.OrderAmount}">
|
|
<text size="5" maxlength="10"/>
|
|
</field>
|
|
<field name="itemDesiredDeliveryDate" title="${uiLabelMap.OrderDesiredDeliveryDate}">
|
|
<date-time/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.OrderAddToOrder}" widget-style="smallSubmit">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
<form name="LookupBulkAddSupplierProducts" type="multi" use-row-submit="true" list-name="productList" title="" target="BulkAddProducts"
|
|
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" paginate-target="LookupBulkAddSupplierProducts" view-size="5">
|
|
<field name="productId" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems" target-type="inter-app">
|
|
<parameter param-name="productId"/>
|
|
</hyperlink>
|
|
</field>
|
|
<field name="supplierProductId"><display/></field>
|
|
<field name="supplierProductName"><display/></field>
|
|
<field name="internalName"><display/></field>
|
|
<field name="lastPrice"><display/></field>
|
|
<field name="minimumOrderQuantity"><display/></field>
|
|
<field name="minimumStock"><display/></field>
|
|
<field name="qohAtp" title="${uiLabelMap.ProductAtpQoh}"><display/></field>
|
|
<field name="quantityOnOrder"><display/></field>
|
|
<field name="quantity" title="${uiLabelMap.OrderQuantity}">
|
|
<text size="5" maxlength="10"/>
|
|
</field>
|
|
<field name="itemDesiredDeliveryDate" title="${uiLabelMap.OrderDesiredDeliveryDate}">
|
|
<date-time/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.OrderAddToOrder}" widget-style="smallSubmit">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
<form name="LookupAssociatedProducts" type="multi" use-row-submit="true" list-name="productList" title="" target="BulkAddProducts"
|
|
paginate-target="LookupAssociatedProducts" default-title-style="tableheadtext" default-widget-style="inputBox" default-tooltip-style="tabletext">
|
|
<field name="productId" title="${uiLabelMap.ProductProductId}" widget-style="buttontext">
|
|
<hyperlink description="${productId}" target="/catalog/control/EditProductInventoryItems?productId=${productId}" target-type="inter-app"/>
|
|
</field>
|
|
<field name="brandName" title="${uiLabelMap.ProductBrandName}"><display/></field>
|
|
<field name="internalName"><display/></field>
|
|
<field name="quantity" title="${uiLabelMap.OrderQuantity}">
|
|
<text size="5" maxlength="10"/>
|
|
</field>
|
|
<field name="amount" title="${uiLabelMap.OrderAmount}">
|
|
<text size="5" maxlength="10"/>
|
|
</field>
|
|
<field name="itemDesiredDeliveryDate" title="${uiLabelMap.OrderDesiredDeliveryDate}">
|
|
<date-time/>
|
|
</field>
|
|
<field name="submitButton" title="${uiLabelMap.OrderAddToOrder}" widget-style="smallSubmit">
|
|
<submit/>
|
|
</field>
|
|
</form>
|
|
|
|
</forms>
|