| <?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"> |
| |
| <screen name="FindFacility"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ProductFindFacilities"/> |
| <set field="headerItem" value="facility"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/FindFacility.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <if-service-permission service-name="facilityGenericPermission" main-action="VIEW"/> |
| </condition> |
| <widgets> |
| <section> |
| <condition> |
| <if-compare field="showScreen" value="one" operator="equals"/> |
| </condition> |
| <actions> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/EditFacility.groovy"/> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <if-service-permission service-name="facilityGenericPermission" main-action="VIEW"/> |
| </condition> |
| <widgets> |
| <include-menu name="FacilityTabBar" location="component://product/widget/facility/Menus.xml"/> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/EditFacility.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.ProductFacilityViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <if-compare field="showScreen" value="ten" operator="equals"/> |
| </condition> |
| <widgets> |
| <label text="${uiLabelMap.FacilitySelection}" style="h1"/> |
| <section> |
| <condition> |
| <if-service-permission service-name="facilityGenericPermission" main-action="CREATE"/> |
| </condition> |
| <widgets> |
| <container style="button-bar"><link target="EditFacility" text="${uiLabelMap.ProductCreateNewFacility}" style="buttontext"/></container> |
| </widgets> |
| </section> |
| <include-form name="FindFacility10" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <if-compare field="showScreen" value="more" operator="equals"/> |
| </condition> |
| <widgets> |
| <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="menu-bar"> |
| <section> |
| <condition> |
| <if-service-permission service-name="facilityGenericPermission" main-action="CREATE"/> |
| </condition> |
| <widgets> |
| <container style="button-bar"><link target="EditFacility" text="${uiLabelMap.ProductCreateNewFacility}" style="buttontext"/></container> |
| </widgets> |
| </section> |
| </decorator-section> |
| <decorator-section name="search-options"> |
| <include-form name="FindFacilityOptions" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| <decorator-section name="search-results"> |
| <include-screen name="FacilitySearchResults"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.ProductFacilityViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="FacilitySearchResults"> |
| <section> |
| <condition> |
| <if-service-permission service-name="facilityGenericPermission" main-action="VIEW"/> |
| </condition> |
| <actions> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| </actions> |
| <widgets> |
| <include-form name="FindFacility" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditFacility"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ProductNewFacility"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="EditFacility"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/EditFacility.groovy"/> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <not><if-empty field="facility"/></not> |
| </condition> |
| <actions> |
| <set field="titleProperty" value="ProductEditFacility"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/EditFacility.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| <fail-widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/EditFacility.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </fail-widgets> |
| </section> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="FacilityChildren"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ProductFacilityChildren"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="FacilityChildren"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="trail" from-field="parameters.trail" default-value="${facilityId}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="h1"><label text="${uiLabelMap.ProductFacilityChildren}"/></container> |
| <include-tree location="component://product/widget/facility/FacilityTrees.xml" name="FacilityTree"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="FindFacilityTransfers"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFindFacilityTransfers"/> |
| <set field="tabButtonItem" value="FindFacilityTransfers"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/FindFacilityTransfers.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <label style="h3">${uiLabelMap.CommonView} </label> |
| <link target="FindFacilityTransfers" text="${uiLabelMap.ProductActiveOnly}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| <parameter param-name="activeOnly" value="true"/> |
| </link> |
| <link target="FindFacilityTransfers" text="${uiLabelMap.CommonAll}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| <parameter param-name="activeOnly" value="false"/> |
| </link> |
| </container> |
| <container> |
| <link target="FindFacilityTransfers" text="${uiLabelMap.ProductCompleteRequestedTransfers}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| <parameter param-name="completeRequested" value="true"/> |
| </link> |
| <link target="TransferInventoryItem" text="${uiLabelMap.ProductInventoryTransfer}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| </link> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ProductInventoryTransfersFor} ${facility.facilityName} [${uiLabelMap.CommonId}: ${facilityId}] ${uiLabelMap.CommonTo}: ${facility.facilityName} [${uiLabelMap.CommonId}: ${facilityId}]"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ToFacilityTransfers" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.CommonFrom}: ${facility.facilityName} [${uiLabelMap.CommonId}: ${facilityId}]"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <condition> |
| <if-compare field="parameters.completeRequested" operator="equals" value="true"/> |
| </condition> |
| <widgets> |
| <include-form name="FromFacilityTransfersComplete" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| <fail-widgets> |
| <include-form name="FromFacilityTransfers" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </fail-widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="FindFacilityLocation"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="FindFacilityLocation"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/FindFacilityLocation.groovy"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleFindFacilityLocation}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/FindFacilityLocation.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditFacilityLocation"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="FindFacilityLocation"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/EditFacilityLocation.groovy"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleNewFacilityLocation}"/> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <not><if-empty field="locationSeqId"/></not> |
| </condition> |
| <actions> |
| <set field="title" value="${uiLabelMap.PageTitleEditFacilityLocation}"/> |
| </actions> |
| <widgets/> |
| </section> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/EditFacilityLocation.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditFacilityInventoryItems"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="EditFacilityInventoryItems"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleEditFacilityInventoryItems}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="menu-bar"> |
| <container style="button-bar"> |
| <link target="EditFacility" text="${uiLabelMap.ProductNewFacility}" style="buttontext"/> |
| <link target="EditInventoryItem" text="${uiLabelMap.ProductNewInventoryItem}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="parameters.facilityId"/> |
| </link> |
| <link target="SearchInventoryItemsByLabels" text="${uiLabelMap.ProductSearchInventoryItemsByLabels}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="parameters.facilityId"/> |
| </link> |
| </container> |
| </decorator-section> |
| <decorator-section name="search-options"> |
| <include-form name="SearchInventoryItemsParams" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| <decorator-section name="search-results"> |
| <include-form name="ListFacilityInventoryItems" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="SearchInventoryItemsByLabels"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleSearchInventoryItemsByLabels"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="EditFacilityInventoryItems"/> |
| |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/> |
| |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <entity-condition entity-name="InventoryItemLabelType" list="labelTypes"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/FindInventoryItemsByLabels.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <label style="h1">${uiLabelMap.ProductInventoryItemsFor} ${facility.facilityName} [${uiLabelMap.CommonId}:${facility.facilityId}]</label> |
| </container> |
| <container> |
| <link target="EditFacility" text="${uiLabelMap.ProductNewFacility}" style="buttontext"/> |
| <link target="EditInventoryItem" text="${uiLabelMap.ProductCreateNewInventoryItemFacility}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="parameters.facilityId"/> |
| </link> |
| <link target="EditFacilityInventoryItems" text="${uiLabelMap.ProductInventoryItems}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="parameters.facilityId"/> |
| </link> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ProductSearchInventoryItemsByLabels}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/searchInventoryItemsByLabelsForm.ftl"/></html> |
| </platform-specific> |
| <include-form name="ListFacilityInventoryItemsNoLocations" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ViewFacilityInventoryByProduct"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="ViewFacilityInventoryByProduct"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE"/> |
| <!-- This is the target of the search form--> |
| <set field="facilityInventoryByProductScreen" value="ViewFacilityInventoryByProduct"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="productTypeId" from-field="parameters.productTypeId"/> |
| <set field="searchInProductCategoryId" from-field="parameters.searchInProductCategoryId"/> |
| <set field="productSupplierId" from-field="parameters.productSupplierId"/> |
| <set field="offsetQOHQty" from-field="parameters.offsetQOHQty"/> |
| <set field="offsetATPQty" from-field="parameters.offsetATPQty"/> |
| <set field="productsSoldThruTimestamp" from-field="parameters.productsSoldThruTimestamp" type="Timestamp"/> |
| <set field="internalName" from-field="parameters.internalName"/> |
| <set field="productId" from-field="parameters.productId"/> |
| <set field="statusId" from-field="parameters.statusId"/> |
| <!-- do not use the CountFacilityInventoryByProduct.groovy script unless the issues mentioned in it are correctly addressed --> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/ViewFacilityInventoryByProduct.groovy"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleFindFacilityInventoryItems}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <decorator-screen name="FindScreenDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="menu-bar"> |
| <container style="button-bar"> |
| <!--<link target="ViewFacilityInventoryByProductSimple" text="${uiLabelMap.CommonPrint}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| </link>--> |
| <link target="ViewFacilityInventoryByProductReport?${searchParameterString}" text="${uiLabelMap.CommonPrint}" style="buttontext"/> |
| <link target="ViewFacilityInventoryByProductExport?${searchParameterString}" text="${uiLabelMap.CommonExport}" style="buttontext"/> |
| <link target="InventoryItemTotals" text="${uiLabelMap.ProductInventoryItemTotals}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| <parameter param-name="action" value="Y"/> |
| </link> |
| <link target="InventoryItemGrandTotals" text="${uiLabelMap.ProductInventoryItemGrandTotals}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| <parameter param-name="action" value="Y"/> |
| </link> |
| <link target="InventoryItemTotalsExport.csv" text="${uiLabelMap.ProductInventoryItemTotalsExport}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| <parameter param-name="action" value="Y"/> |
| </link> |
| <link target="InventoryAverageCosts" text="${uiLabelMap.ProductInventoryAverageCosts}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| </link> |
| </container> |
| </decorator-section> |
| <decorator-section name="search-options"> |
| <include-form name="FindFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| <decorator-section name="search-results"> |
| <include-form name="ListFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ViewFacilityInventoryByProductSimple"> |
| <section> |
| <actions> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| |
| <set field="layoutSettings.companyName" from-field="uiLabelMap.FacilityCompanyName" global="true"/> |
| <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.FacilityCompanySubtitle" global="true"/> |
| |
| <!-- This is the target of the search form--> |
| <set field="facilityInventoryByProductScreen" value="ViewFacilityInventoryByProductSimple"/> |
| |
| <set field="titleProperty" value="PageTitleEditFacilityInventoryItems"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="500"/> |
| |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="productTypeId" from-field="parameters.productTypeId"/> |
| <set field="searchInProductCategoryId" from-field="parameters.searchInProductCategoryId"/> |
| <set field="productSupplierId" from-field="parameters.productSupplierId"/> |
| <set field="offsetQOHQty" from-field="parameters.offsetQOHQty"/> |
| <set field="offsetATPQty" from-field="parameters.offsetATPQty"/> |
| <set field="productsSoldThruTimestamp" from-field="parameters.productsSoldThruTimestamp" type="Timestamp"/> |
| <set field="internalName" from-field="parameters.internalName"/> |
| <set field="productId" from-field="parameters.productId"/> |
| |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/CountFacilityInventoryByProduct.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SimpleDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="body"> |
| |
| <container> |
| <label style="h1">${uiLabelMap.PageTitleEditFacilityInventoryItems} ${uiLabelMap.CommonFor}:</label> |
| <label style="h2">${facility.facilityName} [${uiLabelMap.CommonId}:${facilityId}]</label> |
| </container> |
| <container> |
| <link target="ViewFacilityInventoryByProduct" text="${uiLabelMap.CommonBack}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| </link> |
| </container> |
| |
| <include-form name="FindFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| <include-form name="ListFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ViewFacilityInventoryByProductReport"> |
| <section> |
| <actions> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| <set field="pageLayoutName" value="simple-landscape"/> |
| <set field="titleProperty" value="PageTitleEditFacilityInventoryItems"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="200"/> |
| |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="productTypeId" from-field="parameters.productTypeId"/> |
| <set field="searchInProductCategoryId" from-field="parameters.searchInProductCategoryId"/> |
| <set field="productSupplierId" from-field="parameters.productSupplierId"/> |
| <set field="offsetQOHQty" from-field="parameters.offsetQOHQty"/> |
| <set field="offsetATPQty" from-field="parameters.offsetATPQty"/> |
| <set field="productsSoldThruTimestamp" from-field="parameters.productsSoldThruTimestamp" type="Timestamp"/> |
| <set field="internalName" from-field="parameters.internalName"/> |
| <set field="productId" from-field="parameters.productId"/> |
| |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/CountFacilityInventoryByProduct.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SimpleDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="body"> |
| <include-form name="FindFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| <include-form name="ListFacilityInventoryByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ViewFacilityInventoryItemsDetails"> |
| <section> |
| <actions> |
| <property-map resource="WorkEffortUiLabels" map-name="uiLabelMap"/> |
| <set field="titleProperty" value="PageTitleViewFacilityInventoryItemsDetails"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="ViewFacilityInventoryItemsDetails"/> |
| |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/> |
| |
| <entity-one entity-name="Facility" value-field="facility"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container> |
| <label style="h1">${uiLabelMap.ProductInventoryItemsDetailsFor} ${facility.facilityName} [${uiLabelMap.CommonId}:${facility.facilityId}]</label> |
| </container> |
| <container> |
| <link target="EditFacility" text="${uiLabelMap.ProductNewFacility}" style="buttontext"/> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitleViewFacilityInventoryItemsDetails}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="SearchInventoryItemsDetailsParams" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <section> |
| <condition> |
| <if-compare field="parameters.reportType" operator="equals" value="BY_ITEM"/> |
| </condition> |
| <widgets> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitleViewFacilityInventoryItemsDetails}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListFacilityInventoryItemsDetailsByItem" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <if-compare field="parameters.reportType" operator="equals" value="BY_PRODUCT"/> |
| </condition> |
| <widgets> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitleViewFacilityInventoryItemsDetails}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListFacilityInventoryItemsDetailsByProduct" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <if-compare field="parameters.reportType" operator="equals" value="BY_DATE"/> |
| </condition> |
| <widgets> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitleViewFacilityInventoryItemsDetails}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListFacilityInventoryItemsDetailsByDate" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="InventoryItemTotals"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditFacilityInventoryItems"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="ViewFacilityInventoryByProduct"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/> |
| |
| <entity-one entity-name="Facility" value-field="facility" use-cache="true"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/InventoryItemTotals.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ProductInventoryItemTotals} ${uiLabelMap.CommonFor} ${facility.facilityName}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListInventoryItemTotals" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="InventoryItemGrandTotals"> |
| <section> |
| <actions> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="ViewFacilityInventoryByProduct"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <entity-one entity-name="Facility" value-field="facility" use-cache="true"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/InventoryItemTotals.groovy"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleInventoryItemGrandTotals}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="h1"> |
| <label text="${title}"/> |
| </container> |
| <include-form name="ListInventoryItemGrandTotals" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="InventoryItemTotalsExport"> |
| <section> |
| <actions> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer" default-value="0"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="10000"/> |
| |
| <entity-one entity-name="Facility" value-field="facility" use-cache="true"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/InventoryItemTotals.groovy"/> |
| </actions> |
| <widgets> |
| <container> |
| <label style="h2" text="${uiLabelMap.ProductInventoryItemTotals} ${uiLabelMap.CommonFor} ${facility.facilityName}"/> |
| </container> |
| <include-form name="InventoryItemTotalsExport" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| <container> |
| <label style="h2" text="${uiLabelMap.ProductInventoryItemGrandTotals} ${uiLabelMap.CommonFor} ${facility.facilityName}"/> |
| </container> |
| <include-form name="InventoryItemGrandTotalsExport" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="InventoryAverageCosts"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditFacilityInventoryItems"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="ViewFacilityInventoryByProduct"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| |
| <entity-one entity-name="Facility" value-field="facility" use-cache="true"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/InventoryAverageCosts.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ProductInventoryAverageCosts} ${uiLabelMap.CommonFor} ${facility.facilityName}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <include-form name="ListInventoryAverageCosts" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditFacilityGroups"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="EditFacilityGroups"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="facilityGroupId" from-field="parameters.facilityGroupId"/> |
| <set field="orderByList[]" value="sequenceNum"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <get-related value-field="facility" relation-name="FacilityGroupMember" list="facilityGroupMembers" order-by-list="orderByList"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleEditFacilityGroups}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="h1"> |
| <label>${title}</label> |
| </container> |
| <container style="button-bar"> |
| <link target="EditFacility" text="${uiLabelMap.ProductNewFacility}" style="buttontext"/> |
| </container> |
| <screenlet id="add-facility-group-member" title="${uiLabelMap.ProductAddFacilityGroupMember}" collapsible="true"> |
| <include-form name="addGroupToFacility" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </screenlet> |
| <include-form name="EditFacilityGroups" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditFacilityParties"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="EditFacilityParties"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="partyId" from-field="parameters.partyId"/> |
| <set field="roleTypeId" from-field="parameters.roleTypeId"/> |
| <set field="orderByList[]" value="partyId"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <get-related value-field="facility" relation-name="FacilityParty" list="facilityParties" order-by-list="orderByList"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleEditFacilityParties}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="h1"> |
| <label>${title}</label> |
| </container> |
| <container style="button-bar"> |
| <link target="EditFacility" text="${uiLabelMap.ProductNewFacility}" style="buttontext"/> |
| </container> |
| <screenlet id="add-facility-party-role" title="${uiLabelMap.ProductAddFacilityPartyRole}" collapsible="true"> |
| <include-form name="AddPartyToFacility" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </screenlet> |
| <include-form name="EditFacilityParties" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ViewContactMechs"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="ViewContactMechs"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/ViewContactMechs.groovy"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleViewFacilityContactMechanism}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/ViewContactMechs.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditContactMech"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="ViewContactMechs"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/EditContactMech.groovy"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleNewFacilityContactMech}"/> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <not><if-empty field="parameters.contactMechId"/></not> |
| </condition> |
| <actions> |
| <set field="title" value="${uiLabelMap.PageTitleEditFacilityContactMech}"/> |
| </actions> |
| <widgets/> |
| </section> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/EditContactMech.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="EditInventoryItem"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditInventoryItem"/> |
| <set field="tabButtonItem" value="EditFacilityInventoryItems"/> |
| <set field="subTabButtonItem" value="EditInventoryItem"/> |
| <set field="displayWithNoFacility" value="Y"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="inventoryItemId" from-field="parameters.inventoryItemId"/> |
| |
| <entity-one entity-name="Facility" value-field="facility" auto-field-map="true"/> |
| <entity-one entity-name="InventoryItem" value-field="inventoryItem" auto-field-map="true"/> |
| <entity-condition entity-name="OrderItemShipGrpInvRes" list="inventoryItemReservations"> |
| <condition-list combine="and"> |
| <condition-expr field-name="inventoryItemId" operator="equals" from-field="inventoryItemId"/> |
| </condition-list> |
| <order-by field-name="reservedDatetime"/> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <and> |
| <not> |
| <if-empty field="inventoryItem"/> |
| </not> |
| <if-empty field="facility"/> |
| </and> |
| </condition> |
| <actions> |
| <set field="parameters.facilityId" from-field="inventoryItem.facilityId"/> |
| <set field="facilityId" from-field="inventoryItem.facilityId"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| </actions> |
| <widgets/> |
| </section> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <condition> |
| <not><if-empty field="inventoryItem"/></not> |
| </condition> |
| <widgets> |
| <include-menu name="InventoryItemTabBar" location="component://product/widget/facility/Menus.xml"/> |
| <container style="h1"> |
| <label text="${uiLabelMap.PageTitleEditInventoryItem}"/> |
| </container> |
| <container style="widget-container"> |
| <link target="EditInventoryItem" text="${uiLabelMap.ProductNewInventoryItem}" style="buttontext"> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| </link> |
| <link target="TransferInventoryItem" text="${uiLabelMap.ProductTransferItem}" style="buttontext"> |
| <parameter param-name="inventoryItemId" from-field="inventoryItemId"/> |
| <parameter param-name="facilityId" from-field="facilityId"/> |
| </link> |
| </container> |
| </widgets> |
| <fail-widgets> |
| <container style="h1"> |
| <label text="${uiLabelMap.ProductNewInventoryItem}"/> |
| </container> |
| </fail-widgets> |
| </section> |
| <include-form name="EditInventoryItem" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| <section> |
| <condition> |
| <not><if-empty field="inventoryItemId"/></not> |
| </condition> |
| <widgets> |
| <screenlet id="inventory-item-reservations" title="${uiLabelMap.ProductInventoryItemReservations}" collapsible="true"> |
| <include-form name="InventoryItemReservations" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| </screenlet> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <if-compare field="inventoryItem.inventoryItemTypeId" operator="equals" value="NON_SERIAL_INV_ITEM"/> |
| </condition> |
| <actions> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/PhysicalInventoryVariance.groovy"/> |
| </actions> |
| <widgets> |
| <screenlet id="physical-inventory-variances" title="${uiLabelMap.ProductPhysicalInventoryVariances}" collapsible="true"> |
| <include-form name="CreatePhysicalInventoryAndVariance" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| <include-form name="ViewPhysicalInventoryAndVariance" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| </screenlet> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ViewInventoryItemDetail"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditInventoryItem"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="EditFacilityInventoryItems"/> |
| <set field="subTabButtonItem" value="ViewInventoryItemDetail"/> |
| |
| <set field="inventoryItemId" from-field="parameters.inventoryItemId"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| |
| <entity-condition entity-name="InventoryItemDetail" list="inventoryItemDetails"> |
| <condition-list combine="and"> |
| <condition-expr field-name="inventoryItemId" operator="equals" from-field="inventoryItemId"/> |
| </condition-list> |
| <order-by field-name="-inventoryItemDetailSeqId"/> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-menu name="InventoryItemTabBar" location="component://product/widget/facility/Menus.xml"/> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ProductInventoryDetails} ${uiLabelMap.CommonFor} [${inventoryItemId}]"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListInventoryItemDetail" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ProductShipmentReceiptsFor} [${inventoryItemId}]"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ViewInventoryItemShipmentReceipts" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditInventoryItemLabels"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleEditInventoryItemLabels"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="EditFacilityInventoryItems"/> |
| <set field="subTabButtonItem" value="EditInventoryItemLabels"/> |
| |
| <set field="inventoryItemId" from-field="parameters.inventoryItemId"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| |
| <entity-condition entity-name="InventoryItemLabelAppl" list="inventoryItemLabelAppls"> |
| <condition-list combine="and"> |
| <condition-expr field-name="inventoryItemId" operator="equals" from-field="inventoryItemId"/> |
| </condition-list> |
| <order-by field-name="sequenceNum"/> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <include-menu name="InventoryItemTabBar" location="component://product/widget/facility/Menus.xml"/> |
| <screenlet id="AddInventoryItemLabelPanel" title="${uiLabelMap.ProductInventoryItemLabels} ${uiLabelMap.CommonFor} [${inventoryItemId}]" collapsible="true"> |
| <include-form name="AddInventoryItemLabelAppl" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| </screenlet> |
| <include-form name="UpdateInventoryItemLabelAppls" location="component://product/webapp/facility/inventory/InventoryForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="FindFacilityPhysicalInventory"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFindFacilityPhysicalInventory"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="PhysicalInventory"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/FindFacilityPhysicalInventory.groovy"/> |
| |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitleFindFacilityPhysicalInventory}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="FindPhysicalInventory" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitleFindFacilityPhysicalInventory}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListPhysicalInventory" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="TransferInventoryItem"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="FindFacilityTransfers"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/TransferInventoryItem.groovy"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.PageTitleTransferInventoryItem}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/inventory/TransferInventoryItem.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="ReceiveInventory"> |
| <section> |
| <actions> |
| <set field="tabButtonItem" value="ReceiveInventory"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/inventory/ReceiveInventory.groovy"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap"/> |
| <set field="title" value="${uiLabelMap.ProductReceiveInventory}"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/inventory/receiveInventory.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ReceiveReturn"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ProductReceiveReturn"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="ReceiveReturn"/> |
| |
| <script location="component://product/webapp/facility/WEB-INF/actions/returns/ReceiveReturn.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/returns/receiveReturn.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="PicklistOptions"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitlePickListOptions"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="PicklistOptions"/> |
| |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <set field="groupByShippingMethod" from-field="parameters.groupByShippingMethod"/> |
| <set field="groupByWarehouseArea" from-field="parameters.groupByWarehouseArea"/> |
| <set field="groupByNoOfOrderItems" from-field="parameters.groupByNoOfOrderItems"/> |
| <service service-name="findOrdersToPickMove"> |
| <field-map field-name="facilityId"/> |
| <field-map field-name="groupByShippingMethod"/> |
| <field-map field-name="groupByWarehouseArea"/> |
| <field-map field-name="groupByNoOfOrderItems"/> |
| </service> |
| |
| <entity-condition entity-name="Picklist" list="picklistActiveList"> |
| <condition-list combine="and"> |
| <condition-expr field-name="facilityId" operator="equals" from-field="parameters.facilityId"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="PICKLIST_PICKED"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="PICKLIST_PACKED"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="PICKLIST_CANCELLED"/> |
| </condition-list> |
| <order-by field-name="picklistDate"/> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/PicklistOptions.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="PrintPickSheets.fo"> |
| <section> |
| <actions> |
| <property-map resource="OrderUiLabels" 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="facilityId" from-field="parameters.facilityId"/> |
| <set field="pickMoveInfoList" from-field="parameters.pickMoveInfoList"/> |
| <script location="component://order/webapp/ordermgr/WEB-INF/actions/order/CompanyHeader.groovy"/> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <not><if-empty field="pickMoveInfoList"/></not> |
| </condition> |
| <actions> |
| <script location="component://product/webapp/facility/WEB-INF/actions/shipment/PrintPickSheets.groovy"/> |
| </actions> |
| <widgets> |
| <section> |
| <condition> |
| <not><if-empty field="orderHeaderList"/></not> |
| </condition> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://product/webapp/facility/facility/PrintPickSheets.fo.ftl"/></xsl-fo> |
| </platform-specific> |
| </widgets> |
| <fail-widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://product/webapp/facility/facility/NotReadyToPick.fo.ftl"/></xsl-fo> |
| </platform-specific> |
| </fail-widgets> |
| </section> |
| </widgets> |
| <fail-widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://product/webapp/facility/facility/NotReadyToPick.fo.ftl"/></xsl-fo> |
| </platform-specific> |
| </fail-widgets> |
| </section> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ReviewOrdersNotPickedOrPacked"> |
| <section> |
| <actions> |
| <script location="component://product/webapp/facility/WEB-INF/actions/shipment/ReviewOrdersNotPickedOrPacked.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/ReviewOrdersNotPickedOrPacked.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="PicklistManage"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitlePickListOptions"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="PicklistManage"/> |
| |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <service service-name="getPicklistDisplayInfo"> |
| <field-map field-name="facilityId"/> |
| </service> |
| |
| <entity-condition entity-name="PartyRoleAndPartyDetail" list="partyRoleAndPartyDetailList" use-cache="true"> |
| <condition-expr field-name="roleTypeId" value="PICKER"/> |
| </entity-condition> |
| <entity-condition entity-name="Picklist" list="picklistActiveList"> |
| <condition-list combine="and"> |
| <condition-expr field-name="facilityId" operator="equals" from-field="parameters.facilityId"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="PICKLIST_PICKED"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="PICKLIST_PACKED"/> |
| <condition-expr field-name="statusId" operator="not-equals" value="PICKLIST_CANCELLED"/> |
| </condition-list> |
| <order-by field-name="picklistDate"/> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/PicklistManage.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="PickMoveStock"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitlePickingMoveStock"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="PickMoveStock"/> |
| |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <service service-name="findStockMovesNeeded"> |
| <field-map field-name="facilityId"/> |
| </service> |
| <set field="oiirWarningMessageList" from-field="warningMessageList"/> |
| <service service-name="findStockMovesRecommended"> |
| <field-map field-name="facilityId"/> |
| <field-map field-name="stockMoveHandled"/> |
| </service> |
| <set field="pflWarningMessageList" from-field="warningMessageList"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/PickMoveStock.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="PickMoveStockSimple"> |
| <section> |
| <actions> |
| <property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> |
| |
| <set field="layoutSettings.companyName" from-field="uiLabelMap.FacilityCompanyName" global="true"/> |
| <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.FacilityCompanySubtitle" global="true"/> |
| |
| <set field="titleProperty" value="PageTitlePickingMoveStock"/> |
| |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| <service service-name="findStockMovesNeeded"> |
| <field-map field-name="facilityId"/> |
| </service> |
| <set field="oiirWarningMessageList" from-field="warningMessageList"/> |
| <service service-name="findStockMovesRecommended"> |
| <field-map field-name="facilityId"/> |
| <field-map field-name="stockMoveHandled"/> |
| </service> |
| <set field="pflWarningMessageList" from-field="warningMessageList"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="SimpleDecorator" location="component://common/widget/CommonScreens.xml"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/PickMoveStock.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="PicklistReport.fo"> |
| <section> |
| <actions> |
| <!-- base/top/specific map first, then more common map added for shared labels --> |
| <property-map resource="OrderUiLabels" 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="picklistId" from-field="parameters.picklistId"/> |
| <service service-name="getPickAndPackReportInfo"> |
| <field-map field-name="picklistId"/> |
| </service> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://product/webapp/facility/facility/Picklist.fo.ftl"/></xsl-fo> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- generates the subtab of [Scheduling] using FacilityScheduleTabBar --> |
| <screen name="CommonFacilityScheduleDecorator"> |
| <section> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.commonFacilityDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/FacilityScheduleTabBar.ftl"/></html> |
| </platform-specific> |
| <decorator-section-include name="schedule-body"/> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- Subscreen of [Scheduling] for weighting and scheduling a route segment --> |
| <screen name="ScheduleShipmentRouteSegment"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitlePackageShipmentScheduling"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="Scheduling"/> |
| <set field="scheduleTabButtonItem" value="ScheduleTabButton"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| |
| <!-- get ShipmentRouteSegmentDetails that are PACKED and not CONFIRMED with carrier --> |
| <entity-condition entity-name="ShipmentRouteSegmentDetail" list="shipmentRouteSegments"> |
| <condition-list combine="and"> |
| <condition-expr field-name="originFacilityId" operator="equals" from-field="parameters.facilityId"/> |
| <condition-expr field-name="statusId" operator="equals" value="SHIPMENT_PACKED"/> |
| <condition-expr field-name="carrierServiceStatusId" operator="equals" value="SHRSCS_NOT_STARTED"/> |
| </condition-list> |
| <order-by field-name="shipmentId DESC"/> |
| </entity-condition> |
| |
| <!-- get the default facility Uom --> |
| <entity-one entity-name="Facility" value-field="facility"/> |
| <entity-one entity-name="Uom" value-field="defaultWeightUom" use-cache="true" auto-field-map="false"> |
| <field-map from-field="facility.defaultWeightUomId" field-name="uomId"/> |
| </entity-one> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityScheduleDecorator"> |
| <decorator-section name="schedule-body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitlePackageShipmentScheduling}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="SchedulingList" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- Subscreen of [Scheduling] for listing labels ready to be printed --> |
| <screen name="Labels"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleLabelPrinting"/> |
| <set field="headerItem" value="facility"/> |
| <set field="tabButtonItem" value="Scheduling"/> |
| <set field="scheduleTabButtonItem" value="LabelsTabButton"/> |
| <set field="facilityId" from-field="parameters.facilityId"/> |
| |
| <!-- get all carrier CONFIRMED ShipmentPackageRouteDetails --> |
| <entity-condition entity-name="ShipmentPackageRouteDetail" list="shipmentPackageRouteSegments"> |
| <condition-list combine="and"> |
| <condition-expr field-name="labelPrinted" operator="not-equals" value="Y"/> |
| <condition-expr field-name="carrierServiceStatusId" operator="equals" value="SHRSCS_CONFIRMED"/> |
| </condition-list> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityScheduleDecorator"> |
| <decorator-section name="schedule-body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.PageTitleLabelPrinting}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="Labels" location="component://product/webapp/facility/facility/FacilityForms.xml"/> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/batchPrintMarkAsAccepted.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| <!-- Generates a PDF of selected Labels for batch printing --> |
| <screen name="BatchPrintShippingLabels"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://product/webapp/facility/facility/batchPrintShippingLabels.fo.ftl"/></xsl-fo> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| <screen name="FacilityLocationGeoLocation"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="PageTitleFacilityLocationGeoLocation"/> |
| <script location="component://product/webapp/facility/WEB-INF/actions/facility/FacilityLocationGeoLocation.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonFacilityDecorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://product/webapp/facility/facility/FacilityLocationGeoLocation.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| |
| </screens> |