Monday, November 12, 2012

Assigning value and type mapping between dynamics crm versions


Assigning value and type mapping between dynamics crm versions


Type Mapping Between Versions

The following table shows the mapping between the defined type for an entity attribute, the type that is used in a record, and the type that was used in Microsoft Dynamics CRM 4.0.
AttributeTypeCodeMicrosoft Dynamics CRM 2011 typeMicrosoft Dynamics CRM 4.0 type
AttributeTypeCode.BigIntlongN/A
AttributeTypeCode.BooleanboolCrmBoolean
AttributeType.CalendarRules 
EntityCollection or CalendarRules[]
DynamicEntity[] or calendarrule[]
AttributeType.CustomerEntityReferenceCustomer
AttributeType.DateTimeSystem.DateTimeCrmDateTime
AttributeType.DecimaldecimalCrmDecimal
AttributeType.DoubledoubleCrmFloat
AttributeType.EntityNamestringAttributes with ObjectTypeCode inDisplayMask
AttributeType.IntegerintCrmNumber
AttributeType.LookupEntityReferenceLookup
AttributeType.ManagedPropertyBooleanManagedPropertyN/A
AttributeType.MemostringSystem.String
AttributeType.MoneyMoneyCrmMoney
AttributeType.OwnerEntityReferenceOwner
AttributeType.PartyListEntityCollection or ActivityParty[]activityparty[] or DynamicEntity []
AttributeType.PicklistOptionSetValuePicklist
AttributeTypeUniqueidentifier(Formerly PrimaryKey)System.GuidKey
AttributeType.StringstringSystem.String
AttributeType.StateOptionSetValue or enumeration generated for the entity stateEntityNameStateInfo
AttributeType.StatusOptionSetValueStatus
AttributeType.UniqueidentifierSystem.GuidUniqueIdentifier
AttributeType.VirtualNot used in records.Not used in records.




refrence : http://community.dynamics.com/product/crm/crmtechnical/b/isvlabs/archive/2011/03/05/assigning-value-and-type-mapping-between-dynamics-crm-versions.aspx

No comments:

Post a Comment