Using User's Business Unit

In this code, I use the XML call to get the current user's business unit, and use this information to set a picklist. This "defaults" the picklist for the user, based on what his/her business unit normally picks.
Practical uses: This was requested by a client, to ensure that Opportunities were typed according to their business unit, so that the pipeline would be trackable by what business unit the user was in at the time.
(Sorry for the screenshot: Again, I don't know the best way to post XML without it rendering directly in the webpage.)
Labels: 3.0, Business Unit, CRM, Dynamics, javascript, Microsoft, MS CRM, MSCRM, user, XML
0 Comments:
Post a Comment
<< Home