HI,
I have optionset value 690970002 which is not inserted to dynamics its allowing only one number value to insert here's my code
Entity payment = new Entity("msdyn_payment");
payment["msdyn_paymenttype"] = new OptionSetValue(690970001);
Guid paymentids = service.Create(payment);
Hello,
I'm not sure what exact issue you experience but I would assume that you want to add an additional option to existing optionset. In this case you can use following code in order to do that - docs.microsoft.com/.../microsoft.xrm.sdk.messages.insertoptionvaluerequest
Hi rocky,
Could you kindly share more detail about your requirement?
Do you want to insert some options to an option set field or something else?
Reagrds,
Leo
Its not working i am trying for single optionset
Hi partner,
Please try the following code.
Best Regards,
Leo
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156