Sales Offer activation restrictions RRS feed

  • Question

  • Hi,

    I'm trying to force my CRM users to attach a couple of files to each offer before it is activated. So far, I haven't figured out how to do it. I mean, at this point they can activate an offer without having to add the files.

    I appreciate it if anyone has a clue about how to do it.

    Monday, July 27, 2009 3:18 PM


  • Hi,

    You can write a Synchronous plugin on the pre event. You can then check the number of attached files and if there are none you can throw an InvalidPluginExecutionException with the error message you want to show to the user.

    Hope this helps.
    Monday, July 27, 2009 3:25 PM