Announcements
No record found.
Hello,
I have a custom field in Business Unit entity and I want to edit it in a C# plugin. Is it possible to do this or is the entity Business Unit not editable? (neither from C # code or workflow).
int lastUsedNumber = (int)(businessUnit["alten_accountnumberofseries"]); lastUsedNumber = lastUsedNumber ; businessUnit["alten_accountnumberofseries"] = lastUsedNumber; wod_CrmService.Update(businessUnit);
Can you please provide the code that you use to retrieve/insantiate businessUnit record?
Other than that you can replace line
lastUsedNumber = lastUsedNumber++;
with just
lastUsedNumber++;
I am a fool. The problem was trivially the lastUsedNumber enhancement.
Now it works, thankk you very much.
Hello Simone,
If my reply (or replies) answers your question take a minute and verify the answer. You can do it by clicking "Yes" at the top of the reply (or replies) under the label "Does this answer your question?"
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Muhammad Shahzad Sh... 69 Most Valuable Professional
ManoVerse 62 Super User 2026 Season 1
11manish 43