Friday, January 19, 2018

Revisiting Querying Non-Persistent Fields

I've recently had a chance to use the method I developed to query non-persistent fields.  You can find the original article here.

It worked beautifully except it needed one small change in the DataBean's initialize method.

@Override
protected void initialize() throws MXException, RemoteException {    
    NPMboQbe.assignNewQbe(getMboSet(), new String[] { "CID_DEFECT" });    
    setQbe("CID_DEFECT", getQbe("CID_DEFECT"));
    super.initialize();
} 

This will cause the filter to be reapplied when the object is reloaded.

I have recently discovered that Maximo 7.6 ignores the filterable flag on non-persistent fields.  I'll have to spend some time to see what can be done.

No comments:

Post a Comment