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);
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?"
I am a fool. The problem was trivially the lastUsedNumber enhancement.
Now it works, thankk you very much.
Hello,
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++;
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156