web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to add a new state to a record

(0) ShareShare
ReportReport
Posted on by

Hi everyone. How can I add a new state to a record? I see "statecode" but there's no place to change anything.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi CRM,

    I answered this same question a few weeks ago at community.dynamics.com/.../428720

    Details:

    Status and status reason (schema names statecode and statuscode) are tightly linked together. Most entities have two States, Active and Inactive. Within each state there can be many statuses (Active/Pending, Active/Approved, Active/Working, Inactive/Canceled, Inactive/Expired, etc).

    In CRM you are not allowed to add new states, except for sales related entities you'll usually just have active and inactive states to work with. In each state, you can add as many statuses as you like. You should try to organize your statuses so that, when a record gets an Inactive status, there will be no more changes to the record. In you example, I would have the state and status combinations:

    Active: New, Release

    Inactive: Complete, Cancel

    You can customize the status by opening the statusreason field in the customizations and updating them like any other drop down. The only difference is that you'll see a selector for which "status" the new option belongs to (see the screenshot below).

    If this is helpful, I'd appreciate if you could mark this as the verified answer.

    Thanks!

    Aiden

    6663.statuscode.png

  • Mahendar Pal Profile Picture
    45,095 on at

    In addition to that, you could also setup your own custom statecode field (for user perspective) , which will show more status options to your record and internally you can map them with existing statecodes only, you could use workflow for this easily.

    Hope it will help.

    Thanks

  • Aileen Gusni Profile Picture
    44,524 on at

    Hi CRM

    Statecode (active n inactive) you cant change.

    You can only change the status reason.

    So yes you wont be able to change the status.

    To change add new item in the status reason field you can just go to the customization and find the entity and field.

    Hope this helps.

    THanks.

  • Community Member Profile Picture
    on at

    Thanks for the answers. If I wanted to use the builtin states, can I change the labels?

  • Verified answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi again,

    No, I don't believe you can change the labels of the state codes the way you would with other fields. msdn.microsoft.com/.../dn689032.aspx says you can but that may be through a custom state transition (I haven't used them before though so if it works I'd appreciate if you let me know).

    Thanks,

     Aiden

  • Verified answer
    Aileen Gusni Profile Picture
    44,524 on at

    Hi CRM,

    Maybe you can take a look on this article:

    crmbusiness.wordpress.com/.../crm-2013-understanding-status-and-status-reason-and-be-careful-deleting-them

    And you can change it but using code:

    community.dynamics.com/.../143054

    But it is said only for some entities.

    Hope this helps

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans