blob: 700667f8f775b311e616ed6575dc7fc1d792e751 [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.
-->
<forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd">
<form name="CreateProductionRun" target="createProductionRun" title="" type="single"
header-row-style="header-row" default-table-style="basic-table">
<field name="productId" title="${uiLabelMap.ProductProductId}"><lookup target-form-name="LookupProduct" size="16"/></field>
<field name="quantity" title="${uiLabelMap.ManufacturingQuantity}"><text size="6"/></field>
<field name="startDate" title="${uiLabelMap.ManufacturingStartDate}"><date-time/></field>
<field name="facilityId">
<drop-down allow-empty="false">
<entity-options entity-name="Facility" description="${facilityName} [${facilityId}]">
<!--<entity-constraint name="facilityTypeId" value="WAREHOUSE"/>-->
</entity-options>
</drop-down>
</field>
<field name="routingId" title="${uiLabelMap.ManufacturingRoutingId}"><lookup target-form-name="LookupRouting" size="16"/></field>
<field name="workEffortName" title="${uiLabelMap.ManufacturingProductionRunName}"><text size="30"/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"><text size="50"/></field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
<submit button-type="button"/>
</field>
</form>
<form name="findProductionRun" target="FindProductionRun" title="" type="single"
header-row-style="header-row" default-table-style="basic-table">
<field name="workEffortTypeId"><hidden value="PROD_ORDER_HEADER"/></field>
<field name="workEffortId" title="${uiLabelMap.ManufacturingProductionRunId}"><text-find/></field>
<field name="currentStatusId" title="${uiLabelMap.CommonStatus}">
<drop-down allow-empty="true">
<entity-options entity-name="StatusItem" key-field-name="statusId" description="${description}">
<entity-constraint name="statusTypeId" value="PRODUCTION_RUN"/>
</entity-options>
</drop-down>
</field>
<field name="productId" title="${uiLabelMap.ProductProductId}"><lookup target-form-name="LookupProduct"/></field>
<field name="workEffortName" title="${uiLabelMap.ManufacturingProductionRunName}"><text-find/></field>
<field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}"><date-find/></field>
<field name="facilityId" title="${uiLabelMap.ProductFacilityId}">
<drop-down allow-empty="true">
<entity-options entity-name="Facility" key-field-name="facilityId" description="${facilityName} [${facilityId}]">
<!--<entity-constraint name="facilityTypeId" value="WAREHOUSE"/>-->
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonLookup}"><submit button-type="button"/></field>
</form>
<form name="listFindProductionRun" list-name="listIt" title="" type="list" paginate-target="/FindProductionRun"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<actions>
<service service-name="performFind" result-map-name="result" result-map-list-name="listIt">
<field-map field-name="inputFields" env-name="requestParameters"/>
<field-map field-name="entityName" value="WorkEffortAndGoods"/>
</service>
</actions>
<field name="workEffortId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="ShowProductionRun?productionRunId=${workEffortId}" description="${workEffortId}" also-hidden="false"/>
</field>
<field name="workEffortName" title="${uiLabelMap.ManufacturingProductionRunName}"><display/></field>
<field name="productId" title="${uiLabelMap.ProductProductId}"><display/></field>
<field name="estimatedQuantity" title="${uiLabelMap.ManufacturingQuantity}"><display/></field>
<field name="currentStatusId" title="${uiLabelMap.CommonStatus}">
<display-entity entity-name="StatusItem" key-field-name="statusId"/>
</field>
<field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}"><display/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
<field name="facilityId" title="${uiLabelMap.ProductFacilityId}"><display/></field>
</form>
<form name="UpdateProductionRun" type="single" target="updateProductionRun" title="" default-map-name="productionRunData"
header-row-style="header-row" default-table-style="basic-table">
<field name="productionRunId"><hidden/></field>
<field name="productId" title="${uiLabelMap.ProductProductName}">
<display-entity entity-name="Product" description="${internalName} [${productId}]"/>
</field>
<field name="currentStatusId">
<display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/>
</field>
<field name="facilityId" title="${uiLabelMap.ProductFacilityId}">
<drop-down>
<entity-options entity-name="Facility" key-field-name="facilityId" description="${facilityName} [${facilityId}]">
<entity-constraint name="facilityTypeId" value="WAREHOUSE"/>
</entity-options>
</drop-down>
</field>
<field name="quantity" title="${uiLabelMap.ManufacturingQuantity}"><text size="10"/></field>
<field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}"><date-time/></field>
<field name="estimatedCompletionDate" title="${uiLabelMap.ManufacturingEstimatedCompletionDate}"><display/></field>
<field name="workEffortName" title="${uiLabelMap.ManufacturingProductionRunName}"><text/></field>
<field name="description"><text/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}"><submit button-type="button"/></field>
</form>
<form name="ListProductionRunOrderItems" type="list" target="EditProductionRun" title="" list-name="orderItems"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="orderId" widget-style="buttontext">
<hyperlink target="/ordermgr/control/orderview?orderId=${orderId}" description="${orderId}/${orderItemSeqId}" also-hidden="false" target-type="inter-app"/>
</field>
<!--
<field name="orderItemSeqId"><display/></field>
<field name="orderItemGroupSeqId"><display/></field>
<field name="quantity"><display/></field>
<field name="cancelQuantity"><display/></field>
<field name="shipAfterDate"><display/></field>
<field name="shipBeforeDate"><display/></field>
<field name="estimatedShipDate"><display/></field>
<field name="estimatedDeliveryDate"><display/></field>
-->
</form>
<form name="ListProductionRunInventoryItems" type="list" title="" list-name="inventoryItems"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="inventoryItemId" widget-style="buttontext">
<hyperlink target="/facility/control/EditInventoryItem?inventoryItemId=${inventoryItemId}" description="${inventoryItemId}" also-hidden="false" target-type="inter-app"/>
</field>
<field name="lotId" entry-name="inventoryItemId"><display-entity entity-name="InventoryItem" key-field-name="inventoryItemId" description="${lotId} "/></field>
<field name="creationDate" entry-name="inventoryItemId"><display-entity entity-name="InventoryItem" key-field-name="inventoryItemId" description="${datetimeReceived}"/></field>
</form>
<form name="ViewListProductionRunRoutingTasks" type="list" title="" list-name="productionRunRoutingTasks"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<row-actions>
<set field="estimatedTotalMilliSeconds" value="${bsh:estimatedMilliSeconds * quantity.doubleValue()}" type="Double"/>
</row-actions>
<field name="priority" title="${uiLabelMap.CommonSequenceNum}"><display/></field>
<field name="workEffortId" title="${uiLabelMap.ManufacturingTaskName}"><display description="${workEffortName} [${workEffortId}]" /></field>
<field name="fixedAssetId" title="${uiLabelMap.ManufacturingMachine}"><display/></field>
<field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}"><display/></field>
<field name="estimatedCompletionDate" title="${uiLabelMap.ManufacturingEstimatedCompletionDate}"><display/></field>
<field name="estimatedSetupMillis" title="${uiLabelMap.ManufacturingTaskEstimatedSetupMillis}" ><display/></field>
<!--<field name="estimatedMilliSeconds" title="${uiLabelMap.ManufacturingTaskEstimatedMilliSeconds}" ><display/></field>-->
<field name="estimatedTotalMilliSeconds" title="${uiLabelMap.ManufacturingTaskEstimatedTotalMilliSeconds}" ><display/></field>
</form>
<form name="ListProductionRunRoutingTasks" type="list" target="ProductionRunTasks" title="" list-name="productionRunRoutingTasks"
odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar">
<row-actions>
<set field="estimatedTotalMilliSeconds" value="${bsh:estimatedMilliSeconds * quantity.doubleValue}" type="Double"/>
</row-actions>
<field name="priority" title="${uiLabelMap.CommonSequenceNum}"><display/></field>
<field name="workEffortId" title="${uiLabelMap.ManufacturingTaskName}"><display description="${workEffortName} [${workEffortId}]" /></field>
<field name="fixedAssetId" title="${uiLabelMap.ManufacturingMachine}"><display/></field>
<field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}"><display/></field>
<field name="estimatedCompletionDate" title="${uiLabelMap.ManufacturingEstimatedCompletionDate}"><display/></field>
<field name="estimatedSetupMillis" title="${uiLabelMap.ManufacturingTaskEstimatedSetupMillis}" ><display/></field>
<!--<field name="estimatedMilliSeconds" title="${uiLabelMap.ManufacturingTaskEstimatedMilliSeconds}" ><display/></field>-->
<field name="estimatedTotalMilliSeconds" title="${uiLabelMap.ManufacturingTaskEstimatedTotalMilliSeconds}" ><display/></field>
<field name="editLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="ProductionRunTasks?routingTaskId=${workEffortId}&amp;productionRunId=${workEffortParentId}" description="${uiLabelMap.CommonEdit}" also-hidden="false"/>
</field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<!--<hyperlink target="RemoveRoutingTaskAssoc?workEffortIdFrom=${workEffortIdFrom}&amp;workEffortIdTo=${workEffortIdTo}&amp;fromDate=${fromDate}&amp;workEffortAssocTypeId=ROUTING_COMPONENT" description="[${uiLabelMap.CommonDelete}]" also-hidden="false"/>-->
<hyperlink target="deleteProductionRunRoutingTask?workEffortId=${workEffortId}&amp;productionRunId=${workEffortParentId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>
<form name="ListProductionRunComponents" type="list" target="EditProductionRun" title="" list-name="productionRunComponents"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTaskId}">
<display-entity entity-name="WorkEffort" description="${workEffortName} [${workEffortId}]"/>
</field>
<field name="productId" title="${uiLabelMap.ProductProductName}">
<display-entity entity-name="Product" description="${internalName} [${productId}]"/>
</field>
<field name="estimatedQuantity" title="${uiLabelMap.ManufacturingQuantity}"><display/></field>
</form>
<form name="EditProductionRunRoutingTask" type="single" target="updateProductionRunRoutingTask" title="" default-map-name="productionRunTask"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="productionRunTask==null" target="addProductionRunRoutingTask"/>
<field name="productionRunId">
<hidden value="${productionRunId}"/>
</field>
<field name="routingTaskId" title="${uiLabelMap.ManufacturingRoutingTaskId}" use-when="productionRunTask==null">
<lookup target-form-name="LookupRoutingTask"/>
</field>
<field name="routingTaskId" map-name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTaskId}" use-when="productionRunTask!=null">
<display/>
</field>
<field name="priority" title="${uiLabelMap.CommonSequenceNum}">
<text size="4"/>
</field>
<field name="workEffortName" title="${uiLabelMap.ManufacturingTaskName}">
<text/>
</field>
<field name="description">
<text/>
</field>
<field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}">
<date-time/>
</field>
<field name="estimatedCompletionDate" title="${uiLabelMap.ManufacturingEstimatedCompletionDate}">
<display/>
</field>
<field name="estimatedSetupMillis" title="${uiLabelMap.ManufacturingTaskEstimatedSetupMillis}">
<text/>
</field>
<field name="estimatedMilliSeconds" title="${uiLabelMap.ManufacturingTaskEstimatedMilliSeconds}">
<text/>
</field>
<field name="submitButton" title="${uiLabelMap.CommonEdit}">
<submit button-type="button"/>
</field>
</form>
<!-- Production Run Declaration -->
<form name="ShowProductionRun" type="single" target="productionRunProduce" title="" default-map-name="productionRunData"
header-row-style="header-row" default-table-style="basic-table">
<field name="workEffortId"><hidden/></field>
<field name="productId" title="${uiLabelMap.ProductProductName}">
<display-entity entity-name="Product" description="${internalName} [${productId}]"/>
</field>
<field name="currentStatusId">
<display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/>
</field>
<field name="quantityToProduce" title="${uiLabelMap.ManufacturingQuantityToProduce}">
<display/>
</field>
<field name="estimatedStartDate" title="${uiLabelMap.ManufacturingEstimatedStartDate}"><display/></field>
<field name="actualStartDate" title="${uiLabelMap.ManufacturingActualStartDate}"><display/></field>
<field name="estimatedCompletionDate" title="${uiLabelMap.ManufacturingEstimatedCompletionDate}"><display/></field>
<field name="actualCompletionDate" title="${uiLabelMap.ManufacturingActualCompletionDate}"><display/></field>
<field name="productionRunName" title="${uiLabelMap.ManufacturingProductionRunName}"><display/></field>
<field name="description" title="${uiLabelMap.CommonDescription}"><display/></field>
<field name="quantityProduced" title="${uiLabelMap.ManufacturingQuantityProduced}"><display/></field>
<field name="quantityRejected" title="${uiLabelMap.ManufacturingQuantityRejected}"><display/></field>
</form>
<form name="ProductionRunProduce" type="single" target="productionRunProduce" title="" default-map-name="productionRunData"
header-row-style="header-row" default-table-style="basic-table">
<field name="workEffortId"><hidden/></field>
<field name="quantity" title="${uiLabelMap.ManufacturingProduceQuantity}"><text/></field>
<field name="inventoryItemTypeId">
<drop-down allow-empty="false" no-current-selected-key="NON_SERIAL_INV_ITEM">
<entity-options entity-name="InventoryItemType" description="${description}"/>
</drop-down>
</field>
<field name="lotId"><text default-value="${lastLotId}"/></field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}">
<submit button-type="button"/>
</field>
</form>
<form name="ProductionRunDeclareAndProduceTop" type="single" skip-end="true" target="productionRunDeclareAndProduce" title="" default-map-name="productionRunData"
header-row-style="header-row" default-table-style="basic-table">
<field name="workEffortId"><hidden/></field>
<field name="quantity" title="${uiLabelMap.ManufacturingProduceQuantity}" tooltip="If required, materials will be issued as well."><text/></field>
<field name="inventoryItemTypeId">
<drop-down allow-empty="false" no-current-selected-key="NON_SERIAL_INV_ITEM">
<entity-options entity-name="InventoryItemType" description="${description}"/>
</drop-down>
</field>
<field name="lotId"><text default-value="${lastLotId}"/></field>
</form>
<form name="ProductionRunDeclareAndProduceBottom" skip-start="true" type="multi" title="" list-name="productionRunComponentsDataReadyForIssuance"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="productionRunTaskId" entry-name="workEffortId"><hidden/></field>
<field name="productId"><hidden/></field>
<field name="fromDate"><hidden/></field>
<field name="failIfItemsAreNotAvailable">
<drop-down allow-empty="false">
<option key="Y" description="${uiLabelMap.CommonYes}"/>
<option key="N" description="${uiLabelMap.CommonNo}"/>
</drop-down>
</field>
<field name="task" entry-name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTaskId}">
<display description="${workEffortName} [${workEffortId}]" also-hidden="false"/>
</field>
<field name="internalName" title="${uiLabelMap.ProductProductName}">
<display description="${productName} [${productId}]" also-hidden="false"/>
</field>
<field name="estimatedQuantity" title="${uiLabelMap.ManufacturingQuantity}"><display also-hidden="false"/></field>
<field name="issuedQuantity" title="${uiLabelMap.ManufacturingIssuedQuantity}"><display also-hidden="false"/></field>
<field name="locationSeqId">
<drop-down allow-empty="true">
<entity-options entity-name="ProductFacilityLocation" description="${locationSeqId}">
<entity-constraint name="productId" env-name="productId"/>
<entity-constraint name="facilityId" env-name="facilityId"/>
</entity-options>
</drop-down>
</field>
<field name="secondaryLocationSeqId">
<drop-down allow-empty="true">
<entity-options entity-name="ProductFacilityLocation" description="${locationSeqId}" key-field-name="locationSeqId">
<entity-constraint name="productId" env-name="productId"/>
<entity-constraint name="facilityId" env-name="facilityId"/>
</entity-options>
</drop-down>
</field>
<field name="_rowSubmit"><hidden value="Y"/></field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit/></field>
</form>
<form name="ListProductionRunDeclRoutingTasks" type="list" target="ProductionRunDeclaration" title="" list-name="productionRunRoutingTasks"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="actionForm"><hidden value="EditRoutingTask"/></field>
<field name="productionRunId"><hidden value="${workEffortParentId}"/></field>
<field name="routingTaskId"><hidden value="${workEffortId}"/></field>
<field name="priority" title="${uiLabelMap.CommonSequenceNum}"><display/></field>
<field name="workEffortId" title="${uiLabelMap.ManufacturingTaskName}"><display description="${workEffortName} [${workEffortId}]" /></field>
<field name="currentStatusId" title="${uiLabelMap.CommonStatus}">
<display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/>
</field>
<field name="fixedAssetId" title="${uiLabelMap.ManufacturingMachine}"><display/></field>
<field name="estimatedCompletionDate" title="${uiLabelMap.ManufacturingEstimatedCompletionDate}"><display/></field>
<field name="actualSetupMillis" title="${uiLabelMap.ManufacturingTaskActualSetupMillis}" ><display/></field>
<field name="actualMilliSeconds" title="${uiLabelMap.ManufacturingTaskActualMilliSeconds}" ><display/></field>
<field name="quantityProduced" title="${uiLabelMap.ManufacturingQuantityProduced}" ><display/></field>
<field name="startLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when="&quot;${startTaskId}&quot;.equals(&quot;${workEffortId}&quot;)">
<hyperlink target="changeProductionRunTaskStatus?workEffortId=${workEffortId}&amp;productionRunId=${workEffortParentId}" description="${uiLabelMap.ManufacturingStartProductionRunTask}" also-hidden="false"/>
</field>
<field name="issueLinkAtp" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when="&quot;${issueTaskId}&quot;.equals(&quot;${workEffortId}&quot;)">
<hyperlink target="issueProductionRunRoutingTask?workEffortId=${workEffortId}&amp;productionRunId=${workEffortParentId}&amp;failIfItemsAreNotAvailable=Y" description="${uiLabelMap.ManufacturingIssueAvailableProductionRunTask}" also-hidden="false"/>
</field>
<field name="issueLinkQoh" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when="&quot;${issueTaskId}&quot;.equals(&quot;${workEffortId}&quot;)">
<hyperlink target="issueProductionRunRoutingTask?workEffortId=${workEffortId}&amp;productionRunId=${workEffortParentId}&amp;failIfItemsAreNotAvailable=N" description="${uiLabelMap.ManufacturingIssueProductionRunTask}" also-hidden="false"/>
</field>
<field name="declareLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when="&quot;PRUN_RUNNING&quot;.equals(&quot;${currentStatusId}&quot;)">
<hyperlink target="ProductionRunDeclaration?actionForm=EditRoutingTask&amp;routingTaskId=${workEffortId}&amp;productionRunId=${workEffortParentId}" description="${uiLabelMap.ManufacturingDeclareProductionRunTask}" also-hidden="false"/>
</field>
<field name="completeLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when="&quot;${completeTaskId}&quot;.equals(&quot;${workEffortId}&quot;)">
<hyperlink target="changeProductionRunTaskStatus?workEffortId=${workEffortId}&amp;productionRunId=${workEffortParentId}" description="${uiLabelMap.ManufacturingCompleteProductionRunTask}" also-hidden="false"/>
</field>
</form>
<form name="ListIssueProductionRunDeclComponents" type="multi" target="issueProductionRunTaskComponents?productionRunId=${productionRunId}" title="" list-name="productionRunComponentsDataReadyForIssuance"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="productId"><hidden/></field>
<field name="productionRunId"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="fromDate"><hidden/></field>
<field name="failIfItemsAreNotAvailable">
<drop-down allow-empty="false">
<option key="Y" description="${uiLabelMap.CommonYes}"/>
<option key="N" description="${uiLabelMap.CommonNo}"/>
</drop-down>
</field>
<field name="task" entry-name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTaskId}">
<display description="${workEffortName} [${workEffortId}]"/>
</field>
<field name="internalName" title="${uiLabelMap.ProductProductName}">
<display description="${productName} [${productId}]" also-hidden="false"/>
</field>
<field name="estimatedQuantity" title="${uiLabelMap.ManufacturingQuantity}"><display also-hidden="false"/></field>
<field name="issuedQuantity" title="${uiLabelMap.ManufacturingIssuedQuantity}"><display also-hidden="false"/></field>
<field name="locationSeqId">
<drop-down allow-empty="true">
<entity-options entity-name="ProductFacilityLocation" description="${locationSeqId}">
<entity-constraint name="productId" env-name="productId"/>
<entity-constraint name="facilityId" env-name="facilityId"/>
</entity-options>
</drop-down>
</field>
<field name="secondaryLocationSeqId">
<drop-down allow-empty="true">
<entity-options entity-name="ProductFacilityLocation" description="${locationSeqId}" key-field-name="locationSeqId">
<entity-constraint name="productId" env-name="productId"/>
<entity-constraint name="facilityId" env-name="facilityId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit/></field>
</form>
<form name="ListReturnProductionRunDeclComponents" type="multi" use-row-submit="true" target="productionRunTaskReturnMaterials?productionRunId=${productionRunId}" title="" list-name="productionRunComponentsAlreadyIssued"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="productId"><hidden/></field>
<field name="productionRunId"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="fromDate"><hidden/></field>
<field name="task" entry-name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTaskId}">
<display description="${workEffortName} [${workEffortId}]"/>
</field>
<field name="internalName" title="${uiLabelMap.ProductProductName}">
<display description="${productName} [${productId}]" also-hidden="false"/>
</field>
<field name="estimatedQuantity" title="${uiLabelMap.ManufacturingQuantity}"><display also-hidden="false"/></field>
<field name="issuedQuantity" title="${uiLabelMap.ManufacturingIssuedQuantity}"><display also-hidden="false"/></field>
<field name="returnedQuantity" title="${uiLabelMap.ManufacturingReturnedQuantity}"><display also-hidden="false"/></field>
<field name="quantity" title="${uiLabelMap.CommonQuantity}"><text/></field>
<field name="_rowSubmit" title="${uiLabelMap.CommonSelected}"><check/></field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit/></field>
</form>
<form name="EditProductionRunDeclRoutingTask" type="single" target="updateProductionRunTask" title="" default-map-name="routingTaskData"
header-row-style="header-row" default-table-style="basic-table">
<field name="actionForm">
<hidden value="${actionForm}"/>
</field>
<field name="productionRunId">
<hidden value="${routingTaskData.workEffortParentId}"/>
</field>
<field name="productionRunTaskId">
<hidden value="${routingTaskData.workEffortId}"/>
</field>
<field name="priority" title="${uiLabelMap.CommonSequenceNum}">
<display/>
</field>
<field name="workEffortName" title="${uiLabelMap.ManufacturingTaskName}">
<display/>
</field>
<field name="description" title="${uiLabelMap.CommonDescription}">
<display/>
</field>
<field name="estimatedCompletionDate" title="${uiLabelMap.ManufacturingEstimatedCompletionDate}">
<display/>
</field>
<field name="fromDate" title="${uiLabelMap.ManufacturingFromDate}">
<date-time/>
</field>
<field name="toDate" title="${uiLabelMap.ManufacturingToDate}">
<date-time/>
</field>
<field name="estimatedSetupMillis" title="${uiLabelMap.ManufacturingTaskEstimatedSetupMillis}">
<display/>
</field>
<field name="actualSetupMillis" title="${uiLabelMap.ManufacturingTaskActualSetupMillis}">
<display/>
</field>
<field name="addSetupTime" title="${uiLabelMap.ManufacturingAddSetupTime}">
<text/>
</field>
<field name="estimatedMilliSeconds" title="${uiLabelMap.ManufacturingTaskEstimatedMilliSeconds}">
<display/>
</field>
<field name="actualMilliSeconds" title="${uiLabelMap.ManufacturingTaskActualMilliSeconds}">
<display/>
</field>
<field name="addTaskTime" title="${uiLabelMap.ManufacturingAddTaskTime}">
<text/>
</field>
<field name="quantityToProduce" title="${uiLabelMap.ManufacturingQuantityToProduce}">
<display/>
</field>
<field name="quantityProduced" title="${uiLabelMap.ManufacturingQuantityProduced}">
<display/>
</field>
<field name="addQuantityProduced" title="${uiLabelMap.ManufacturingAddQuantityProduced}">
<text/>
</field>
<field name="quantityRejected" title="${uiLabelMap.ManufacturingQuantityRejected}">
<display/>
</field>
<field name="addQuantityRejected" title="${uiLabelMap.ManufacturingAddQuantityRejected}">
<text/>
</field>
<field name="comments" title="${uiLabelMap.ManufacturingComments}">
<text/>
</field>
<field name="partyId" title="${uiLabelMap.ManufacturingWorker}">
<text/>
</field>
<field name="submitButton" title="${uiLabelButton}">
<submit button-type="button"/>
</field>
</form>
<form name="CreateRoutingTaskDelivProduct" type="single" target="createProductionRunTaskProduct" title="" default-map-name="formData"
header-row-style="header-row" default-table-style="basic-table">
<field name="productionRunId"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="productId" title="${uiLabelMap.ProductProductId}" use-when="${bsh:delivProducts.size()>0}">
<drop-down allow-empty="false">
<list-options list-name="delivProducts" key-name="productId" description="${productId}"/>
</drop-down>
</field>
<field name="productId" title="${uiLabelMap.ProductProductId}" use-when="${bsh:delivProducts.size()==0}"><lookup target-form-name="LookupProduct"/></field>
<field name="quantity" title="${uiLabelMap.ManufacturingAddQuantityProduced}">
<text/>
</field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}">
<submit button-type="button"/>
</field>
</form>
<form name="ProductionRunTaskInventoryProducedList" type="list" title="" list-name="prunInventoryProduced"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="inventoryItemId" title="${uiLabelMap.FacilityInventoryItem}" widget-style="buttontext">
<hyperlink target="/facility/control/EditInventoryItem?inventoryItemId=${inventoryItemId}" description="${inventoryItemId}" also-hidden="false" target-type="inter-app"/>
</field>
</form>
<form name="ProductionRunTaskFixedAssets" type="list" target="updateWorkEffortFixedAssetAssign" paginate-target="" title="" list-name="records"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<auto-fields-entity entity-name="WorkEffortFixedAssetAssign" default-field-type="edit" />
<field name="productionRunId"><hidden/></field>
<field name="workEffortId"><hidden/></field>
<field name="statusId"><hidden/></field>
<field name="fromDate"><display/></field>
<field name="fixedAssetId">
<display-entity entity-name="FixedAsset" description="${fixedAssetName} [${fixedAssetId}]" />
</field>
<field name="availabilityStatusId">
<drop-down no-current-selected-key="WEFA_IN_USE">
<entity-options description="${description}" entity-name="StatusItem" key-field-name="statusId">
<entity-constraint name="statusTypeId" operator="equals" value="WEFA_AVAILABLE"/>
<entity-order-by field-name="sequenceId"/>
</entity-options>
</drop-down>
</field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit"
use-when="!&quot;${declarationScreen}&quot;.equals(&quot;Y&quot;)">
<hyperlink description="${uiLabelMap.CommonDelete}" also-hidden="false"
target="removeWorkEffortFixedAssetAssign?workEffortId=${workEffortId}&amp;fixedAssetId=${fixedAssetId}&amp;fromDate=${fromDate}&amp;productionRunId=${productionRunId}" />
</field>
</form>
<form name="ListProductionRunTaskFixedAssets" type="list" title="" list-name="productionRunFixedAssetsData"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<auto-fields-entity entity-name="WorkEffortFixedAssetAssign" default-field-type="display" />
<field name="workEffortId">
<display-entity entity-name="WorkEffort" description="${workEffortName} [${workEffortId}]" />
</field>
<field name="fixedAssetId">
<display-entity entity-name="FixedAsset" description="${fixedAssetName}" />
</field>
<field name="statusId">
<display-entity entity-name="StatusItem" />
</field>
</form>
<form name="ListProductionRunNotes" type="list" title="" list-name="productionRunNoteData"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<auto-fields-entity entity-name="WorkEffortNoteAndData" default-field-type="display" />
<field name="workEffortId"><hidden/></field>
<field name="internalNote"><hidden/></field>
<field name="noteId"><hidden/></field>
<field name="noteParty"><hidden/></field>
<field name="noteDateTime"><hidden/></field>
</form>
<form name="EditProductionRunTaskFixedAsset" type="single" target="EditProductionRun" title="" default-map-name="fixedAssetData"
header-row-style="header-row" default-table-style="basic-table">
<alt-target use-when="declarationScreen.equals(&quot;Y&quot;)" target="ProductionRunDeclaration" />
<auto-fields-entity entity-name="WorkEffortFixedAssetAssign" />
<field name="actionForm"><hidden value="${actionForm}" /></field>
<field name="productionRunId"><hidden /></field>
<field name="workEffortId" use-when="${actionIsAdd}!=null">
<drop-down allow-empty="false">
<entity-options entity-name="WorkEffort" description="[${workEffortId}] ${workEffortName}">
<entity-constraint name="workEffortParentId" value="${productionRunId}" />
</entity-options>
</drop-down>
</field>
<field name="workEffortId" use-when="${actionIsAdd}==null">
<display-entity entity-name="WorkEffort" description="[${workEffortId}] ${workEffortName}" />
</field>
<field name="fixedAssetId" use-when="${actionIsAdd}!=null">
<drop-down allow-empty="false">
<entity-options entity-name="FixedAsset" description="${fixedAssetName}" />
</drop-down>
</field>
<field name="fixedAssetId" use-when="${actionIsAdd}==null">
<display-entity entity-name="FixedAsset" description="${fixedAssetName}" />
</field>
<field name="fromDate" use-when="${actionIsAdd}==null">
<display />
</field>
<field name="statusId">
<!-- Statuses are not yet defined for the WorkEffortFixedAssetAssign entity
so this field will be hidden meanwhile
<drop-down>
<entity-options entity-name="StatusItem" description="${description}">
<entity-constraint name="statusTypeId" value="WORK_EFF_ASSET_STTS" />
</entity-options>
</drop-down> -->
<hidden />
</field>
<field name="submitButton" title="${uiLabelButton}">
<submit button-type="button" />
</field>
</form>
<form name="AddProductionRunTaskFixedAsset" type="single" target="createWorkEffortFixedAssetAssign" title=""
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="createWorkEffortFixedAssetAssign" />
<field name="productionRunId"><hidden /></field>
<field name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTask}">
<drop-down allow-empty="false">
<entity-options entity-name="WorkEffort" description="${workEffortName} [${workEffortId}]">
<entity-constraint name="workEffortParentId" value="${productionRunId}" />
</entity-options>
</drop-down>
</field>
<field name="fixedAssetId" title="${uiLabelMap.ManufacturingMachine}">
<drop-down allow-empty="false">
<entity-options entity-name="FixedAsset" description="${fixedAssetName} [${fixedAssetId}]" />
</drop-down>
</field>
<field name="statusId">
<!-- Statuses are not yet defined for the WorkEffortFixedAssetAssign entity
so this field will be hidden meanwhile
<drop-down>
<entity-options entity-name="StatusItem" description="${description}">
<entity-constraint name="statusTypeId" value="WORK_EFF_ASSET_STTS" />
</entity-options>
</drop-down> -->
<hidden />
</field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}">
<submit button-type="button"/>
</field>
</form>
<!-- ******************* -->
<!-- Shipment Plan Forms -->
<!-- ******************* -->
<!-- List for Shipment Plan -->
<form name="listShipmentPlan" type="list" target="" title="" list-name="shipmentPlan"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="orderId" title="${uiLabelMap.ProductOrderId}"><display/></field>
<field name="orderItemSeqId" title="${uiLabelMap.ProductOrderItem}"><display/></field>
<field name="productId" title="${uiLabelMap.ProductProductId}"><display/></field>
<!-- quantity planned in this shipment -->
<field name="quantity" title="${uiLabelMap.ProductQuantity}"><display/></field>
<!-- quantity issued in this shipment -->
<field name="issuedQuantity"><display/></field>
<!-- total ordered quantity -->
<field name="totOrderedQuantity"><display/></field>
<!-- total not available quantity -->
<field name="notAvailableQuantity" title="${uiLabelMap.ProductNotAvailable}"><display/></field>
<!-- total planned quantity not issued -->
<field name="totPlannedQuantity"><display/></field>
<!-- total issued quantity -->
<field name="totIssuedQuantity"><display/></field>
<field name="productionRuns"><display/></field>
</form>
<form name="listShipmentPlans" type="list" target="" title="" list-name="shipmentPlans"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="shipmentId"><display/></field>
<field name="statusId">
<display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/>
</field>
<field name="estimatedShipDate"><display/></field>
<field name="viewShipmentPlanLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="WorkWithShipmentPlans?shipmentId=${shipmentId}" description="${uiLabelMap.CommonView}" also-hidden="false"/>
</field>
</form>
<form name="SelectMrpName" type="single" target="ManufacturingReports" title=""
header-row-style="header-row" default-table-style="basic-table">
<field name="mrpName" title="${uiLabelMap.ManufacturingMrpName}"><text size="20"/></field>
<field name="submitButton" title="${uiLabelMap.CommonSubmit}">
<submit button-type="button"/>
</field>
</form>
<form name="mandatoryWorkEfforts" type="list" target="" title="" list-name="mandatoryWorkEfforts"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="workEffortIdFrom" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="ShowProductionRun?productionRunId=${workEffortIdFrom}" description="${workEffortIdFrom}" also-hidden="false"/>
</field>
<field name="workEffortName" entry-name="workEffortIdFrom">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName} " cache="true"/>
</field>
<field name="quantityToProduce" entry-name="workEffortIdFrom">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityToProduce} " cache="true"/>
</field>
<field name="quantityProduced" entry-name="workEffortIdFrom">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityProduced} " cache="true"/>
</field>
<field name="estimatedStartDate" entry-name="workEffortIdFrom">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${estimatedStartDate} " cache="true"/>
</field>
<field name="estimatedCompletionDate" entry-name="workEffortIdFrom">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${estimatedCompletionDate} " cache="true"/>
</field>
<field name="actualStartDate" entry-name="workEffortIdFrom">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${actualStartDate} " cache="true"/>
</field>
<field name="actualCompletionDate" entry-name="workEffortIdFrom">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${actualCompletionDate} " cache="true"/>
</field>
</form>
<form name="dependentWorkEfforts" type="list" target="" title="" list-name="dependentWorkEfforts"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="workEffortIdTo" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
<hyperlink target="ShowProductionRun?productionRunId=${workEffortIdTo}" description="${workEffortIdTo}" also-hidden="false"/>
</field>
<field name="workEffortName" entry-name="workEffortIdTo">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName} " cache="true"/>
</field>
<field name="quantityToProduce" entry-name="workEffortIdTo">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityToProduce} " cache="true"/>
</field>
<field name="quantityProduced" entry-name="workEffortIdTo">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityProduced} " cache="true"/>
</field>
<field name="estimatedStartDate" entry-name="workEffortIdTo">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${estimatedStartDate} " cache="true"/>
</field>
<field name="estimatedCompletionDate" entry-name="workEffortIdTo">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${estimatedCompletionDate} " cache="true"/>
</field>
<field name="actualStartDate" entry-name="workEffortIdTo">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${actualStartDate} " cache="true"/>
</field>
<field name="actualCompletionDate" entry-name="workEffortIdTo">
<display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${actualCompletionDate} " cache="true"/>
</field>
</form>
<form name="ProductionRunTaskCosts" type="list" target="" title="" list-name="taskCosts"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<auto-fields-entity entity-name="CostComponent" default-field-type="display"/>
<field name="workEffortId"><hidden/></field>
<field name="productId"><hidden/></field>
<field name="partyId"><hidden/></field>
<field name="geoId"><hidden/></field>
<field name="productFeatureId"><hidden/></field>
<field name="costComponentTypeId">
<display-entity entity-name="CostComponentType"/>
</field>
<field name="costComponentCalcId">
<display-entity entity-name="CostComponentCalc"/>
</field>
</form>
<form name="AddProductionRunComponent" type="single" target="addProductionRunComponent" title=""
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="addProductionRunComponent"/>
<field name="productionRunId"><hidden/></field>
<field name="workEffortId" title="${uiLabelMap.ManufacturingRoutingTask}">
<drop-down allow-empty="false">
<entity-options entity-name="WorkEffort" description="${workEffortName} [${workEffortId}]">
<entity-constraint name="workEffortParentId" env-name="productionRunId"/>
<entity-order-by field-name="workEffortId"/>
</entity-options>
</drop-down>
</field>
<field name="productId">
<lookup target-form-name="LookupProduct"/>
</field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
<form name="ProductionRunTaskComponents" type="list" target="updateProductionRunComponent" paginate-target="ProductionRunComponents" title="" list-name="records"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<field name="productId"><display/></field>
<field name="internalName" entry-name="productId" title="${uiLabelMap.ProductInternalName}">
<display-entity entity-name="Product" key-field-name="productId" description="${internalName}"/>
</field>
<field name="workEffortId"><hidden/></field>
<field name="productionRunId"><hidden/></field>
<field name="estimatedQuantity"><text/></field>
<field name="submitButton" title="${uiLabelMap.CommonUpdate}" widget-style="smallSubmit"><submit button-type="button"/></field>
<field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
<hyperlink target="deleteProductionRunComponent?workEffortId=${workEffortId}&amp;fromDate=${fromDate}&amp;productId=${productId}&amp;workEffortGoodStdTypeId=${workEffortGoodStdTypeId}&amp;productionRunId=${productionRunId}" description="${uiLabelMap.CommonDelete}" also-hidden="false"/>
</field>
</form>
<form name="ProductionRunTaskActualComponents" type="list" target="updateProductionRunComponent" paginate-target="ProductionRunActualComponents" title="" list-name="records"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar">
<row-actions>
<set field="quantityOnHandDiff" value="${bsh:-1*quantityOnHandDiff}"/>
</row-actions>
<field name="inventoryItemId" widget-style="buttontext">
<hyperlink target="/facility/control/EditInventoryItem?inventoryItemId=${inventoryItemId}" description="${inventoryItemId}" also-hidden="false" target-type="inter-app"/>
</field>
<field name="productId" entry-name="inventoryItemId">
<display-entity entity-name="InventoryItem" key-field-name="inventoryItemId" description="${productId}"/>
</field>
<field name="workEffortId"><hidden/></field>
<field name="productionRunId"><hidden/></field>
<field name="quantityOnHandDiff" title="${uiLabelMap.CommonQuantity}"><display/></field>
<field name="reasonEnumId">
<display-entity entity-name="Enumeration" key-field-name="enumId" description="${description}"/>
</field>
<field name="description"><display/></field>
</form>
<form name="IssueProductionRunComponent" type="single" target="issueProductionRunTaskComponent" title=""
header-row-style="header-row" default-table-style="basic-table">
<auto-fields-service service-name="issueProductionRunTaskComponent"/>
<field name="productionRunId"><hidden/></field>
<field name="fromDate"><ignored/></field>
<field name="reserveOrderEnumId"><ignored/></field>
<field name="workEffortId" title="${uiLabelMap.ManufacturingTask}">
<drop-down allow-empty="false">
<entity-options entity-name="WorkEffort" description="${workEffortName} [${workEffortId}]">
<entity-constraint name="workEffortParentId" env-name="productionRunId"/>
<entity-order-by field-name="workEffortId"/>
</entity-options>
</drop-down>
</field>
<field name="productId">
<lookup target-form-name="LookupProduct"/>
</field>
<field name="reasonEnumId">
<drop-down allow-empty="true">
<entity-options entity-name="Enumeration" key-field-name="enumId" description="${description}">
<entity-constraint name="enumTypeId" value="IID_REASON"/>
<entity-order-by field-name="description"/>
</entity-options>
</drop-down>
</field>
<field name="description"><text/></field>
<field name="submitButton" title="${uiLabelMap.CommonAdd}" widget-style="smallSubmit"><submit button-type="button"/></field>
</form>
</forms>