Topic
  • 2 replies
  • Latest Post - ‏2017-06-30T21:47:51Z by fredericMarchal
fredericMarchal
fredericMarchal
4 Posts

Pinned topic stop the load of purchase order from the procurement tab of capital project record if no contacts exist with particular role in capital project

‏2017-06-29T22:03:49Z | and capital contacts for form from loading of order project purchase stop test the

Hello,

In procurement tab of capital project form, we have a section that allow to add some purchase orders.

An "add" command exist in this section. If the user select this command, the purchase order form is loaded automatically at the screen and the user can fill value for all fields.

The business request is to not load the purchase order form if no contacts exist  ( with particular role ) in contact tab of capital project form.

How can we do that ?

Thanks in advance for your feedback.

Updated on 2017-06-29T22:04:29Z at 2017-06-29T22:04:29Z by fredericMarchal
  • Casey Cantwell
    Casey Cantwell
    177 Posts
    ACCEPTED ANSWER

    Re: stop the load of purchase order from the procurement tab of capital project record if no contacts exist with particular role in capital project

    ‏2017-06-29T22:44:02Z  

    One option is to hide the 'Add' by default, and than use a meta data task to show the add action once a contact has been added.  You would also need to run a modify meta data task to hide the add command if all of the contacts were removed.  

    Updated on 2017-06-29T22:44:26Z at 2017-06-29T22:44:26Z by Casey Cantwell
  • Casey Cantwell
    Casey Cantwell
    177 Posts

    Re: stop the load of purchase order from the procurement tab of capital project record if no contacts exist with particular role in capital project

    ‏2017-06-29T22:44:02Z  

    One option is to hide the 'Add' by default, and than use a meta data task to show the add action once a contact has been added.  You would also need to run a modify meta data task to hide the add command if all of the contacts were removed.  

    Updated on 2017-06-29T22:44:26Z at 2017-06-29T22:44:26Z by Casey Cantwell
  • fredericMarchal
    fredericMarchal
    4 Posts

    Re: stop the load of purchase order from the procurement tab of capital project record if no contacts exist with particular role in capital project

    ‏2017-06-30T21:47:51Z  

    One option is to hide the 'Add' by default, and than use a meta data task to show the add action once a contact has been added.  You would also need to run a modify meta data task to hide the add command if all of the contacts were removed.  

    Thanks for your feedback. It works.