Author: jacopoc
Date: Tue Aug 3 14:22:51 2010
New Revision: 981898
URL:
http://svn.apache.org/viewvc?rev=981898&view=revLog:
Added information about the initial (creation) quantity for the inventory items created by a production run.
Modified:
ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml
Modified: ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml?rev=981898&r1=981897&r2=981898&view=diff==============================================================================
--- ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml (original)
+++ ofbiz/trunk/applications/manufacturing/webapp/manufacturing/jobshopmgt/ProductionRunForms.xml Tue Aug 3 14:22:51 2010
@@ -134,6 +134,13 @@ under the License.
</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-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"/>
@@ -141,6 +148,7 @@ under the License.
</field>
<field name="lotId" entry-name="inventoryItemId"><display-entity entity-name="InventoryItem" key-field-name="inventoryItemId" description="${lotId} "/></field>
<field name="unitCost" entry-name="inventoryItemId"><display-entity entity-name="InventoryItem" key-field-name="inventoryItemId" description="${unitCost} "/></field>
+ <field name="quantity" entry-name="quantityOnHandDiff"><display/></field>
<field name="creationDate" entry-name="inventoryItemId"><display-entity entity-name="InventoryItem" key-field-name="inventoryItemId" description="${datetimeReceived}"/></field>
</form>