Friday, 11 August 2017

Set property of type Money in Microsoft CRM 2011


How to correctly change and set property of type Money in Microsoft CRM 2011


Yesterday I found out that setting property of type Money on entity can make really difference.
I’m altering Account records via WCF service one at a time and saving the changes in CRM 2011. I was changing some money property like this :
entity.SomeMoneyProperty = new Money() { Value = decimalValue };
Everything compiled and worked fine until I realized, that the value I was setting really isn’t stored in the CRM. But there was no runtime error, nothing.
So I searched the CRM 2011 SDK and found out, that they use only this type of creating the Money property :
entity.SomeMoneyProperty = new Money(decimalValue);

Dynamics 365 Online regions

  • As of 15 May 2017, here is a list of the current Dynamics 365 Online regions:
  •  
  •  
  •  North America (crm.dynamics.com)
  • South America (crm2.dynamics.com)
  • Canada (crm3.dynamics.com)
  • EMEA (crm4.dynamics.com)
  • APAC (crm5.dynamics.com)
  • Australia (crm6.dynamics.com)
  • Japan (crm7.dynamics.com)
  • India (crm8.dynamics.com)
  • North America 2-for Government (crm9.dynamics.com)
  • United Kingdom (crm11.dynamics.com)
  • Microsoft Cloud Germany (crm.microsoftdynamics.de)

Introduction to Dynamics 365 CE Data Migration using ADF

Dynamics 365 CE Data Migration using ADF can be necessary for various reasons, such as archiving historical data, integrating with other sys...