Tuesday, January 20, 2009

Update Rollup 2 for Microsoft Dynamics CRM 4.0 is available


Microsoft has release update rollup 2for CRM 4. KB959419 can be downloaded here.

This upate is for Microsoft Dynamics CRM 4.0 Server, Microsoft Dynamics CRM for Microsoft Office Outlook, and Microsoft Dynamics CRM 4.0 E-mail Router.

Please note that if you have customized Microsoft Dynamics CRM 4.0 Help files, back up your customized files before you install this update !!!

Monday, January 19, 2009

Read and assign Owner attribute value to another owner attribute.


When it come to copying Owner attribute value aand assinging it to another owner attribute in CRM Form, its not just like a simple textbox value (where u can directly assing .DataValue property to the another attribute)

Have a look at the below code, which Reads and assign Owner attribute value to another owner attribute on CRM Form.

// Get hold of Owner and default it to the Commission Owner 1
var oOwner = new Array();
oOwner = null;

oOwner = crmForm.all.ownerid.DataValue;

//Create an array to set as the DataValue for the Owner control.
var lookupData = new Array();
var oCommissionOwnerOne = new Object();

if (oOwner[0] != null)
{
// Set the id, typename, and name properties to the object.
oCommissionOwnerOne.id = oOwner[0].id;
oCommissionOwnerOne.typename = oOwner[0].typename;
oCommissionOwnerOne.name = oOwner[0].name;

// Add the object to the array.
lookupData[0] = oCommissionOwnerOne;

// Set the value of the lookup field to the value of the array.
crmForm.all.new_commissionmarginownerone.DataValue = lookupData;
}


Happy copying (and Coding too) !!!!

Friday, January 9, 2009

Supported Entities for Workflow


The following entities can be used to start the messages that trigger the workflow execution.

Entity name
1. account
2. appointment
3. businessunit
4. campaign
5. campaignactivity
6. campaignresponse
7. competitor
8. constraintbasedgroup
9. contact
10. contract
11. contractdetail
12. contracttemplate
13. customeraddress
14. customeropportunityrole
15. customerrelationship
16. discount
17. discounttype
18. email
19. equipment
20. fax
21. incident
22. invoice
23. invoicedetail
24. kbarticle
25. kbarticlecomment
26. kbarticletemplate
27. lead
28. letter
29. list
30. mailmergetemplate
31. opportunity
32. opportunityproduct
33. phonecall
34. pricelevel
35. product
36. productpricelevel
37. queue
38. quote
39. quotedetail
40. relationshiprole
41. report
42. salesliterature
43. salesliteratureitem
44. salesorder
45. salesorderdetail
46. service
47. serviceappointment
48. site
49. subject
50. systemuser
51. task
52. team
53. template
54. territory
55. transactioncurrency