| <?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="CommonJobshopDecorator"> |
| <section> |
| <actions> |
| <!-- <set field="leftbarScreenName" value="leftbar"/> --> |
| <!-- <set field="leftbarScreenLocation" value=""/> --> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <section> |
| <!-- do check for MANUFACTURING, _VIEW permission --> |
| <condition> |
| <if-has-permission permission="MANUFACTURING" action="_VIEW"/> |
| </condition> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunTabBar.ftl"/></html> |
| </platform-specific> |
| <container> |
| <label style="h1">[${uiLabelMap.CommonId} ${productionRunId}]</label> |
| </container> |
| <container> |
| <link target="CreateProductionRun" text="${uiLabelMap.ManufacturingCreateProductionRun}" style="buttontext"/> |
| </container> |
| <decorator-section-include name="body"/> |
| </widgets> |
| <fail-widgets> |
| <label style="h3">${uiLabelMap.ManufacturingViewPermissionError}</label> |
| </fail-widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="CreateProductionRun"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingCreateProductionRun"/> |
| <set field="headerItem" value="jobshop"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingCreateProductionRun}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="CreateProductionRun" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"></include-form> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="EditProductionRun"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingEditProductionRun"/> |
| <set field="tabButtonItem" value="edit"/> |
| <set field="headerItem" value="jobshop"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="500"/> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ViewProductionRun.groovy"/> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/productionRunAllFixedAssets.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <container> |
| <link target="PrintProductionRun?productionRunId=${productionRunId}" text="${uiLabelMap.CommonPrint}" style="buttontext"/> |
| <link target="scheduleProductionRun?productionRunId=${productionRunId}&statusId=PRUN_SCHEDULED" text="${uiLabelMap.ManufacturingSchedule}" style="buttontext"/> |
| <link target="changeProductionRunStatusToPrinted?productionRunId=${productionRunId}" text="${uiLabelMap.ManufacturingConfirmProductionRun}" style="buttontext"/> |
| <link target="quickChangeProductionRunStatus?productionRunId=${productionRunId}&statusId=PRUN_COMPLETED" text="${uiLabelMap.ManufacturingQuickComplete}" style="buttontext"/> |
| <link target="quickChangeProductionRunStatus?productionRunId=${productionRunId}&statusId=PRUN_CLOSED" text="${uiLabelMap.ManufacturingQuickClose}" style="buttontext"/> |
| <link target="cancelProductionRun?productionRunId=${productionRunId}" text="${uiLabelMap.ManufacturingCancel}" style="buttontext"/> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingProductionRunId} ${productionRunId}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="UpdateProductionRun" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/associatedProductionRuns.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingOrderItems}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunOrderItems" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingListOfProductionRunRoutingTasks}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ViewListProductionRunRoutingTasks" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingMaterials}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunComponents" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingListOfProductionRunFixedAssets}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunTaskFixedAssets" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingListOfProductionRunNotes}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunNotes" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunDeclaration"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingProductionRunDeclaration"/> |
| <set field="tabButtonItem" value="declaration"/> |
| <!--<set field="labelTitleProperty" value="ProductProductBom"/>--> |
| <set field="headerItem" value="jobshop"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="500"/> |
| |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy"/> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/productionRunAllFixedAssets.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <container> |
| <link target="PrintProductionRun?productionRunId=${productionRunId}" text="${uiLabelMap.CommonPrint}" style="buttontext"/> |
| <section> |
| <condition> |
| <if-compare field-name="productionRun.currentStatusId" operator="equals" value="PRUN_COMPLETED"/> |
| </condition> |
| <widgets> |
| <link target="changeProductionRunStatusToClosed?productionRunId=${productionRunId}" text="${uiLabelMap.ManufacturingProductionRunClose}" style="buttontext"/> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <and> |
| <if-compare field-name="productionRun.currentStatusId" operator="not-equals" value="PRUN_CANCELLED"/> |
| <if-compare field-name="productionRun.currentStatusId" operator="not-equals" value="PRUN_COMPLETED"/> |
| <if-compare field-name="productionRun.currentStatusId" operator="not-equals" value="PRUN_CLOSED"/> |
| </and> |
| </condition> |
| <widgets> |
| <link target="quickStartAllProductionRunTasks?productionRunId=${productionRunId}" text="${uiLabelMap.ManufacturingQuickStartAllTasks}" style="buttontext"/> |
| <link target="quickRunAllProductionRunTasks?productionRunId=${productionRunId}" text="${uiLabelMap.ManufacturingQuickRunAllTasks}" style="buttontext"/> |
| <link target="quickChangeProductionRunStatus?productionRunId=${productionRunId}&statusId=PRUN_COMPLETED" text="${uiLabelMap.ManufacturingQuickComplete}" style="buttontext"/> |
| <link target="quickChangeProductionRunStatus?productionRunId=${productionRunId}&statusId=PRUN_CLOSED" text="${uiLabelMap.ManufacturingQuickClose}" style="buttontext"/> |
| <link target="cancelProductionRun?productionRunId=${productionRunId}" text="${uiLabelMap.ManufacturingCancel}" style="buttontext"/> |
| </widgets> |
| </section> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingProductionRunId} ${productionRunId}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ShowProductionRun" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <section> |
| <condition> |
| <if-compare field-name="canProduce" operator="equals" value="Y"/> |
| </condition> |
| <widgets> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingProductionRunProduce}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ProductionRunProduce" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </widgets> |
| </section> |
| <section> |
| <condition> |
| <if-compare field-name="canDeclareAndProduce" operator="equals" value="Y"/> |
| </condition> |
| <widgets> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingProductionRunDeclareAndProduce}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ProductionRunDeclareAndProduceTop" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| <include-form name="ProductionRunDeclareAndProduceBottom" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </widgets> |
| </section> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingAssociatedProductionRuns}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/associatedProductionRuns.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingInventoryItemsProduced}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunInventoryItems" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingOrderItems}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunOrderItems" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingListOfProductionRunRoutingTasks}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunDeclRoutingTasks" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingProductionRunDeclaration}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunDeclaration.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingMaterialsRequiredByRunningTask}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListIssueProductionRunDeclComponents" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingReturnMaterials}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListReturnProductionRunDeclComponents" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingListOfProductionRunFixedAssets}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="ListProductionRunTaskFixedAssets" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunPdf"> |
| <section> |
| <actions> |
| <property-map resource="ManufacturingReportsUiLabels" map-name="uiLabelMap" global="true"/> |
| <property-map resource="ManufacturingUiLabels" 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="titleProperty" value="ProductionRunReport"/> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunDeclaration.groovy"/> |
| </actions> |
| <widgets> |
| <platform-specific> |
| <xsl-fo><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRun.fo.ftl"/></xsl-fo> |
| </platform-specific> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunAssocs"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingProductionRunAssocs"/> |
| <set field="tabButtonItem" value="assocs"/> |
| <!--<set field="labelTitleProperty" value="ProductProductBom"/>--> |
| <set field="headerItem" value="jobshop"/> |
| |
| <set field="productionRunId" from-field="parameters.productionRunId"/> |
| <entity-one entity-name="WorkEffort" value-name="productionRun"> |
| <field-map field-name="workEffortId" env-name="productionRunId"/> |
| </entity-one> |
| <!-- Find all the work efforts that must be completed before this one. --> |
| <entity-condition entity-name="WorkEffortAssoc" list-name="mandatoryWorkEfforts"> |
| <condition-list> |
| <condition-expr field-name="workEffortIdTo" env-name="productionRunId"/> |
| <condition-expr field-name="workEffortAssocTypeId" value="WORK_EFF_PRECEDENCY"/> |
| </condition-list> |
| </entity-condition> |
| <!-- Find all the work efforts that are dependent from this one. --> |
| <entity-condition entity-name="WorkEffortAssoc" list-name="dependentWorkEfforts"> |
| <condition-list> |
| <condition-expr field-name="workEffortIdFrom" env-name="productionRunId"/> |
| <condition-expr field-name="workEffortAssocTypeId" value="WORK_EFF_PRECEDENCY"/> |
| </condition-list> |
| </entity-condition> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingMandatoryWorkEfforts}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="mandatoryWorkEfforts" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingDependentWorkEfforts}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="dependentWorkEfforts" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunTasks"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingProductionRunTasks"/> |
| <set field="tabButtonItem" value="tasks"/> |
| <set field="headerItem" value="jobshop"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="500"/> |
| |
| <set field="productionRunId" from-field="parameters.productionRunId"/> |
| <entity-one entity-name="WorkEffort" value-name="productionRun"> |
| <field-map field-name="workEffortId" env-name="productionRunId"/> |
| </entity-one> |
| <set field="routingTaskId" from-field="parameters.routingTaskId"/> |
| <entity-one entity-name="WorkEffort" value-name="productionRunTask"> |
| <field-map field-name="workEffortId" env-name="routingTaskId"/> |
| </entity-one> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunTasks.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <screenlet id="EditProductionRunRoutingTaskPanel" title="${uiLabelMap.ManufacturingProductionRunTasks}" collapsible="true"> |
| <include-form name="EditProductionRunRoutingTask" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </screenlet> |
| <include-form name="ListProductionRunRoutingTasks" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunComponents"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingProductionRunComponents"/> |
| <set field="tabButtonItem" value="components"/> |
| <set field="headerItem" value="jobshop"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="500"/> |
| |
| <set field="productionRunId" from-field="parameters.productionRunId"/> |
| <entity-one entity-name="WorkEffort" value-name="productionRun"> |
| <field-map field-name="workEffortId" env-name="productionRunId"/> |
| </entity-one> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunComponents.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingProductionRunComponents}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="AddProductionRunComponent" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunTasksInfo.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunActualComponents"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingProductionRunActualComponents"/> |
| <set field="tabButtonItem" value="actualComponents"/> |
| <set field="headerItem" value="jobshop"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="500"/> |
| |
| <set field="productionRunId" from-field="parameters.productionRunId"/> |
| <entity-one entity-name="WorkEffort" value-name="productionRun"> |
| <field-map field-name="workEffortId" env-name="productionRunId"/> |
| </entity-one> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunActualComponents.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingActualMaterials}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="IssueProductionRunComponent" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunTasksInfo.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunFixedAssets"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingProductionRunFixedAssets"/> |
| <set field="tabButtonItem" value="fixedAssets"/> |
| <set field="headerItem" value="jobshop"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="500"/> |
| |
| <set field="productionRunId" from-field="parameters.productionRunId"/> |
| <entity-one entity-name="WorkEffort" value-name="productionRun"> |
| <field-map field-name="workEffortId" env-name="productionRunId"/> |
| </entity-one> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunFixedAssets.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingTaskFixedAssets}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="AddProductionRunTaskFixedAsset" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunTasksInfo.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="ProductionRunCosts"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingProductionRunCosts"/> |
| <set field="tabButtonItem" value="costs"/> |
| <set field="headerItem" value="jobshop"/> |
| |
| <set field="productionRunId" from-field="parameters.productionRunId"/> |
| <entity-one entity-name="WorkEffort" value-name="productionRun"> |
| <field-map field-name="workEffortId" env-name="productionRunId"/> |
| </entity-one> |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/ProductionRunCosts.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="CommonJobshopDecorator" location="${parameters.commonJobshopDecorator}"> |
| <decorator-section name="body"> |
| <section> |
| <widgets> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunCosts.ftl"/></html> |
| </platform-specific> |
| </widgets> |
| </section> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="FindProductionRun"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingFindProductionRun"/> |
| <set field="headerItem" value="jobshop"/> |
| <set field="viewIndex" from-field="parameters.VIEW_INDEX" type="Integer"/> |
| <set field="viewSize" from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingFindProductionRun}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <container> |
| <link target="CreateProductionRun" text="${uiLabelMap.ManufacturingCreateProductionRun}" style="buttontext"/> |
| </container> |
| <include-form name="findProductionRun" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| <container style="screenlet"> |
| <container style="screenlet-title-bar"> |
| <container style="h3"> |
| <label text="${uiLabelMap.ManufacturingFindProductionRun}"/> |
| </container> |
| </container> |
| <container style="screenlet-body"> |
| <section> |
| <widgets> |
| <include-form name="listFindProductionRun" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/> |
| </widgets> |
| </section> |
| </container> |
| </container> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| <screen name="WorkWithShipmentPlans"> |
| <section> |
| <actions> |
| <set field="titleProperty" value="ManufacturingWorkWithShipmentPlans"/> |
| <set field="headerItem" value="ShipmentPlans"/> |
| |
| <script location="component://manufacturing/webapp/manufacturing/WEB-INF/actions/jobshopmgt/WorkWithShipmentPlans.groovy"/> |
| </actions> |
| <widgets> |
| <decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}"> |
| <decorator-section name="body"> |
| <platform-specific> |
| <html><html-template location="component://manufacturing/webapp/manufacturing/jobshopmgt/WorkWithShipmentPlans.ftl"/></html> |
| </platform-specific> |
| </decorator-section> |
| </decorator-screen> |
| </widgets> |
| </section> |
| </screen> |
| </screens> |