Skip to Content
avatar image
Former Member

how to make fields mandatory based on user change the status on service order?

Hi Team,

My requirement is,service order creation screen when ever user change the status to E0009 then 3 drop down fields is set to mandatory.for this how to do it? could you please give me best solution to achieve this.

Thanks in advance.

Thanks & Regards

Kalpana.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Apr 01, 2016 at 12:54 PM

    Hello Kalpana,

    Please refer below.

    Make a field Dynamically Mandatory - Custom Solution

    Implement GET_P method for the WEB UI attribute which you want to make conditionally mandatory.

    I hope above helps.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2016 at 11:13 PM

    Hi Kalpana,

    You can create a new View Configuration with those 3 fields as mandatory. And then, in the DO_PREPARE_OUTPUT you can set the view if it is of that particular status.

    In the method, you need to read the relationship to get the status using BOL Programming. Then get the status and check if the status which you retrieved is the one you mentioned. And then call the method SET_CONFIG_KEYS and pass the values of the desired configuration.

    Let me know if you need help with the coding.

    Hope this helps.

    Thanks,

    Samantak.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 11, 2016 at 03:12 AM

    Hi Kalpana,

    Any update on this ? Were you able to proceed with the Technical Coding or you need some more technical input ?

    Thanks in advance.

    Best Regards,

    Samantak.

    Add comment
    10|10000 characters needed characters exceeded