locked
CRM 4.0 code into CRM2011..... RRS feed

  • Question

  • Hi All,

    can any body help me. how to convert the crm4.0 code into crm2011. below are the crm4.0 code which i want to convert plz help me.,,

      foreach (BusinessEntity be in businessEntities)

            {

                opportunity opp = (opportunity)be;

                string name = opp.name;

                if (opp.customerid != null && !string.IsNullOrEmpty(opp.customerid.name))

                {

                    name += " - " + opp.customerid.name;

                }            

                dicOpportunityIdName.Add(opp.opportunityid.Value.ToString(), name);

                if (opp.new_stage != null)            

                {

                    dicOpportunityIdStage.Add(opp.opportunityid.Value, opp.new_stage.Value);

                }

            }

    Thanks & Regards

    Mohammad Sharique

    Monday, December 19, 2011 12:06 PM

Answers

All replies