Disable Field Validation In Mobile

Technote (FAQ)


Question

Can I turn off field validation in Maximo Mobile?

Answer

Some fields in Maximo mobile have validation against them, An example of when you may want to disable validation is when you are performing inventory issues.

When you scan in the item to be issued, and the item record is not on the device, you are prompted to Accept Value,Cancel & Clear or Look-up,




If you have bar code scanning enabled you do not need to download all your inventory records, by scanning the barcode you know the data will be correct, Not downloading all your inventory will help with refresh performance. You also do not want to be prompted with these choices every time you scan in your inventory item, so this would be a good place to disable validation.

Turning off validation is done in the mobileinv.xml. For the new inventory issue example you will search in the mobileinv.xml for the "New Issue Details Screen" <page id="NEW_ISSUE_DETAILS"
In this section of the xml file you want to remove the domain and domainattribute for the fields you do not wish to validated. In the screen shot below I have selected to remove validation from ITEMNUM, STORELOC and BINNUM.


<section id="newissuedetails" scrollable="true">
<!-- Issue 08-17565 Auto complete some fields -->
<textbox id="newissuedetails_1" dataattribute="ITEMNUM" lookup="iteminvbalisslookup" inputmode="required" domain="INVBALANCES" domainattribute="ITEMNUM" validateevent="autocompleteitemnum"/>
<!-- Issue 09-17718 - added validateevent -->
<textbox id="newissuedetails_3" dataattribute="STORELOC" lookup="locinvballookup" inputmode="required" domain="STORELOCATIONS" domainattribute="LOCATION" validateevent="validateStoreLoc"/>
<textbox id="newissuedetails_4" dataattribute="BINNUM" lookup="bininvballookup" domain="INVBALANCES" domainattribute="BINNUM"/>

When done it will look like this.

<section id="newissuedetails" scrollable="true">
<!-- Issue 08-17565 Auto complete some fields -->
<textbox id="newissuedetails_1" dataattribute="ITEMNUM" lookup="iteminvbalisslookup" inputmode="required" validateevent="autocompleteitemnum"/>
<!-- Issue 09-17718 - added validateevent -->
<textbox id="newissuedetails_3" dataattribute="STORELOC" lookup="locinvballookup" inputmode="required" validateevent="validateStoreLoc"/>
<textbox id="newissuedetails_4" dataattribute="BINNUM" lookup="bininvballookup" />



Once this is done you will run importall and packagemobile and send the new jar files to the mobile device. Now when you scan the item mobile will simply accept the value entered.


Cross reference information
Segment Product Component Platform Version Edition
Systems and Asset Management IBM Maximo Mobile Work Manager Mobile Work Mgr Windows 6.5 All Editions

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Maximo Mobile Inventory Manager
Mobile Inv Mgr

Software version:

6.4, 6.5, 7.1, 7.5

Operating system(s):

Windows

Software edition:

All Editions

Reference #:

1455587

Modified date:

2013-07-29

Translate my page

Machine Translation

Content navigation