Friday 7 April 2017

How to delete global and local option set from MS CRM using C#

DeleteOptionValueRequest localoptionset = new DeleteOptionValueRequest
            {
                EntityLogicalName = "productpricelevel",
                AttributeLogicalName = "quantitysellingcode",
               // OptionSetName = "quantitysellingcode",
                Value = 100000001

            };
            _service.Execute(localoptionset);