Notifications
Announcements
No record found.
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
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
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
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.
Thanks for the answers. If I wanted to use the builtin states, can I change the labels?
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,
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2