Author: jacopoc
Date: Wed May 28 00:55:27 2008
New Revision: 660849
URL:
http://svn.apache.org/viewvc?rev=660849&view=revLog:
Added field to search inventory items by lot id.
Modified:
ofbiz/trunk/applications/product/webapp/facility/facility/FacilityForms.xml
Modified: ofbiz/trunk/applications/product/webapp/facility/facility/FacilityForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/FacilityForms.xml?rev=660849&r1=660848&r2=660849&view=diff==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/facility/FacilityForms.xml (original)
+++ ofbiz/trunk/applications/product/webapp/facility/facility/FacilityForms.xml Wed May 28 00:55:27 2008
@@ -66,6 +66,7 @@
<field name="manufacturerPartyId">
<lookup target-form-name="LookupPartyName"/>
</field>
+ <field name="lotId"><text/></field>
<!-- the content of the softIdentifier field is converted from hex to int if it starts with "0x";
this is a nice example of using JavaScript in a form widget definition -->
<field name="submitButton" title="${uiLabelMap.CommonFind}" event="onClick" action="javascript:var field=document.SearchInventoryItemsParams.softIdentifier;var tmp=field.value;if (tmp.substring(0, 2) == '0x') {tmp=parseInt(tmp, 16)};if (!isNaN(tmp)) {field.value=tmp};return true;">