svn commit: r1751334 - /ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1751334 - /ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

diveshdutta
Author: diveshdutta
Date: Mon Jul  4 16:30:50 2016
New Revision: 1751334

URL: http://svn.apache.org/viewvc?rev=1751334&view=rev
Log:
[OFBIZ-7522] Hidden user inputs for Location/Lot# for fully issued components against production run task

Modified:
    ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml

Modified: ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml?rev=1751334&r1=1751333&r2=1751334&view=diff
==============================================================================
--- ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/widget/manufacturing/ProductionRunForms.xml Mon Jul  4 16:30:50 2016
@@ -334,12 +334,6 @@ under the License.
         <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>
@@ -348,7 +342,7 @@ under the License.
         </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">
+        <field name="locationSeqId" use-when="estimatedQuantity != issuedQuantity">
             <drop-down allow-empty="true">
                 <entity-options entity-name="ProductFacilityLocation" description="${locationSeqId}">
                     <entity-constraint name="productId" env-name="productId"/>
@@ -356,7 +350,7 @@ under the License.
                 </entity-options>
             </drop-down>
         </field>
-        <field name="secondaryLocationSeqId">
+        <field name="secondaryLocationSeqId" use-when="estimatedQuantity != issuedQuantity">
             <drop-down allow-empty="true">
                 <entity-options entity-name="ProductFacilityLocation" description="${locationSeqId}" key-field-name="locationSeqId">
                     <entity-constraint name="productId" env-name="productId"/>
@@ -364,6 +358,12 @@ under the License.
                 </entity-options>
             </drop-down>
         </field>
+        <field name="failIfItemsAreNotAvailable" use-when="estimatedQuantity != issuedQuantity">
+            <drop-down allow-empty="false">
+                <option key="Y" description="${uiLabelMap.CommonYes}"/>
+                <option key="N" description="${uiLabelMap.CommonNo}"/>
+            </drop-down>
+        </field>
         <field name="_rowSubmit"><hidden value="Y"/></field>
         <field name="submitButton" title="${uiLabelMap.CommonSubmit}"><submit/></field>
     </form>