Sunday 31 January 2021

How to Add change Status on Custom Application

 tatus Maintenance on Custom Application

In order to maintain status in our custom Application, these are the Following requirements:

  • Objects
  • domain
  •  Relationship
  •  Field Class
  •  Custom Mbo classes
  • Status Handler class
  •  Beans
Objects:
  • Create one persistent and one non-persistent object to maintain status other than your custom Application Object.
  •  Create status,statusdate,memo fields in three objects(persistent ,non-persistent and main object(custom application object) with the same syntax.
Domain:
  • Create a synonym domain from the db2 database.
1. Create an entry on max domain table according to the max domain id and domain id
2. Create an entry on synonym domain table based on domain id entry on max domain table.
3. Add the domain to your Main object status field.
Relationship:
  •  Create a relationship between synonym domain and our Main object using where clause according to the domain id
Example:
  • Domain id='ZSTATUS' and value=:status and :&DOMAINFILTER&_STATUS Set the main object id in persistent status object and Create a relationship between Main object and persistent status Object using where clause.
  •  Create a relationship between Main object and Non-persistent object without any where clause
  • Field Class: Create a field class which extends Synonym domain or else use existing field class which is given by Maximo to the non-persistent field (status) of non-persistent object

No comments:

Post a Comment

IBM Readme for IBM Maximo Asset Management 7.6.1.3 Fix Pack

  Fix Readme Abstract This fix pack updates IBM® Maximo® Asset Management version 7.6.1, 7.6.1.1, and 7.6.1.2 Content IBM Maximo Asset Manag...