CRM Development ForumForum for discussing customization, add-ins, and integration with Microsoft CRM.© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 17:36:25 Z42b91635-70bd-49ab-a143-ef01bb5186d6http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/410feffd-f01e-4456-8a0b-52df6908ed5bhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/410feffd-f01e-4456-8a0b-52df6908ed5bctillman1275http://social.microsoft.com/Profile/en-US/?user=ctillman1275Changing the precision in price list item in CRM Online<p>I know that the price list item is not a customizable entity in CRM (yet it's listed in the customizable entities...).  But I'm trying to figure out how to price a product in a price list to a precision other than 2 decimal places.  It's extremely hard for me to believe this is not supported.  When we charge customers for mileage travel, we charge at the GOVERNMENT defined rate of $0.585 / mile.  However, when trying to do this in CRM, it always changes it to $0.59 and this ends up overcharging the customer on the invoice.  If I create my own custom entities for pricing, they won't participate in CRM as a price model and therefore I'll miss out on all the benefits.  There HAS to be a way to do this.  If not, it needs to be changed to support updating the precision on the attribute of the price list item (and in turn the Order Item &amp; Invoice Product).</p>Wed, 25 Nov 2009 17:36:23 Z2009-11-25T17:36:24Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/d9622597-c3ed-4339-9dfb-a6b91ce2a5f5http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/d9622597-c3ed-4339-9dfb-a6b91ce2a5f5Dawid Kolodziejczykhttp://social.microsoft.com/Profile/en-US/?user=Dawid%20Kolodziejczyksynchronous post update plugin runs 6 times after quote update<span style="font-family:arial, sans-serif;font-size:12px">Hello, <br/> <p>I have a problem with plugin - it runs 6 times after a quote is <br/>updated.</p> <p>First 5 times it runs with no problem.</p> <p>Finally it fails with error &quot;Server was unable to process the <br/>request&quot;, <br/>Error is generated by this line:</p> <p>service.Update(updatedQuote); </p> <p> </p> <p>Any idea?</p> </span>Wed, 25 Nov 2009 17:25:42 Z2009-11-25T17:25:43Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/9d74b113-dc71-4f23-a5c4-59593f2e8478http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/9d74b113-dc71-4f23-a5c4-59593f2e8478HansNelhttp://social.microsoft.com/Profile/en-US/?user=HansNelCalling Custom Webservice from a windows form application in IFD DeploymentHi,<br/><br/>We made a windows form application which accesses the crm services (discovery, metadata and crmservice).<br/>Everything works fine in both on-premise and ifd deployment.<br/><br/>BUT: we also want to access some selfmade custom .NET webservices, placed in the ISV subfolder of the crm website (those webservices on their turn access the crmservices).<br/>When we try to do this, we get an error that the request was redirected to the login page (which I can understand).<br/>On premise there is no problem.<br/><br/>Does anybody know a way to initialize our own webservices within the winform application (.Net) with the correct authentication/authorization?<br/><br/>Thanks in advance,<br/><br/>Hans Nellestijn<br/>ACI B.V.Wed, 25 Nov 2009 15:50:19 Z2009-11-25T15:51:47Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/034ffa7a-e7ea-4520-aeff-689f331d4cb9http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/034ffa7a-e7ea-4520-aeff-689f331d4cb9Sohaib Qazihttp://social.microsoft.com/Profile/en-US/?user=Sohaib%20QaziChange user Business unitHi <div>I want to change business unit of Dynamic CRM 4.0 through programming</div> <div>Can i get any sample code for this??</div> <div><br/></div> <div>Any little help will be appreciated</div> <div><br/></div> <div>Thanks in Advance</div> <div><br/></div> <div>Regards</div> <div>Sohaib Qazi</div>Wed, 25 Nov 2009 13:55:06 Z2009-11-25T14:16:01Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/c92e178e-6b56-4881-9b19-b19fbb41f246http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/c92e178e-6b56-4881-9b19-b19fbb41f246bivanisehttp://social.microsoft.com/Profile/en-US/?user=bivanisequery for retrieving all accounts from CRMI want to print out in console all available accounts in CRM.<br/> <br/> Here is the code:<br/> <br/> <pre> QueryExpression query = new QueryExpression(); query.ColumnSet = new AllColumns(); query.Criteria = new FilterExpression(); BusinessEntityCollection bentities = service.RetrieveMultiple(query); foreach (BusinessEntity entity in bentities.BusinessEntities) { Console.WriteLine(((account)entity).name); }</pre> The problem is on line wehn i try to run service.RetrieveMultiple.<br/> <br/> The error says: An unexpected error occurred.<br/> <br/> Please help. ThanksWed, 25 Nov 2009 12:42:44 Z2009-11-25T12:51:34Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/0eeded4b-ca95-4b1f-bd33-ce04271bbac4http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/0eeded4b-ca95-4b1f-bd33-ce04271bbac4ShivNath Mazumdarhttp://social.microsoft.com/Profile/en-US/?user=ShivNath%20MazumdarReplicating Content management of Sharepoint in MS CRM 4.0Hello All,<br/><br/>I need to understand that can we replicate the content management behavior of sharepoint into our CRM system?<br/><br/>Currently i am trying to understand how is the architecture of Content management works within Shrepoint and have not been able to come up to good understanding, so if my question sounds weird, this might be the only reason:).<br/><br/>please if some one can give me a good insight about this.<br/><br/><br/>Thanks,<br/>ShivNathWed, 25 Nov 2009 12:11:43 Z2009-11-25T12:11:44Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/86d5e4cb-7db0-44d2-848d-327f9328f547http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/86d5e4cb-7db0-44d2-848d-327f9328f547help23http://social.microsoft.com/Profile/en-US/?user=help23How to add an image on form in CRM 4.0<p>Hi ,<br/><br/>I have a requirement of adding a logo to various forms in CRM. Can anyone please let me know, how I can do that.<br/><br/>Thanks in advance</p>Fri, 20 Nov 2009 12:51:13 Z2009-11-25T11:58:09Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/745c0018-0755-49ed-a5f9-a071b857b890http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/745c0018-0755-49ed-a5f9-a071b857b890Javad Asadipourhttp://social.microsoft.com/Profile/en-US/?user=Javad%20AsadipourAddUserToRole does NOT work for aspnetdb usersHi,<br/> <br/> I got a problem using Sharepoint 2007 web service. I have configured my site to work with form based authentication. <br/> I can add users successfully to it using membershipSeeder tool downloaded from <a href="http://www.codeplex.com"><span style=""><span style=""><cite>www.codeplex.com.</cite> </span> </span> </a> <span style=""><span style=""><cite></cite> </span> </span> <br/> everything is OK.<br/> <br/> but when i want to add the user to the site by UserGroup webservice , Calling &quot;AddUserToRole&quot; returns<br/> &quot;The user does not exist or is not unique.0x81020054&quot; .<br/> <br/> any idea?<br/> <br/> here is the code:<br/> <br/> <br/>             try<br/>             {<br/>          <br/>                 Web_Reference.UserGroup userGroup = new Web_Reference.UserGroup();<br/>                 userGroup.Credentials = new System.Net.NetworkCredential(@&quot;Username&quot;, &quot;Password&quot;);<br/> <br/>                 /*Gather data from the text boxes.*/<br/>                 string groupName = strGroupName;<br/>                 string userName = strLoginName;<br/>                 string userLoginName = strLoginName;<br/>                 string userEmail = strLoginName + &quot;@domain.com&quot;;<br/>                 string userNotes = &quot;TestNotes&quot;;<br/> <br/>                 userGroup.AddUserToRole(strRoleName, userName, userLoginName, userEmail, userNotes);<br/> <br/>                 userGroup.AddUserToGroup(strGroupName, userName, userLoginName, userEmail, userNotes);<br/> <br/>             }<br/>             catch (SoapException ex)<br/>             {<br/>                 string msg = ex.Detail.InnerText;<br/>             }<br/>             catch (Exception ex)<br/>             {<br/>                 string msg = ex.Message;<br/>             }<br/> <br/> <br/> Thanks in advanceWed, 25 Nov 2009 11:00:57 Z2009-11-25T11:00:57Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/cc172c24-0478-4016-9656-ccddffdd7988http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/cc172c24-0478-4016-9656-ccddffdd7988darrmerchttp://social.microsoft.com/Profile/en-US/?user=darrmerccrm4: javascript impersonationI would like to run some javascript code under another users context. <br/>Is this possible with javascript?<br/><br/>Thanks<br/>DarrenWed, 25 Nov 2009 09:19:07 Z2009-11-25T10:50:42Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/9bb0b873-dda5-4558-b93f-795c70fe9be6http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/9bb0b873-dda5-4558-b93f-795c70fe9be6Elfira Yolandahttp://social.microsoft.com/Profile/en-US/?user=Elfira%20YolandaHow to access entity's attribute from Custom Workflow Activity codeHi, <div><br/></div> <div>I'm working on a custom workflow activity and <a href="http://www.stunnware.com/crm2/topic.aspx?id=CustomWorkflowActivity">this article</a> from stunnware is my starting point.</div> <div><br/></div> <div>I'm wondering, supposed we only need one certain attribute as input parameter for the custom workflow activity.</div> <div>Can we set it directly in our code instead of setting it from CRM workflow editor?</div> <div><br/></div> <div>How can we access the entity/entity-related's attribute from our code? </div> <div><br/></div> <div>Thank you! :)</div> <div><br/></div> <div><br/></div>Tue, 24 Nov 2009 02:20:46 Z2009-11-25T10:40:42Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/2a23d9a5-f1c1-4856-b9aa-8e0a9082a834http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/2a23d9a5-f1c1-4856-b9aa-8e0a9082a834Murugesan Phttp://social.microsoft.com/Profile/en-US/?user=Murugesan%20PError in adding new records to the CRM using Microsoft web service<span style="font-family:'Arial','sans-serif';font-size:10pt">I am having issues with adding new records to the CRM using Microsoft web services. Im getting the following error message, </span> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)  at CrmService.Create(BusinessEntity entity)<br/> <br/> <strong>Sample code </strong> :<br/> <span style="font-family:'Courier New';font-size:10pt"><span style="color:#2b91af">CrmAuthenticationToken</span> token = <span style="color:blue">new</span> <span style="color:#2b91af">CrmAuthenticationToken</span> ();</span> <span style="font-family:'Courier New';font-size:10pt">                token.AuthenticationType = 0;</span> <span style="font-family:'Courier New';font-size:10pt">                <br/> token.OrganizationName = <span style="color:#a31515">&quot;OrgName&quot;</span> ;</span> <span style="font-family:'Courier New';font-size:10pt">                           </span> <span style="font-family:'Courier New';font-size:10pt">                <br/> <span style="color:#2b91af">CrmService</span> service = <span style="color:blue">new</span> <span style="color:#2b91af">CrmService</span> ();</span> <span style="font-family:'Courier New';font-size:10pt">                <br/> service.Url = <span style="color:#a31515">&quot;<a href="http://rci-lab-crm/mscrmservices/2007/CrmService.asmx"><span style="color:#0000ff">http://test.com:8083/mscrmservices/2007/CrmService.asmx</span> </a> &quot;</span> ;</span> <span style="font-family:'Courier New';font-size:10pt">              </span> <span style="font-family:'Courier New';font-size:10pt">            </span> <span style="font-family:'Courier New';font-size:10pt"></span> <span style="font-family:'Courier New';font-size:10pt"><br/> service.CrmAuthenticationTokenValue = token;</span> <span style="font-family:'Courier New';font-size:10pt">                <br/> service.Credentials = <span style="color:blue">new</span> System.Net.<span style="color:#2b91af">NetworkCredential</span> (<span style="color:#a31515">&quot;UserName&quot;</span> ,<span style="color:#a31515">&quot;Password&quot;</span> ,<span style="color:#a31515">&quot;Domain&quot;</span> );</span> <span style="font-family:'Courier New';font-size:10pt"> </span> <span style="font-family:'Courier New';font-size:10pt">                <br/> <span style="color:#2b91af">contact</span> SampleContact = <span style="color:blue">new</span> <span style="color:#2b91af">contact</span> ();</span> <span style="font-family:'Courier New';font-size:10pt">                <br/> SampleContact.firstname = <span style="color:#a31515">&quot;FirstName&quot;</span> ;</span> <span style="font-family:'Courier New';font-size:10pt">                <br/> SampleContact.lastname = <span style="color:#a31515">&quot;LastName&quot;</span> ;</span> <span style="font-family:'Courier New';font-size:10pt">                <br/> SampleContact.telephone1 = <span style="color:#a31515">&quot;123-123&quot;</span> ;</span> <span style="font-family:'Courier New';font-size:10pt">                <br/> SampleContact.emailaddress1 = <span style="color:#a31515">&quot;<a href="mailto:ychouloute@rcirs.com"><span style="color:#0000ff">Emailprotected</span> </a> &quot;</span> ;</span> <span style="font-family:'Courier New';font-size:10pt"></span> <span style="font-family:'Courier New';font-size:10pt">           <br/> service.Create(SampleContact);</span> <span style="font-family:'Courier New';font-size:10pt">  </span> <br/> <br/> Can any one please suggest me.<br/> Thanks in advance.<br/>Wed, 25 Nov 2009 10:08:37 Z2009-11-25T10:15:15Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/af361ea7-b914-4606-865f-ec862b059da1http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/af361ea7-b914-4606-865f-ec862b059da1ManikandanJonhttp://social.microsoft.com/Profile/en-US/?user=ManikandanJonAdding the Email signature in the Email activityHi,<br/><br/>I want to add the default Email signature on all the Email activities. While opening the new Email activity the predefined Email signature should be loaded automatically.<br/><br/>I have tried this with script in the ONLOAD event. But it is not working. The same script is working fine while writing on the &quot;ONSAVE&quot; event.<br/><br/><strong>Script<br/><br/></strong>crmForm.all.description.DataValue='Email Signature';<br/><br/>How can I add the Email signature while loading the Email activity?<br/><br/>Please help us to get the solution in this issue.<br/><br/><strong>Thanks in Advance,<br/>Manikandan R</strong>Wed, 25 Nov 2009 09:51:14 Z2009-11-25T09:53:56Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/ab93ef44-9bf9-41da-996e-2418ca087cc4http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/ab93ef44-9bf9-41da-996e-2418ca087cc4erikihsuhttp://social.microsoft.com/Profile/en-US/?user=erikihsuPlugin Update Account<p>Hi, all~~<br/><br/>I was trying to create a plugin.. <br/>what i like to do is , when I update an Account record, <br/>i want to update another field in account entity,  <br/>(i know this can be done through Workflow, but i just want to try using plugins)<br/>but after i registered my plugin and test it, <br/>i received an error messge &quot;Server was unable to process request&quot;<br/>the following is my code, <br/>can anyone help me with this?  <br/>thank u very much!<br/><br/><br/>public void Execute(IPluginExecutionContext context)<br/>{<br/> DynamicEntity entity = null;<br/> entity = (DynamicEntity)context.InputParameters[&quot;Target&quot;];<br/> if (!entity.Properties.Contains(&quot;fieldname&quot;))<br/> {<br/>     entity[&quot;fieldname&quot;] = &quot;Testing Plugin&quot;;<br/> }<br/> ICrmService service = context.CreateCrmService(true);<br/> service.Update(entity);<br/>}</p>Wed, 25 Nov 2009 06:14:58 Z2009-11-25T09:35:36Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/47f96bc0-7962-4b22-bc7f-c74f13daf5f3http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/47f96bc0-7962-4b22-bc7f-c74f13daf5f3danprihttp://social.microsoft.com/Profile/en-US/?user=danpriEstimated Revenue and Total RevenueHi All,<br/><br/>As you may know there are 2 fields in the Opportunity Product From called Estimated Revenue and Actual Revenue<br/><br/>The issue is that I am populating the fields through javascript after doing some calculations but they are not populating the database.<br/><br/>I have tried changing them to enabled and not read-only but to no success as it seems they are locked. I also used the force submit but nothing happens as well<br/><br/>Can you help me please. 10x in advance<br/><br/>RegardsTue, 24 Nov 2009 15:35:11 Z2009-11-25T09:19:05Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/5857182b-3844-412b-8d0e-8cb66464c1f9http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/5857182b-3844-412b-8d0e-8cb66464c1f9Prince Sunnyhttp://social.microsoft.com/Profile/en-US/?user=Prince%20SunnyError message when accessing CRM from browser - "Popup Blocker"Hi,<br/><br/>I'm getting an error message when I try to open crm from the browser whcih says &quot; A Microsoft Dynamics CRM window was unable to open, and may have been blocked by a popup blocker&quot;.<br/> I have disabled the pop up blocker, have included the url in trusted sites, enabled automatic login name and password but nothing seems to be working.<br/>My OS is vista and I have not installed MS crm client for outlook. I'm just trying to open crm from the web and this is the issue...<br/><br/>Your advices are most invited.<br/><br/>Regards<br/>PSWed, 25 Nov 2009 06:13:56 Z2009-11-25T08:57:22Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3db562d1-5698-45e4-bce0-081560816e5fhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3db562d1-5698-45e4-bce0-081560816e5fzachfreehttp://social.microsoft.com/Profile/en-US/?user=zachfreeCRM Email notification on activity creationIs there a way that CRM users can set up searches for a given set of criteria (e.g., all activity in France) and that an email notification could be sent out when an activity involving that criteria is created?<br/>Does this already exist or could it be developed?Tue, 24 Nov 2009 15:23:51 Z2009-11-25T07:56:43Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/51349ac4-28ae-4b7b-8c3f-2010adef302ahttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/51349ac4-28ae-4b7b-8c3f-2010adef302aHussain Saffarhttp://social.microsoft.com/Profile/en-US/?user=Hussain%20SaffarEmail Trigger Is it possible to send an automaticl email(notification) to the Team leader Manager if on of his member create any new record such as new contact????<hr class="sig">hussainTue, 24 Nov 2009 15:23:56 Z2009-11-25T07:51:32Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/149cea52-49f3-4145-aef1-bc0deed1dfe3http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/149cea52-49f3-4145-aef1-bc0deed1dfe3Rajesh_CRMhttp://social.microsoft.com/Profile/en-US/?user=Rajesh_CRMDynamic Entity Rollup PluginHey <br/> <br/> i have two custom entities event and agenda, and there is a relationship of 1:N where event is primary entity. Now i have a requirement of activity roll up from agenda entity to event entity just like we can see all the activities regarding opportunity from contact form , i also want to see all activity regarding agenda from event form.<br/> <br/> Please help me out how this can be done .<br/> <br/> RajeshMon, 23 Nov 2009 08:38:20 Z2009-11-25T07:44:36Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/52335337-51c8-45db-9c1d-33df0a3218bdhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/52335337-51c8-45db-9c1d-33df0a3218bdMatthew D Wilsonhttp://social.microsoft.com/Profile/en-US/?user=Matthew%20D%20WilsonHow do I prevent plain-text error messages from CRM web service?Hi everyone,<br/> <br/> I'm just beginning to program with the CRM web service.   We're using CRM 4.0, (4.0.7333.3).  It's early days still, but I've found an interesting bit of behavior that someone here might be able to explain to me.<br/> <br/> When I (say) do an update, but pass a caller ID that doesn't exist (this applies to other values as well, not just caller ID), the error response isn't coded in XML.  It's text/plain and looks like (for example)<br/> <br/> &quot;Server was unable to process request. ---&gt; systemuser With Id = ac338499-86a9-de11-b579-0050568b1306 Does Not Exist&quot;<br/> <br/> The HTTP response is code 500 (i.e. internal server error), which surprises me a lot.  I would have expected application errors to be encoded.  This poses some problems for the web service toolkits I'm looking at using (java ones - JAXWS and Axis), but it also leaves me a bit confused about whether this is a standard web service communication style.<br/> <br/> Can anyone tell me if this is just a configuration issue, if this is how CRM is supposed to respond to errors, or even if this is just standard web service behaviour and I just haven't learned that yet?<br/> <br/> Thanks :-)<br/> <br/> Matt.Wed, 25 Nov 2009 05:21:12 Z2009-11-25T05:21:13Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3bc8023b-d109-4690-aa65-48982a914646http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3bc8023b-d109-4690-aa65-48982a914646CarlsbadSGP3536763http://social.microsoft.com/Profile/en-US/?user=CarlsbadSGP3536763Fetchxml filtering problemHere is a SQL query:<br/> <br/> select  p15_guestid,g.p15_bookdate, p15_contactguestsid, g.modifiedon,p15_guestsid  <br/> from p15_guests g <br/> inner join p15_bookings b on g.p15_guestid = b.p15_bookingsid  <br/> left outer join p15_evaluation e on e.p15_bookingid = b.p15_bookingsid<br/> where  e.p15_bookingid is null<br/> order by g.p15_bookdate<br/> <br/> <br/> Which has the equivalent FetchXml:<br/> <br/> &lt;fetch version=&quot;1.0&quot; output-format=&quot;xml-platform&quot; mapping=&quot;logical&quot; distinct=&quot;true&quot;&gt;<br/> &lt;entity name=&quot;p15_guests&quot;&gt;&lt;attribute name=&quot;statuscode&quot;/&gt;&lt;attribute name=&quot;p15_guestid&quot;/&gt;<br/> &lt;attribute name=&quot;p15_bookdate&quot;/&gt;&lt;attribute name=&quot;p15_contactguestsid&quot;/&gt;&lt;attribute name=&quot;modifiedon&quot;/&gt;&lt;attribute name=&quot;p15_guestsid&quot;/&gt;<br/> &lt;order attribute=&quot;p15_bookdate&quot; descending=&quot;true&quot;/&gt;<br/> &lt;link-entity name=&quot;p15_bookings&quot; from=&quot;p15_bookingsid&quot; to=&quot;p15_guestid&quot; alias=&quot;aa&quot;&gt;<br/> &lt;link-entity name=&quot;p15_evaluation&quot; from=&quot;p15_bookingid&quot; to=&quot;p15_bookingsid&quot; alias=&quot;ab&quot; link-type=&quot;outer&quot;&gt;<br/> &lt;filter type=&quot;and&quot;&gt;&lt;condition attribute=&quot;p15_bookingid&quot; operator=&quot;null&quot;/&gt;&lt;/filter&gt;&lt;/link-entity&gt;<br/> &lt;/link-entity&gt;&lt;/entity&gt;&lt;/fetch&gt;<br/> <br/> The problem is that the filter on the FetchXml doesn't seem to be working properly.  <br/> The SQL properly returns 226 rows while the FetchXml improperly returns 229 (it includes 3 rows that should be filtered out).<br/> <br/> <br/> Is there another equivalent FetchXml expression I could use?  Is this a known bug in FetchXml?  Or is it merely that my translation from SQL to FetchXml is flawed?<br/> <br/> Much thanks!Wed, 25 Nov 2009 00:46:22 Z2009-11-25T03:40:14Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/bea2d4c7-a744-4a9e-bd05-9452480d23ddhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/bea2d4c7-a744-4a9e-bd05-9452480d23ddT Bonzhttp://social.microsoft.com/Profile/en-US/?user=T%20Bonzpre populate advanced findis there a way to prepopulate an advanced find?<br/>Tue, 24 Nov 2009 18:06:50 Z2009-11-25T03:27:24Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/2d9011d2-4c45-47de-9b1b-6a9d9faa2e58http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/2d9011d2-4c45-47de-9b1b-6a9d9faa2e58Hussain Saffarhttp://social.microsoft.com/Profile/en-US/?user=Hussain%20SaffarWeb ServiceI would to tigger email by calling web service after creating new activity or contact.<br/>THis is possible and how?????<hr class="sig">hussainTue, 24 Nov 2009 20:22:44 Z2009-11-25T02:57:01Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/c07ce872-c218-45ba-aa79-586dfe7f821ehttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/c07ce872-c218-45ba-aa79-586dfe7f821ekurobenkohttp://social.microsoft.com/Profile/en-US/?user=kurobenkoCarriage Return in CRM Manual WorkflowHello,<br/> <br/> I'm writing a manual workflow using CRM 3.0 Workflow Manager. I'm new in writing this and I have 2 simple questions:<br/> <br/> 1. When updating fields using manual workflow, is there a way to insert a carriage return? I do a copy and paste from a text editor, but the next line is never shown in the Workflow. Please see screenshot below:<br/> <br/> <a href="http://i170.photobucket.com/albums/u277/kuroneko1313/crmcarriagereturn.jpg">http://i170.photobucket.com/albums/u277/kuroneko1313/crmcarriagereturn.jpg</a> <br/> <br/> 2. When applying a manual workflow to update fields in CRM, for some reason the updated fields will not be shown immediately. I have to Save and Close the entity first, and re-open it for them to come up.... is this a known issue?<br/> <br/> Thanks so much in advanced for your help.Tue, 24 Nov 2009 17:41:52 Z2009-11-24T23:04:14Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3a0dbfa8-5c6d-4417-86c7-e853b3453523http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3a0dbfa8-5c6d-4417-86c7-e853b3453523Dave Challenhttp://social.microsoft.com/Profile/en-US/?user=Dave%20ChallenImport date into notesHi, <br/><br/>I'm working on a Telesales process which involves exporting lead data from our CRM4 system to Excel ( our telesales person is blind and can only work with Excel ). The telesales person will then work with the lead data in Excel, updating where required. I'd like one of the fields in Excel to be notes on the call he makes. <br/><br/>I can import the Excel data back into CRM without a problem, (took a bit of working out), but would like to take the notes field in Excel and add it as a new note to the existing lead in CRM. <br/><br/>Each time the information is uploaded following a subsequent call to the same lead, say three months later, I'd like the note field to be uploaded as a new note. This way we can build a history of the conversations the telesales person has had with the lead. <br/><br/>Questions is, how do we upload a single field in Excel to a new Note entry within the Notes entity of the lead? <br/><br/>Hope this is possible some how... appreciate any comments or questions. <br/><br/>Best Regards<br/><br/>Dave C<hr class="sig">Dave CTue, 24 Nov 2009 21:40:50 Z2009-11-24T22:54:45Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/1d36abe4-3ed0-4ce8-ad08-c8ded378291bhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/1d36abe4-3ed0-4ce8-ad08-c8ded378291bNathalie Leprohonhttp://social.microsoft.com/Profile/en-US/?user=Nathalie%20LeprohonCRM 4.0 Toolbar Disappears from top menu in Microsoft 2007<p align=left><font face=Arial size=2></font> </p>How can I have the CRM toolbar back?  I can access my account files, my activities, but since I do not have my CRM toolbar I can't track in crm or synchronize. The only way I have found to have it back is to run Microsoft Dynamics CRM 4.0 configuration wizard.  The bar comes back but a few days later it goes away again.  Thanks for your help<img src="http://forums.microsoft.com/Dynamics/WebResource.axd?d=NySzF1eivP_rMoc50GQJzcvS4MHMOEKwYrCIgDtzuzlw7GsNki3H_INlfYaLgkxFdA4ESFRtesEUXj11MHjIL5WMBvm3Pubiu_iWcnqAaGQ1&amp;t=633337194230757564">Wed, 17 Sep 2008 16:37:28 Z2009-11-24T22:45:11Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/0266e21a-4d3d-409d-8013-1b3967fb414ehttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/0266e21a-4d3d-409d-8013-1b3967fb414eDave Challenhttp://social.microsoft.com/Profile/en-US/?user=Dave%20ChallenImporting Notes from ExcelHi, <br/><br/>I'm working on a Telesales process which involves exporting lead data from our CRM4 system to Excel ( our telesales person is blind and can only work with Excel ). The telesales person will then work with the lead data in Excel, updating where required. I'd like one of the fields in Excel to be notes on the call he makes. <br/><br/>I can import the Excel data back into CRM without a problem, (took a bit of working out), but would like to take the notes field in Excel and add it as a new note to the existing lead in CRM. <br/><br/>Each time the information is uploaded following a subsequent call to the same lead, say three months later, I'd like the note field to be uploaded as a new note. This way we can build a history of the conversations the telesales person has had with the lead. <br/><br/>Questions is, how do we upload a single field in Excel to a new Note entry within the Notes entity of the lead? <br/><br/>Hope this is possible some how... appreciate any comments or questions. <br/><br/>Best Regards<br/><br/>Dave C<hr class="sig">Dave CTue, 24 Nov 2009 21:47:33 Z2009-11-24T21:47:36Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3f29a039-02fa-4cb8-8b0d-c600695e9a19http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/3f29a039-02fa-4cb8-8b0d-c600695e9a19Jimbo64http://social.microsoft.com/Profile/en-US/?user=Jimbo64Obtaining day of week from Date fieldI have two fields called new_Followup_Date (a date field) and new_Followup_Day (a text field) where I want to populate into new_Followup_Day the day of the Week (Mon 21st, Tue 22nd etc) based on the date inputted into new_Followup_Date.  I would imagine this would be achieved by Javascript on an OnChange Event on new_Followup_Date ideally through a SOAP(?) so that the day of the week immediately gets populated by the appropriate day.<br/><br/>Has anyone any code or references that could help me solve this problem?<br/><br/>Regards<br/><br/>JimTue, 24 Nov 2009 19:05:05 Z2009-11-24T20:54:17Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/d7a572b6-2272-4228-b799-b755fc9b0c03http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/d7a572b6-2272-4228-b799-b755fc9b0c03movidiuhttp://social.microsoft.com/Profile/en-US/?user=movidiuCannot fire onafterselect event from form assistant<p>I have a problem with &quot;onafterselect&quot; javascript event for a lookup field.<br/>If I select a value from lookup field the javascript is fired.<br/>If I want to select the same value from 'form assistant' the &quot;onafterselect&quot; event is not fired.</p> <p>I tested this scenario for 'onchange' event and is fired from lookup and form assistant too. The problem is that I need <br/>onafterselect because i have to get data from lookup.</p> <p>This is the part of code where I use &quot;onafterselct&quot; javascript event. Is used in form -&gt; onload event.<br/></p> <pre lang=x-js>function OnCrmPageLoad() { crmForm.all.customerid.attachEvent( &quot;onafterselect&quot; , OnCustomerSelected); } function OnCustomerSelected() { alert('onafterselect test'); //get the value from lookup var number= crmForm.customerid.items[0].values[1].value; //set a temp field crmForm.all.new_temp.DataValue = number; } OnCrmPageLoad(); </pre> <p>Any help is appreciated.</p> <p>Thank you!</p>Tue, 24 Nov 2009 18:54:09 Z2009-11-24T19:38:11Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/e2195113-0028-45ed-9124-bb41643cbb37http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/e2195113-0028-45ed-9124-bb41643cbb37movidiuhttp://social.microsoft.com/Profile/en-US/?user=movidiuFiltering data in form assistant<p class=MsoNormal>I created filtered lookups like in this example: <a href="http://social.microsoft.com/Forums/en-US/redir.aspx?C=af13b01d6c5c40d2bd48b0f4e0bcc9b5&amp;URL=http://advantageworks.blogspot.com/2008/02/pseudo-filtered-lookup-dialog-in.html"><span style="color:#0000ff"><font color="#0000ff"><a href="http://advantageworks.blogspot.com/2008/02/pseudo-filtered-lookup-dialog-in.htmlbut">http://advantageworks.blogspot.com/2008/02/pseudo-filtered-lookup-dialog-in.html</a></font></span></a><a href="http://advantageworks.blogspot.com/2008/02/pseudo-filtered-lookup-dialog-in.htmlbut"></a>, and is working fine.<br/>I wonder if is possible to filter data in form assistant too. As i know filtering data in this way is unsuported in crm 4 but maybe a workarround solution exists.<br/>Thanks for any suggestions!</p>Tue, 24 Nov 2009 19:16:28 Z2009-11-24T19:16:30Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/79a87d13-19b5-4dbe-81f8-b7a081e7863ehttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/79a87d13-19b5-4dbe-81f8-b7a081e7863eIvan Bicalhohttp://social.microsoft.com/Profile/en-US/?user=Ivan%20BicalhoO que é possível fazer com plugin?Pessoal,<br/><br/>Estou começando a trabalhar com plugin, e gostaria de saber o que é possível fazer.... Por exemplo, pra tudo até agora que precisei fazer no crm, se não deu com workflow, fiz com javascript, ajax.... Gostaria de saber algumas situações em que só é possível fazer com plugin... <br/>Alguém sabe me dar alguns exemplos???<br/><br/>Obrigado!Tue, 24 Nov 2009 13:31:56 Z2009-11-24T15:55:16Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/bade54e8-e0eb-453a-b629-1f4c384de53ahttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/bade54e8-e0eb-453a-b629-1f4c384de53aSergey Chereshnyukhttp://social.microsoft.com/Profile/en-US/?user=Sergey%20ChereshnyukSystem job<div>Hi all, <br/> <br/>         Is it a possible to create something like SharePoint Job in the Dynamics CRM?<br/>         It means that I want to execute some block code everyday at defined time.<br/>         What can you suggest?<br/> <br/> Thanks in advance.</div>Tue, 24 Nov 2009 15:11:39 Z2009-11-24T15:24:56Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/61b56332-6bbb-486b-90d5-0bdc48ae09e5http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/61b56332-6bbb-486b-90d5-0bdc48ae09e5Hussain Saffarhttp://social.microsoft.com/Profile/en-US/?user=Hussain%20SaffarReport Builder 2.0I built a simple report that would display some values from CRM.<br/>I noticed something that I need you guys to help me with<br/><br/>for example ,<br/><br/>Original value is 123.63<br/>Current Displayed in Reoprt builder is 124.00<br/><br/>I want to display the orginal value without rounding. how to do this???<br/><hr class="sig">hussainTue, 24 Nov 2009 07:54:09 Z2009-11-24T15:21:33Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/ec8ed341-3f40-49af-aaab-a8dc88853d13http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/ec8ed341-3f40-49af-aaab-a8dc88853d13T Bonzhttp://social.microsoft.com/Profile/en-US/?user=T%20BonzCrmDateTimeProperty send blank date<p>i have a date field that I need to clear out under certain circumstances <br/><br/>this always errors:<br/><br/><span style="font-size:x-small"><font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">CrmDateTimeProperty</span></span><span style="font-size:x-small"> CRMDate = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">CrmDateTimeProperty</span></span><span style="font-size:x-small">(); <p>CRMDate.Name = CRMFieldName;</p> <font size=2> <p>CRMDate.Value =</p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">CrmDateTime</span></span><span style="font-size:x-small">();</span></p> <span style="font-size:x-small"> <p>CRMDate.Value.Value = null;</p> <p>arrProps.Add(CRMDate);<br/><br/>how do i pass a blank date?<br/></p> </span>Tue, 24 Nov 2009 14:22:56 Z2009-11-24T15:19:34Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/0c2b935b-51af-4871-ad0d-313ef28c8d23http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/0c2b935b-51af-4871-ad0d-313ef28c8d23WannabeSharepointGuruhttp://social.microsoft.com/Profile/en-US/?user=WannabeSharepointGuruProblems updating field.Hi all <br/><br/>I have custom entity with custom attributes. I try to update the attribute with value in a post execution plugin which will trigger on create. I get to write text in the field I want to update, but I get errors on the plug in saying &quot;Invalid arguments&quot; and I get errors with service allways being null.<br/><br/>This is my code<br/><br/><br/><br/> <pre lang="x-c#"> try { int myNIBnr = getNextNIBnumber(); TargetUpdateDynamic targetUpdate = new TargetUpdateDynamic(); //used to update entity UpdateRequest updateRequest = new UpdateRequest(); //request to update entity entity.Name = &quot;new_record&quot;; StringProperty stringProp = new StringProperty(); stringProp.Name = &quot;new_nibregno&quot;; stringProp.Value = myNIBnr.ToString(); entity.Properties.Add(stringProp); targetUpdate.Entity = entity; updateRequest.Target = targetUpdate; service.Execute(updateRequest); } catch (Exception ex) { throw new Exception(&quot;Error in update(): &quot;, ex); }</pre> <br/><br/><br/>Any ideas how to fix this? <br/>If you know about any code snippets solving my problem, please let me know :-)<br/><br/>Regards Sun, 22 Nov 2009 17:26:57 Z2009-11-24T14:58:35Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/88bebbef-9c9a-45ab-8abe-7cb274bfeecbhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/88bebbef-9c9a-45ab-8abe-7cb274bfeecbMSCRM MANhttp://social.microsoft.com/Profile/en-US/?user=MSCRM%20MANFiltered Lookup & Populate child entity with parent entity data<p class=MsoNormal style="margin:0cm 0cm 10pt"><span style="line-height:115%;font-family:'Verdana','sans-serif';color:black;font-size:8pt">Hi All,<br/><br/>I'm after two bits of Java script.<br/><br/>1) To allow me to populate a child entity (service activity) with data held on an Account. The service activity is created via the service centre and not from the account form.<br/><br/>2) Help on using filtered Lookups<br/><br/>Does anyone know of any good article - thank you</span></p> <br/>ThanksTue, 24 Nov 2009 14:01:20 Z2009-11-24T14:06:46Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/26813961-c4eb-4ba2-9454-2a4cc1db6be3http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/26813961-c4eb-4ba2-9454-2a4cc1db6be3j4m35bondhttp://social.microsoft.com/Profile/en-US/?user=j4m35bondTask assignment - Plugin for Route Message Hi there I am writing a plugin that intercept the pre assignment of task.<br/><br/>The plugin should do the following:<br/><br/>on Pre Assign, check the RouteType. If RouteType = Queue, then return without error.<br/>If RouteType = user, then <br/>check if the task assign to own (caller), return without error.<br/><br/>else, means assign to others, prompt error.<br/><br/>as a conclusion, i wan to prevent user assign taks to other users but it is allowed to assign task to own and queue.<br/><br/><br/>I can get the current user Guid from context.userid but may I know how to get the target assigned user Guid? <br/>Mon, 23 Nov 2009 05:53:17 Z2009-11-25T02:09:20Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/57a078c3-33e8-4a60-b9c0-f71213577a39http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/57a078c3-33e8-4a60-b9c0-f71213577a39rajesh kumarhttp://social.microsoft.com/Profile/en-US/?user=rajesh%20kumarHelp me..Error while closing an opportunityHi,<br/>Iam getting an error while closing an opportunity in Production server.<br/>Can any one please help me, how to solve this problem.<br/><br/>Thanks,<br/>Rajesh Kumar.Tue, 24 Nov 2009 10:20:38 Z2009-11-24T13:11:14Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/10609da4-8806-4ad2-8d97-05e3ed400723http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/10609da4-8806-4ad2-8d97-05e3ed400723danprihttp://social.microsoft.com/Profile/en-US/?user=danpriSingle Field ColourHi All,<br/><br/>Is there a way to change the background of a single field during runtime using javascript please<br/><br/>Regards<br/><br/>Tue, 24 Nov 2009 12:47:11 Z2009-11-24T14:32:30Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/cc5f0ed5-0ee3-4063-98c0-f3a8177a7d3ehttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/cc5f0ed5-0ee3-4063-98c0-f3a8177a7d3eraja rajahttp://social.microsoft.com/Profile/en-US/?user=raja%20rajaentity creationhi,<br/><br/>i have an enity . it is having around 500 attributes. i want to create an another entity (just clone) containg all the attrinbutes of an existing entity. if i want to do manually it will take so much time. so please let me know will there be any other way to make the process easier. or is there any crm tools available to achieve this?Mon, 23 Nov 2009 06:34:42 Z2009-11-24T13:04:22Zhttp://social.microsoft.com/Forums/en-US/crmdevelopment/thread/b0c8c607-1fb0-48fc-bb86-de02aa289246http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/b0c8c607-1fb0-48fc-bb86-de02aa289246Aarchhttp://social.microsoft.com/Profile/en-US/?user=Aarchget the latest modified recordHi ,<br/><br/>I have a set of child records for my parent record.The child records have a field say field1 with value default to 0 and another field say signedon . i want to update field1 to 1 in child record for the record whose signedon value is the latest. Any thoughts?<hr class="sig">Thanks, AarchTue, 24 Nov 2009 06:43:13 Z2009-11-24T12:44:58Z