IBM Support

Want latest approved PO revision to display when doing a ‘quickfind’ search in Receiving application?

Technical Blog Post


Abstract

Want latest approved PO revision to display when doing a ‘quickfind’ search in Receiving application?

Body

In Maximo when using the ‘Find’ field in the toolbar ,if there are multiple records that can be returned, the required record may not be displayed on the screen.  This is also true when searching for a PO that has revisions in Receiving application.  Maximo will search only for the key that was entered and returns the first value it finds.  This is standard functionality. 

Note: If there are multiple records that can be returned from a ‘Find’ search, if the user selects the list tab after the search , all records (in this case PO revisions) will be displayed. 

Here is an easy way to make the latest approved PO revision be returned when doing a ‘Find’

All you need to do is add a line in the Receipts.xml by using the following steps.

  1. In application designer export the Receipts.xml
  2. Search for “selectmode="multiple" ” in the xml file
  3. Right after the first instance of that “selectmode="multiple" ” in Receipts.xml add " orderby="STATUS asc"  (See receipts.xml segment below for location)
  4. Save and re-import the Receipts.xml in Application designer

<?xml version="1.0" encoding="UTF-8" ?>

- <presentation apphelp="com.ibm.mbs.doc,receipts/c_receiving_app.html" beanclass="psdi.webclient.beans.receipts.ReceiptsAppBean" id="receipts" keyattribute="ponum" mboname="PO" resultstableid="results_showlist" version="7.1.0.0">

- <page id="mainrec">

  <include id="pageHeader" />

- <clientarea id="clientarea">

- <tabgroup id="maintabs" style="form">

- <tab default="true" id="results" label="List" type="list">

  <menubar event="search" id="actiontoolbar" sourcemethod="getAppSearchOptions" />

- <table datasrc="results_showlist" id="results_showlist" inputmode="readonly" label="POs" mboname="PO

" selectmode="multiple" orderby="STATUS asc">

  • <tablebody displayrowsperpage="20" filterable="true" filterexpanded="true" id="results_showlist_tablebody">

You are all set.  Now latest approved PO revision will return when doing a ‘Find’ search from the Receipts application header and entering PO number.

[{"Business Unit":{"code":"BU005","label":"IoT"}, "Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":""}]

UID

ibm11133325