You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2011/08/22 14:14:26 UTC
svn commit: r1160233 [4/4] - in /ofbiz/trunk/applications:
commonext/widget/ofbizsetup/ content/webapp/content/WEB-INF/actions/survey/
content/webapp/content/cms/ content/webapp/content/contentsetup/
content/webapp/content/datasetup/ content/webapp/con...
Copied: ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml (from r1160221, ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml)
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml?p2=ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml&p1=ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml&r1=1160221&r2=1160233&rev=1160233&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml Mon Aug 22 12:14:25 2011
@@ -1,980 +0,0 @@
-<?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="createDependentProductionRuns" title="${uiLabelMap.ManufacturingCreateDependentProductionRuns}">
- <drop-down allow-empty="false">
- <option key="N" description="${uiLabelMap.CommonNo}"/>
- <option key="Y" description="${uiLabelMap.CommonYes}"/>
- </drop-down>
- </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.CommonFind}"><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="result" result-map-list="listIt">
- <field-map field-name="inputFields" from-field="requestParameters"/>
- <field-map field-name="entityName" value="WorkEffortAndGoods"/>
- <field-map field-name="viewIndex" from-field="viewIndex"/>
- <field-map field-name="viewSize" from-field="viewSize"/>
- <field-map field-name="orderBy" value="estimatedStartDate"/>
- </service>
- </actions>
- <field name="workEffortId" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
- <hyperlink target="ShowProductionRun" description="${workEffortId}" also-hidden="false">
- <parameter param-name="productionRunId" from-field="workEffortId"/>
- </hyperlink>
- </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" description="${orderId}/${orderItemSeqId}" also-hidden="false" target-type="inter-app">
- <parameter param-name="orderId"/>
- </hyperlink>
- </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">
- <row-actions>
- <entity-one entity-name="InventoryItem" value-field="inventoryItem"/>
- <entity-condition entity-name="InventoryItemDetail" list="inventoryItemDetails">
- <condition-expr field-name="inventoryItemId" operator="equals" from-field="inventoryItemId"/>
- <order-by field-name="inventoryItemDetailSeqId"/>
- </entity-condition>
- <set field="quantityOnHandDiff" from-field="inventoryItemDetails[0].quantityOnHandDiff"/>
- </row-actions>
- <field name="inventoryItemId" widget-style="buttontext">
- <hyperlink target="/facility/control/EditInventoryItem" description="${inventoryItemId}" also-hidden="false" target-type="inter-app">
- <parameter param-name="inventoryItemId"/>
- </hyperlink>
- </field>
- <field name="lotId" map-name="inventoryItem"><display/></field>
- <field name="statusId" map-name="inventoryItem"><display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/></field>
- <field name="unitCost" map-name="inventoryItem"><display/></field>
- <field name="quantity" entry-name="quantityOnHandDiff"><display/></field>
- <field name="datetimeReceived" map-name="inventoryItem"><display/></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="${groovy:estimatedMilliSeconds * quantity}" type="BigDecimal"/>
- </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="reservPersons"><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="${groovy:estimatedMilliSeconds * quantity}" type="BigDecimal"/>
- </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="reservPersons"><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" description="${uiLabelMap.CommonEdit}" also-hidden="false">
- <parameter param-name="routingTaskId" from-field="workEffortId"/>
- <parameter param-name="productionRunId" from-field="workEffortParentId"/>
- </hyperlink>
- </field>
- <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
- <!--<hyperlink target="RemoveRoutingTaskAssoc" description="[${uiLabelMap.CommonDelete}]" also-hidden="false">
- <parameter param-name="workEffortIdFrom"/>
- <parameter param-name="workEffortIdTo"/>
- <parameter param-name="fromDate"/>
- <parameter param-name="workEffortAssocTypeId" value="ROUTING_COMPONENT"/>
- </hyperlink>-->
- <hyperlink target="deleteProductionRunRoutingTask" description="${uiLabelMap.CommonDelete}" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="productionRunId" from-field="workEffortParentId"/>
- </hyperlink>
- </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="reservPersons"><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">
- <actions>
- <set field="useRequestParameters" value="false" type="Boolean"/>
- </actions>
- <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.CommonActualStartDate}"><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="${uiLabelMap.ManufacturingProduceQuantityMessage}"><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="reservPersons"><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=""${startTaskId}".equals("${workEffortId}")">
- <hyperlink target="changeProductionRunTaskStatus" description="${uiLabelMap.ManufacturingStartProductionRunTask}" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="productionRunId" from-field="workEffortParentId"/>
- </hyperlink>
- </field>
- <field name="issueLinkAtp" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when=""${issueTaskId}".equals("${workEffortId}")">
- <hyperlink target="issueProductionRunRoutingTask" description="${uiLabelMap.ManufacturingIssueAvailableProductionRunTask}" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="productionRunId" from-field="workEffortParentId"/>
- <parameter param-name="failIfItemsAreNotAvailable" value="Y"/>
- </hyperlink>
- </field>
- <field name="issueLinkQoh" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when=""${issueTaskId}".equals("${workEffortId}")">
- <hyperlink target="issueProductionRunRoutingTask" description="${uiLabelMap.ManufacturingIssueProductionRunTask}" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="productionRunId" from-field="workEffortParentId"/>
- <parameter param-name="failIfItemsAreNotAvailable" value="N"/>
- </hyperlink>
- </field>
- <field name="declareLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when=""PRUN_RUNNING".equals("${currentStatusId}")">
- <hyperlink target="ProductionRunDeclaration" description="${uiLabelMap.ManufacturingDeclareProductionRunTask}" also-hidden="false">
- <parameter param-name="actionForm" value="EditRoutingTask"/>
- <parameter param-name="routingTaskId" from-field="workEffortId"/>
- <parameter param-name="productionRunId" from-field="workEffortParentId"/>
- </hyperlink>
- </field>
- <field name="completeLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit" use-when=""${completeTaskId}".equals("${workEffortId}")">
- <hyperlink target="changeProductionRunTaskStatus" description="${uiLabelMap.ManufacturingCompleteProductionRunTask}" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="productionRunId" from-field="workEffortParentId"/>
- </hyperlink>
- </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="${uiLabelMap.CommonSubmit}">
- <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="${groovy: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="${groovy: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.ProductInventoryItem}" widget-style="buttontext">
- <hyperlink target="/facility/control/EditInventoryItem" description="${inventoryItemId}" also-hidden="false" target-type="inter-app">
- <parameter param-name="inventoryItemId"/>
- </hyperlink>
- </field>
- </form>
- <form name="FindDelivProductContent" type="single" target="ProductionRunContent">
- <field name="productionRunId"><hidden/></field>
- <field name="productId" entry-name="delivProductId"><hidden/></field>
- <field name="contentLocale">
- <text default-value="${locale}"/>
- </field>
- <field name="partyId">
- <lookup target-form-name="LookupCustomerName"/>
- </field>
- <field name="roleTypeId">
- <hidden value="CONTENT_USER"/>
- </field>
- <field name="submitButton" title="${uiLabelMap.CommonFind}">
- <submit button-type="button"/>
- </field>
- </form>
- <form name="ListProductionRunContent" type="list" title="" list-name="productionRunContents">
- <actions>
- <entity-and entity-name="WorkEffortContentAndInfo" list="productionRunContents">
- <field-map field-name="workEffortId" from-field="productionRunId"/>
- </entity-and>
- </actions>
- <field name="workEffortId"><hidden/></field>
- <field name="contentId"><display/></field>
- <field name="drDataResourceId"><display/></field>
- <field name="workEffortContentTypeId"><display-entity entity-name="WorkEffortContentType" description="${description}"/></field>
- <field name="contentTypeId"><display-entity entity-name="ContentType" description="${description}"/></field>
- <field name="contentName"><display/></field>
- <field name="description"><display/></field>
- <field name="localeString"><display/></field>
- <field name="description"><display/></field>
- <field name="drMimeTypeId"><display/></field>
- <field name="drObjectInfo" title="${uiLabelMap.CommonContent}">
- <display description="default ${drObjectInfo}"/>
- </field>
- <field name="drObjectInfo" title="${uiLabelMap.CommonContent}" use-when="${groovy: drDataResourceTypeId != null && (drDataResourceTypeId.contains("FILE") || drDataResourceTypeId.equals("IMAGE_OBJECT"))}">
- <hyperlink target="/content/control/ViewBinaryDataResource" target-type="content" target-window="productionRunContentWindow" description="${drObjectInfo}">
- <parameter param-name="dataResourceId" from-field="drDataResourceId"/>
- </hyperlink>
- </field>
- <field name="drObjectInfo" title="${uiLabelMap.CommonContent}" entry-name="drDataResourceId" encode-output="true" use-when="${groovy: drDataResourceTypeId != null && drDataResourceTypeId.equals("ELECTRONIC_TEXT")}">
- <display-entity entity-name="ElectronicText" key-field-name="dataResourceId" description="${textData}"></display-entity>
- </field>
- <field name="deleteLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="smallSubmit">
- <hyperlink description="${uiLabelMap.CommonDelete}" also-hidden="false" target="deleteProductionRunContent">
- <parameter param-name="workEffortId"/>
- <parameter param-name="workEffortContentTypeId"/>
- <parameter param-name="contentId"/>
- <parameter param-name="fromDate"/>
- <parameter param-name="productionRunId" from-field="productionRunId"/>
- </hyperlink>
- </field>
- </form>
- <form name="ListDelivProductContent" type="multi" use-row-submit="true" target="createProductionRunContents?productionRunId=${productionRunId}" title="" list-name="delivProductContentsForLocaleAndUser">
- <field name="productionRunId"><hidden/></field>
- <field name="workEffortId" entry-name="productionRunId"><hidden/></field>
- <field name="contentId"><display/></field>
- <field name="drDataResourceId"><display/></field>
- <field name="contentTypeId"><display-entity entity-name="ContentType" description="${description}"/></field>
- <field name="contentName"><display/></field>
- <field name="description"><display/></field>
- <field name="localeString"><display/></field>
- <field name="description"><display/></field>
- <field name="drMimeTypeId"><display/></field>
- <field name="drObjectInfo" title="${uiLabelMap.CommonContent}">
- <display description="default ${drObjectInfo}"/>
- </field>
- <field name="drObjectInfo" title="${uiLabelMap.CommonContent}" use-when="${groovy: drDataResourceTypeId != null && (drDataResourceTypeId.contains("FILE") || drDataResourceTypeId.equals("IMAGE_OBJECT"))}">
- <hyperlink target="/content/control/ViewBinaryDataResource" target-type="content" target-window="productionRunContentWindow" description="${drObjectInfo}">
- <parameter param-name="dataResourceId" from-field="drDataResourceId"/>
- </hyperlink>
- </field>
- <field name="drObjectInfo" title="${uiLabelMap.CommonContent}" entry-name="drDataResourceId" encode-output="true" use-when="${groovy: drDataResourceTypeId != null && drDataResourceTypeId.equals("ELECTRONIC_TEXT")}">
- <display-entity entity-name="ElectronicText" key-field-name="dataResourceId" description="${textData}"></display-entity>
- </field>
- <field name="workEffortContentTypeId"><drop-down><entity-options description="${description}" entity-name="WorkEffortContentType"></entity-options></drop-down></field>
- <field name="_rowSubmit" title="${uiLabelMap.CommonSelected}"><check/></field>
- <field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit/></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="!"${declarationScreen}".equals("Y")">
- <hyperlink description="${uiLabelMap.CommonDelete}" also-hidden="false" target="removeWorkEffortFixedAssetAssign">
- <parameter param-name="workEffortId"/>
- <parameter param-name="fixedAssetId"/>
- <parameter param-name="fromDate"/>
- <parameter param-name="productionRunId" from-field="productionRunId"/>
- </hyperlink>
- </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("Y")" 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="${uiLabelMap.CommonSubmit}">
- <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" widget-style="buttontext">
- <hyperlink target="/ordermgr/control/orderview" target-type="inter-app" description="${orderId}">
- <parameter param-name="orderId" from-field="orderId"/>
- </hyperlink>
- </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="productionRunId" widget-style="buttontext">
- <hyperlink target="ShowProductionRun" description="${productionRunId}" also-hidden="false">
- <parameter param-name="productionRunId" from-field="productionRunId"/>
- </hyperlink>
- </field>
- <field name="productionRunStatusId"><display-entity entity-name="StatusItem" key-field-name="statusId"/></field>
- <field name="productionRunEstimatedCompletionDate"><display/></field>
- <field name="productionRunQuantityProduced"><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" header-row-style="header-row-2">
- <field name="shipmentId" widget-style="buttontext" sort-field="true">
- <hyperlink target="/facility/control/ViewShipment" target-type="inter-app" description="${shipmentId}">
- <parameter param-name="shipmentId" from-field="shipmentId"/>
- </hyperlink>
- </field>
- <field name="statusId">
- <display-entity entity-name="StatusItem" key-field-name="statusId" description="${description}"/>
- </field>
- <field name="estimatedShipDate" sort-field="true"><display/></field>
- <field name="viewShipmentPlanLink" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext">
- <hyperlink target="WorkWithShipmentPlans" description="${uiLabelMap.CommonView}" also-hidden="false">
- <parameter param-name="shipmentId"/>
- </hyperlink>
- </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" description="${workEffortIdFrom}" also-hidden="false">
- <parameter param-name="productionRunId" from-field="workEffortIdFrom"/>
- </hyperlink>
- </field>
- <field name="workEffortName" title="${uiLabelMap.ManufacturingTaskName}" entry-name="workEffortIdFrom">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName} " cache="true"/>
- </field>
- <field name="quantityToProduce" title="${uiLabelMap.ManufacturingQuantityToProduce}" entry-name="workEffortIdFrom">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityToProduce} " cache="true"/>
- </field>
- <field name="quantityProduced" title="${uiLabelMap.ManufacturingQuantityProduced}" entry-name="workEffortIdFrom">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityProduced} " cache="true"/>
- </field>
- <field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}" 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" title="${uiLabelMap.CommonActualStartDate}" entry-name="workEffortIdFrom">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${actualStartDate} " cache="true"/>
- </field>
- <field name="actualCompletionDate" title="${uiLabelMap.ManufacturingActualCompletionDate}" 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" description="${workEffortIdTo}" also-hidden="false">
- <parameter param-name="productionRunId" from-field="workEffortIdTo"/>
- </hyperlink>
- </field>
- <field name="workEffortName" title="${uiLabelMap.ManufacturingTaskName}" entry-name="workEffortIdTo">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${workEffortName} " cache="true"/>
- </field>
- <field name="quantityToProduce" title="${uiLabelMap.ManufacturingQuantityToProduce}" entry-name="workEffortIdTo">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityToProduce} " cache="true"/>
- </field>
- <field name="quantityProduced" title="${uiLabelMap.ManufacturingQuantityProduced}" entry-name="workEffortIdTo">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${quantityProduced} " cache="true"/>
- </field>
- <field name="estimatedStartDate" title="${uiLabelMap.ManufacturingStartDate}" 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" title="${uiLabelMap.CommonActualStartDate}" entry-name="workEffortIdTo">
- <display-entity entity-name="WorkEffort" key-field-name="workEffortId" description="${actualStartDate} " cache="true"/>
- </field>
- <field name="actualCompletionDate" title="${uiLabelMap.ManufacturingActualCompletionDate}" 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" description="${uiLabelMap.CommonDelete}" also-hidden="false">
- <parameter param-name="workEffortId"/>
- <parameter param-name="fromDate"/>
- <parameter param-name="productId"/>
- <parameter param-name="workEffortGoodStdTypeId"/>
- <parameter param-name="productionRunId"/>
- </hyperlink>
- </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="${groovy:-1*quantityOnHandDiff}" type="BigDecimal"/>
- </row-actions>
- <field name="inventoryItemId" widget-style="buttontext">
- <hyperlink target="/facility/control/EditInventoryItem" description="${inventoryItemId}" also-hidden="false" target-type="inter-app">
- <parameter param-name="inventoryItemId"/>
- </hyperlink>
- </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="unitCost" entry-name="inventoryItemId">
- <display-entity entity-name="InventoryItem" key-field-name="inventoryItemId" description="${unitCost}"/>
- </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.ManufacturingTaskId}">
- <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>
Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/ReportScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/ReportScreens.xml?rev=1160233&r1=1160232&r2=1160233&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/widget/manufacturing/ReportScreens.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/ReportScreens.xml Mon Aug 22 12:14:25 2011
@@ -32,7 +32,7 @@ under the License.
<decorator-screen name="main-decorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<screenlet title="${uiLabelMap.ManufacturingReports}">
- <include-form name="SelectMrpName" location="component://manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml"/>
+ <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>