Maximo Open Forum

 View Only
  • 1.  Asset

    Posted 02-04-2023 14:28
    In asset-transmission application we have meter details section
    User requirement is
    When any meter METER.CG_ADDTOPATROL =0 then all meter details should be read only
    And in meter few fields are non persistent so we cannot make changes in global restrictions
    For that we need to prepare automation script
    And one more thing I can see that condition from meter table and when I see asset-entry application meter details are falling from assetmeter table
    So we have to get details from meter table to assetmeter
    Can anyone help me on how to write script?

    #Assets

    ------------------------------
    Swathi Rao
    Ibm
    ------------------------------


  • 2.  RE: Asset

    Posted 02-06-2023 05:45
    What I understood from your above explanation, you are having a Asset-Transmission application which has a meter detail section.

    Hi Swathi,

    1. What is the main object of Asset-Transmission Application. (Asset??)
    2. What is the main object of the Meter section in Asset Transmission App.  (AssetMeter ?? or Meter??)
    3. If there is a directly relationship exists between these main objects, you can create Global Data restriction by using that Relationship.fieldname as a condition.
    4. Otherwise you can write a custom condition script and associated it to to a conditional UI on the Meter section of Asset Transmission app which when evaluated to true will make the whole section read-only, though this looks possible without script.










    ------------------------------
    Subhransu Sekhar Sahoo
    Tata Consultancy Services
    ------------------------------



  • 3.  RE: Asset

    Posted 02-07-2023 11:15
    Thank you Sekhar,
    But I can see in asset-entry transmission app meter section details we have main object as assetmeter
    And which we have condition METER.CG_ADDTOPATROL=0 which is from meter table
    Can you suggest me further 


    ------------------------------
    Swathi Rao
    Ibm
    ------------------------------