| <?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" |
| xmlns="http://ofbiz.apache.org/Widget-Screen" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Screen 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="CommonManufacturingDecorator" location="${parameters.commonManufacturingDecoratorLocation}"> |
| <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/template/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/groovyScripts/reports/CuttingListReport.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/reports/PRunsProductsByFeature.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/reports/PRunsProductsByFeature.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/reports/PRunsComponentsByFeature.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/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/template/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/groovyScripts/reports/PRunsProductsStacks.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/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/template/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/groovyScripts/reports/PRunsProductsAndOrder.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/reports/PRunsInfoAndOrder.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/reports/ShipmentPlanStockReport.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/reports/ShipmentLabel.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/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/groovyScripts/reports/ShipmentWorkEffortTasks.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/template/reports/ShipmentWorkEffortTasks.fo.ftl"/></xsl-fo> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| |
| </screens> |
| |