Clarity Service Management

Expand all | Collapse all

restrict edit CHG but not attachment

  • 1.  restrict edit CHG but not attachment

    Posted 05-02-2016 02:17 AM

    hi there, i want to restrict user to edit change orders once submit but they can upload attachment at any point.

     

    restrict is done from Data Partition constraint this also disable the upload attachment.

    any possibility to sort this issue?



  • 2.  Re: restrict edit CHG but not attachment

    Posted 05-02-2016 03:59 AM

    Hi,

    Do you wan't to remove this restriction on end user or analyst interface?



  • 3.  Re: restrict edit CHG but not attachment

    Posted 05-02-2016 05:15 AM

    its employee interface (end user).

    i want end user/ Requester to upload attachment even cannot edit the CO.



  • 4.  Re: restrict edit CHG but not attachment

    Posted 05-02-2016 05:22 AM

    Try to change

    <PDM_IF "$ACCESS.FAC_chg" \> 1>

    <PDM_IF "$args.active" == "1" &&  "$args.status" != "CL">

    <PDM_IF "$prop.guest_user" != 1>

    <PDM_MACRO name=button caption="Edit Change" func="pdm_submit('main_form','UPDATE')" hotkey_name="Edit Change" id=btn001>

    </PDM_IF>

    <PDM_MACRO name=button caption="Add Comment" func="add_activity_log('$args.persistent_id', true)" hotkey_name="Add Comment" id=btn002>

    var query_str = cfgCgi + "?SID=$prop.SID+FID=$prop.FID" +

       "+OP=CREATE_NEW+FACTORY=attmnt+NEXT_PERSID=$args.persistent_id" +

       "+attmnt_parent=chg";

     

    <PDM_MACRO name=button caption="Attach Document" func=browseWithURL(query_str) hotkey_name="Attach Document" id=btn004>

     

    to

     

    <PDM_MACRO name=button caption="Attach Document" func=browseWithURL(query_str) hotkey_name="Attach Document" id=btn004>

    <PDM_IF "$ACCESS.FAC_chg" \> 1>

    <PDM_IF "$args.active" == "1" &&  "$args.status" != "CL">

    <PDM_IF "$prop.guest_user" != 1>

    <PDM_MACRO name=button caption="Edit Change" func="pdm_submit('main_form','UPDATE')" hotkey_name="Edit Change" id=btn001>

    </PDM_IF>

    <PDM_MACRO name=button caption="Add Comment" func="add_activity_log('$args.persistent_id', true)" hotkey_name="Add Comment" id=btn002>

    var query_str = cfgCgi + "?SID=$prop.SID+FID=$prop.FID" +

       "+OP=CREATE_NEW+FACTORY=attmnt+NEXT_PERSID=$args.persistent_id" +

       "+attmnt_parent=chg";



  • 5.  Re: restrict edit CHG but not attachment

    Posted 05-02-2016 05:49 AM

    didnt work.



  • 6.  Re: restrict edit CHG but not attachment

    Posted 05-10-2016 03:05 AM

    i want it in the Analyst Interface also



  • 7.  Re: restrict edit CHG but not attachment

    Posted 05-10-2016 03:46 PM

    Did the button appeared?