Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Attribute Restrictions

    Posted 09/12/21 02:57 PM
    MAM 7.6.1.2:

    In the Database Configuration application, there is an action/window called Restrict Attributes.

    The RESTRICTED column in that window/table has this description in the Field Help:

    Table.Column: MAXATTRIBUTECFG.RESTRICTED

    Identifies whether the value of this attribute can be set only by methods local to the business object; for example, calculation of the value involves a method call on the Mbo. When an attribute is restricted, external processes should not attempt to set a value directly.



    I'm trying to understand what that means and how Restricted Attributes can be used.
    What is an example of an external processes that we would want to prevent from setting a value directly?

    Related page here:
    Business object attributes --> Restrictions on attributes

    Thanks.
    #AssetandFacilitiesManagement
    #Maximo


  • 2.  RE: Attribute Restrictions

    Posted 09/13/21 07:53 AM
    For clarity, this only impacts integrations into Maximo. One of the most common out of the box examples is the STATUS attribute on various objects. You don't want a user to set the record's status directly. Maximo will see that status is provided and invoke the proper changeStatus method to evalute the record (is the status change allowed, does the user have permission, create the history record, etc.). 

    An example of when you might choose to add a new restricted attribute is on an autonumber field (like WONUM). Integrations can typically set WONUM, but if you want to force it to be autonumbered (and not allow the integration to provide that value) you can mark it as restricted and then Maximo will not use the user's provided value and instead autonumber the record. Maximo by default will NOT autonumber the record via integration unless the attribute is restricted. 

    If you do your own manual processing (such as an inbound automation script) you can access what was provided for the attribute even though it's not set on the record itself. This would allow you to do your own processing if you have additional logic you need to execute. For example, if it's coming from a third party system and it sends it in as WONUM but you have a separate attribute you want to store it on you can.

    ------------------------------
    Steven Shull
    ------------------------------



  • 3.  RE: Attribute Restrictions

    Posted 09/13/21 08:17 AM
    Thanks Steven, that helps!