Here’s some background info from the docs:
Object Formulas:
"An object formula is a formula that is not associated with any Mbo attribute but is just associated with the Mbo itself. These are often known as dynamic nonpersistent attributes because these expressions can be evaluated for a Mbo and their values used as input to other formulas, just like you would use an attribute value in other formulas. The difference being, we do not need to explicitly create these Mbo nonpersistent attributes (using DB config app+Admin mode etc) just to store a calculation.
If say we defined that overbudgetcost as a formula instead of a nonpersistent Mbo attribute, we could have used that as part of another formula like below:
exp$overbudgetcost + someothermboattr
The key thing here is, we can use the key word "exp$", append the object formula name to it and then use it as part of any other calculation."
REST API (page 14):
"You can select calculated values without creating non-persistent attributes by using the integration between the REST APIs and the object formula feature, which was included in Maximo Asset Management 7.6.0.5.
For example, you create a object formula called MYREPLACECOST for asset object by using the Object Formula action in the Database Configuration application. The formula is purchaseprice/NVL(priority,1)
. You can then select that formula property that is associated with the asset object by using the following API select clause:
GET /oslc/os/mxasset?oslc.select=assetnum,status,exp.myreplacecost,assetmeter{…}
The response is as if myreplacecost was an attribute of the asset MBO.
Note that this can be considered as a great alternative to defining non-persistent attributes just for the sake of holding calculated values. This acts like a dynamic attribute that does not need db config or admin mode."
#Maximo#AssetandFacilitiesManagement