0

I am totally new to CRM. I am doing a code review.

The code is comparing value of Microsoft.Xrm.Sdk.OptionSetValue.Value with 100000002.

I believe, 100000002 represents whether the Sales Order is completed (or some other state for Sales Order). I want to know from where can I find the values for Microsoft.Xrm.Sdk.OptionSetValue.Value?

I mean to ask from where can I get valid set of values for Microsoft.Xrm.Sdk.OptionSetValue.Value?

Thanks in advance!

Vikram
  • 3,996
  • 8
  • 37
  • 58
  • possible duplicate of [Dynamics CRM - Accessing Custom Product Option Value](http://stackoverflow.com/questions/16279214/dynamics-crm-accessing-custom-product-option-value) – Daryl May 12 '14 at 18:57
  • just a note: 100000002 is clearly a custom state. – Guido Preite May 12 '14 at 19:37

3 Answers3

2

If you want to do it programatically you can follow this answer: https://stackoverflow.com/a/23354017/394978

If you want to do it visually you can follow this answer: https://stackoverflow.com/a/22106272/394978

Community
  • 1
  • 1
Nicknow
  • 7,154
  • 3
  • 22
  • 38
1

There are two basic ways, through the SDK call, or creating early bound types.

See this answer Dynamics CRM - Accessing Custom Product Option Value for accessing it through the SDK Call.

For actually creating early bound types, use this: https://xrmearlyboundgenerator.codeplex.com/

Community
  • 1
  • 1
Daryl
  • 18,592
  • 9
  • 78
  • 145
1

I found this one helpful too (for searching manually):

http://social.microsoft.com/Forums/en-US/ddcc3b05-b5a2-49a1-9555-152ad6134604/crm-reporting-where-are-attribute-picklist-values-stored?forum=crmdevelopment

(Refer answer by DavidJennaway.)


I searched for StringMap in my system and got the file in the workspace which contained all the values.

Vikram
  • 3,996
  • 8
  • 37
  • 58