Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics 365 on-premises reset account statecode when adding an existing account to another account or another parent entity

(0) ShareShare
ReportReport
Posted on by 91

Hi all,

I have a strange problem, the statecode of account entity has added serveral more values like 0=draft, 100000=wait for approval  100001=normal client. and we have a customized entity named "shared group" which is N:1(or 1:N) relationship with account entity, the strange thing is that when I open a shared group form, add an existing account whose statecode is normal client, from either a subgrid or a associated view, the statecode of this account will be reset to 0 (draft) immediately, in the beginning, I have doubt that it is a problem of my plugin, business rule or workflow, but I have retry by disabling all of this. the problem still exit

this afternoon, I tried to add an account to another account, it also happened. is it a bug of CRM?

thanks for your ideas

Song

*This post is locked for comments

  • Song Profile Picture
    91 on at
    RE: Dynamics 365 on-premises reset account statecode when adding an existing account to another account or another parent entity

    I forgot to detail that, If I add an account to this group on the account form, by modifying the "sharedgroupid" lookup field, this is OK, the statecode remains unchanged

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans