CA Service Management

  • 1.  LRELNAME for Change to Request

    Posted Sep 21, 2018 05:24 PM

    Want to use the createLrelRelationship web service call to create a link between a Request that I am creating for an existingChange Order.  I know that I need the PERSID for both objects, but what is the LRELNAME for this this type of relationship?



  • 2.  Re: LRELNAME for Change to Request

    Posted Sep 22, 2018 07:38 AM

    Hi,

    you can get LREL name from schema using cmd:

    bop_sinfo -a cr | find "BREL"
    bop_sinfo -a chg | find "BREL"

    Regards.



  • 3.  Re: LRELNAME for Change to Request

    Posted Sep 22, 2018 02:04 PM

    Where would I find it in the LREL name.  In some of the lines there is an {LREL ...} like for attachments.  Below are lines that see to have anything relating to CRs

     

    This all started because I tried creating a request with a Change Order as the "parent".  That failed.  In the call_req table, I do see that there is a "change"  column in there.  I tried putting

          <string>change</string><string>4444444</string>    instead of 

          <string>parent</string><string>chg:4444444</string>   in the createRequest web service call because "change" is in the object however the error message came back with "Error - could not get attribute cache UDS Attribute".   So I am still lost on how to create a Request that is associated with a Change.  When I use a field in the createRequest or how I would use the "createLrelRelationship" to do the association.



  • 4.  Re: LRELNAME for Change to Request

    Posted Sep 22, 2018 02:17 PM

    as change's foreigen key is integer have you tried to define it as:

    <string>parent</string>
    <string>444444</string>


  • 5.  Re: LRELNAME for Change to Request

    Posted Sep 22, 2018 02:24 PM

    Parent requires the persid not the I'd.  I've tried change with both I'd and persid and they fail

     

    Get Outlook for Android<https://aka.ms/ghei36>



  • 6.  Re: LRELNAME for Change to Request

    Posted Sep 22, 2018 02:27 PM

    Also change can't be parent of cr

     

    Get Outlook for Android<https://aka.ms/ghei36>



  • 7.  Re: LRELNAME for Change to Request

    Posted Sep 22, 2018 02:40 PM

    yeah, seems like we had wrong determined correct attibute

    you can use cmd:

    bop_sinfo -a cr | find "chg"

    to get all Cr's Change relations and then create correct SREL relation.