How to access the Maximo list where clause programmatically

后端 未结 2 914
一整个雨季
一整个雨季 2021-01-19 04:50

In the WOTRACK app of Maximo, I need to find some way to programmatically access the where clause of the current window query. It\'s clear this exists somewhere in Maximo, s

2条回答
  •  星月不相逢
    2021-01-19 05:33

    Maximo has a number of different where clause sources (app restrictions, object restrictions, relationships, QBE (Query By Example) filters, site restrictions, and more). With an Automation Script (Python or JavaScript), you should be able to snag what you're looking for from mbo.getThisMboSet().getUserWhere() or .getUserAndQbeWhere() or .getWhere(). As a commenter pointed out, .getCompleteWhere() may also be helpful.

    You can find the JavaDocs on those psdi.mbo.MboSet methods, or find other "where clause getting" methods, here.

提交回复
热议问题