Using javascript to create and update record in crm 2011
Hi all,I have a requirement where I need to create a record from an entity i.e. from entity A i need to create a record in entity B and if record exists I have to perform update operation in entity B...
View ArticleGet OptionSet Value according to Criteria using Plugin
HI Expert i am able to get the OptionSet Values. but i want to get the values by criteria(e.g. parentcustomerid). I am pasting my code here through which i am getting the OptionSet Values. But here...
View ArticleHow to add javascript with sub-grid inside the entity
Am Using 2 entities in this process (contact & external).Inside the contact entity( i displayed a Subgrid which showing 'external' entity records).If i changed a field in 'contact' entity, it...
View ArticleMS CRM 2011 - Order's total tax field
Is there a way to modify total tax field in order form by myself. With code var totalamount = Xrm.Page.getAttribute('totallineitemamount').getValue(); var totalvat = 0.24 * totalamount;...
View ArticleMake All Read Only Fields Available
We've written jscript web resource to disable all fields but 2. This is part of an approval process, and the jscript works. Once the approver indicates approval with changes (selected from an option...
View ArticleUpdate account record
I am writing a SQLCLR database project , to add and update records in CRM from one of our SQL 2008 R2 servers.Having had a lot of help, I have worked out how to insert a new account into the accounts...
View ArticleNeed to get activities related to originating lead as wel using fetch xml
Hello Experts, How to create the filter condition using fetch xml, similar to screen shot below. Which shows all the activities related to opportunity and originating lead.Below is the fetch xml which...
View Articlesaving html web resource ends up edited -- won't save what I'm pasting
Whether I paste it into the text editor source or load it from file, my html web resource changes upon saving. I'd like to say it's just truncating, but it is smartly removing script elements and all...
View ArticleCRM 2011 - silverlight 2 way binding combo box not displaying selected value
I'm having a problem displaying a value in the combo box. One way binding works, but i would like to use 2 way binding.Below is my code.namespace CRMQuotes {publicclass Building :...
View ArticleSQL Server real-time blocks in CRM 2011
Create Proc p_GrantInheritedAccess @ReferencingObjectId uniqueidentifier, @ReferencingObjectTypeCode int, @ReferencedObjectId uniqueidentifier, @ReferencedObjectTypeCode int As Begin SET NOCOUNT ON --...
View ArticleUsing Rest Retrive Lead On Date but not getting result
I want to retrive lead by date using REST but it is not show result by date i used the O Data Query Designer tool to build querysee the codefunction nextProspect() { var...
View ArticleCRM 2011: Executing a plugin on opportunity when revising related quote
Hi all,I have developed a plugin that trigger the SetStateDynamicEntity message in opportunity to perform a specific action when the opportunity is reopened.This plugin is triggered only when the...
View ArticleConnect to web service with Java
Hello, Has anyone tried to consume an MS CRM 4 webservice via Java? We are trying to connect to the /MSCrmServices/2007/CrmService.asmx page and we receive error 401s. The IIS log file shows this:...
View ArticleCRM 2011: Plugin to update allotments used field when deleting related case
Hi all,Currently I'm developing a plugin to decrements the number of allotments used field in contract line when deleting the a related case, as follow:// <copyright file="PostCaseDelete.cs"...
View ArticleCRM 2011 Retrieve related entity information, Post create salesorder, access...
Hi everyone,I am new to CRM 2011 and I want to write a Plugin that gets executed when a salesorder is created (post create).I managed to access the information that is saved in the salesorder but I am...
View ArticleCRM 2011 - FetchXML - Reports - Retrieving Data From Related Entities
I have 2 entities - "VehicleJobForm" and "VehicleJobs". This is a 1:N relationship. Where I can have multiple "VehicleJobs" related to a single"VehicleJobForm". The related lookupfield is called...
View ArticleCRM 2011 Convert Lead
Dear All,I want to get the "Notes" tab information whenever I convert the lead to contact or Account or opportunity. This is not a out of box functionality. But how to do this through plugin or...
View Articlelookup on creating reacord
I'm struggling with adding a new record that has a lookup field<Microsoft.SqlServer.Server.SqlProcedure()> _ Public Shared Sub OriginatingAccount_Create(LicenceNo As SqlString, BAccount As...
View ArticleN:N Manual Recursive Relationship New Record.
Hello.I have created a manual N:N recursive relationship on an entity. I've added the subgrids of both sides of the relationship on the entity's form, one for the "Parent" records (which are my...
View ArticleCRM 2011 (UR13): Custom grid view for related records activities
Hi, I have two entities A and B with a 1:N relationship from A to B. I have added a subgrid on entity A form to show the open activities. In this grid I would like to show the activities of entity A as...
View Article