Tip #1364: Customizing opportunity close status reasons

So you followed tip 1290 and you customized your opportunity close form. Great! But now that you did that, users don’t see all of the win/lose status reasons to select when closing the opportunity. What’s up with that?

First thing to remember is that the custom opportunity close is a quick create form for a different entity called Opportunity Close. If you make changes to the status reasons of opportunity, opportunity close doesn’t automatically know about them.

The way to inform opportunity close of your customized status reasons is to add them (including the same option set value) to the opportunitystatuscode field on opportunity close. If the values of status reason from opportunity are in the opportunity close opportunitystatuscode field, users closing an opportunity using the custom opportunity close field will see the correct options.

Cover image Pye Records / Public domain

4 thoughts on “Tip #1364: Customizing opportunity close status reasons

  1. Rob Dawson says:

    Nice tip. Equally applicable to custom case resolution, needing to add the options to this field:

    ResolutionTypeCode Resolution Type

  2. Mario Costa says:

    Great, Helps a lot!!!

  3. John Kegel says:

    Great tip, thanks. Somehow, though, while adding the option set values, I overwrote “Unassigned Value” functionality. In other words, now default value “Unassigned Value” doesn’t work.

  4. Cornelia Proebstle says:

    The added status reasons are only shown in Close as Lost, not in Close as Won. Within Close as Won the only status reason available is Won though in entity opportunity there are several status reasons for statecode won. Any idea what this could be caused by?

Leave a Reply to Cornelia Proebstle Cancel reply

Your email address will not be published.