blob: 990703cb2487be5028fd154b47063b8c4862fadd [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<screen name="ManufacturingReports">
<section>
<actions>
<set field="titleProperty" value="ManufacturingReports"/>
<set field="headerItem" value="ManufacturingReports"/>
<set field="mrpName" from-field="parameters.mrpName"/>
</actions>
<widgets>
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.ManufacturingReports}">
<include-form name="SelectMrpName" location="component://manufacturing/widget/manufacturing/ProductionRunForms.xml"/>
<platform-specific>
<html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/MrpReports.ftl"/></html>
</platform-specific>
</screenlet>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="CuttingListReport">
<section>
<actions>
<set field="titlePropery" value="ManufacturingCuttingListReport"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/widget/manufacturing/CuttingListReport.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/CuttingListReport.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="MRPPRunsProductsByFeature">
<section>
<actions>
<set field="titleProperty" value="ManufacturingProductionRunComponentsByFeature"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="mrpName" from-field="parameters.mrpName"/>
<set field="planName" value="MRP_${mrpName}"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PRunsProductsByFeature.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/PRunsProductsByFeature.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="SPPRunsProductsByFeature">
<section>
<actions>
<set field="titleProperty" value="ManufacturingProductionRunComponentsByFeature"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<set field="planName" value="SP_${shipmentId}"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<entity-one entity-name="Shipment" value-field="shipment"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PRunsProductsByFeature.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/PRunsProductsByFeature.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="MRPPRunsComponentsByFeature">
<section>
<actions>
<set field="titleProperty" value="ManufacturingProductionRunComponentsByFeature"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<set field="mrpName" from-field="parameters.mrpName"/>
<set field="planName" value="MRP_${mrpName}"/>
<set field="showLocation" from-field="parameters.showLocation"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PRunsComponentsByFeature.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/PRunsComponentsByFeature.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="SPPRunsComponentsByFeature">
<section>
<actions>
<set field="titleProperty" value="ManufacturingProductionRunComponentsByFeature"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<set field="planName" value="SP_${shipmentId}"/>
<set field="showLocation" from-field="parameters.showLocation"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<entity-one entity-name="Shipment" value-field="shipment"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PRunsComponentsByFeature.groovy"/>
</actions>
<widgets>
<platform-specific>
<!-- NOTE: this is really generating XSL:FO, but the HTML oriented renderer should do fine, the screen will need to be called differently though to get binary output from it -->
<html><html-template location="component://manufacturing/webapp/manufacturing/reports/PRunsComponentsByFeature.fo.ftl"/></html>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="PRunsProductsStacks">
<section>
<actions>
<set field="titleProperty" value="ManufacturingProductsStacks"/>
<set field="mrpName" from-field="parameters.mrpName"/>
<set field="planName" value="MRP_${mrpName}"/>
<set field="stackQty" value="50" type="Integer"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PRunsProductsStacks.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/PRunsProductsStacks.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="PackageContentsAndOrder">
<section>
<actions>
<set field="titleProperty" value="ManufacturingPackageContentsAndOrder"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<set field="planName" value="SP_${shipmentId}"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<property-map resource="ManufacturingUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PackageContentsAndOrder.groovy"/>
</actions>
<widgets>
<platform-specific>
<!-- NOTE: this is really generating XSL:FO, but the HTML oriented renderer should do fine, the screen will need to be called differently though to get binary output from it -->
<html><html-template location="component://manufacturing/webapp/manufacturing/reports/PackageContentsAndOrder.fo.ftl"/></html>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="PRunsProductsAndOrder">
<section>
<actions>
<set field="titleProperty" value="ManufacturingPackageContentsAndOrder"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<set field="planName" value="SP_${shipmentId}"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PRunsProductsAndOrder.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/PRunsProductsAndOrder.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="PRunsInfoAndOrder">
<section>
<actions>
<set field="titleProperty" value="ManufacturingProductionRunInfoAndOrder"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<set field="planName" value="SP_${shipmentId}"/>
<set field="taskNamePar" from-field="parameters.taskNamePar"/>
<set field="productCategoryIdPar" from-field="parameters.productCategoryIdPar"/>
<set field="productFeatureTypeIdPar" from-field="parameters.productFeatureTypeIdPar"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/PRunsInfoAndOrder.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/PRunsInfoAndOrder.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="ShipmentPlanStockReport">
<section>
<actions>
<set field="titleProperty" value="ManufacturingShipmentPlanStockReport"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentPlanStockReport.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/ShipmentPlanStockReport.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="ShipmentLabel">
<section>
<actions>
<set field="titleProperty" value="ProductShippingLabel"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentLabel.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/ShipmentLabel.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
<screen name="ShipmentWorkEffortTasks">
<section>
<actions>
<set field="titleProperty" value="ManufacturingShipmentWorkEffortTasks"/>
<set field="shipmentId" from-field="parameters.shipmentId"/>
<property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="PartyUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/reports/ShipmentWorkEffortTasks.groovy"/>
</actions>
<widgets>
<platform-specific>
<xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/reports/ShipmentWorkEffortTasks.fo.ftl"/></xsl-fo>
</platform-specific>
</widgets>
</section>
</screen>
</screens>