dynamics-crm-2011

x++ script that do not return correct count

霸气de小男生 提交于 2020-01-06 06:36:52
问题 I have a x++ script which aims to count records from a select query and later on be updated. This is the original question for reference: convert SQL Query with Join to X++ Dynamics AX scripting Initially, I have a SQL Query counterpart of it and it is resulting to 50 rows / records, when I convert it to X++ , it is not counting or extracting the same number of records, Here is is the x++ script static void Job(Args _args) { Table1 table1; Table2 table2; Table3 table3; Table4 table4; Table5

Use extended REST functions like contains in Dynamics CRM

醉酒当歌 提交于 2020-01-06 03:01:09
问题 As I noticed, fetching data in Dynamics CRM with REST is a lot faster then with SOAP especially for big data. Since I'm new to this topic (REST) I want to ask if it's necessary to include any additional library to use functions in my query for instance "contains". If I send the query: XrmServiceToolkit.Rest.RetrieveMultiple("ActivityPointerSet", "$filter=contains(Subject,'Test')&$top=10", function(results){ console.log(results); }, function(error){ console.log(error); }, function onComplete()

Prevent sending email and show message via plug-in

我的未来我决定 提交于 2020-01-05 07:36:36
问题 I am writing crm2011 plugin in "Email" entity with "Send" Message of Pre_operation. What i want to do is when i click "Send" button in email entity, I do the necessary checking before send. If the checking is not correct, I want to prevent and stop the sending email and show "the alert message" and stop the second plugin(this plugin send email and create the associated entity to convert "Case"). Please give me some suggestion for that plugin? Should i use pre-Validation stage or Pre_operation

Nullable filters in XRM where clause

为君一笑 提交于 2020-01-05 06:38:38
问题 I'm using the XRM (early bound) types in a WCF project so I have access to the CRM model and can use LINQ queries. But I've been running into a problem described here, it's the limitations on the where clause specific to XRM LINQ: where [clause limitations] The left side of the clause must be an attribute name and the right side of the clause must be a value. You cannot set the left side to a constant. Both the sides of the clause cannot be constants. Supports the String functions Contains,

CRM 2011 Async Post Update Plugin

让人想犯罪 __ 提交于 2020-01-04 12:21:48
问题 I have an Aynchronous Post-Operation plugin runs on an Update step. Now my challange is to find original values for the fields that the user is updating. Since it is post-operation step, is it possible to find the previous value fields that were updated? Thanks! 回答1: Yes. Register a preimage snapshot of your entity against the step in your plugin. Pre and Post Entity Images 来源: https://stackoverflow.com/questions/10178824/crm-2011-async-post-update-plugin

CRMAF Filtering in CRM 2011

牧云@^-^@ 提交于 2020-01-04 11:41:54
问题 I am trying to use CRM CRMAF Filter in a report for CRM 2011. But I can't find any examples on how to do it. What does the query need to be changed to to filter on Quotes and what Parameter needs to be added. SELECT Quote.QuoteNumber, Quote.Name, Quote.CreatedOn, Quote.CustomerIdName, Quote.OwnerIdName, SystemUser.Address1_Telephone1, SystemUser.InternalEMailAddress, Quote.Name AS Expr1, Quote.BillTo_Line1, Quote.BillTo_Line2, Quote.BillTo_Line3, Quote.BillTo_StateOrProvince, Quote.BillTo

CRMAF Filtering in CRM 2011

烂漫一生 提交于 2020-01-04 11:40:23
问题 I am trying to use CRM CRMAF Filter in a report for CRM 2011. But I can't find any examples on how to do it. What does the query need to be changed to to filter on Quotes and what Parameter needs to be added. SELECT Quote.QuoteNumber, Quote.Name, Quote.CreatedOn, Quote.CustomerIdName, Quote.OwnerIdName, SystemUser.Address1_Telephone1, SystemUser.InternalEMailAddress, Quote.Name AS Expr1, Quote.BillTo_Line1, Quote.BillTo_Line2, Quote.BillTo_Line3, Quote.BillTo_StateOrProvince, Quote.BillTo

CRMAF Filtering in CRM 2011

杀马特。学长 韩版系。学妹 提交于 2020-01-04 11:40:07
问题 I am trying to use CRM CRMAF Filter in a report for CRM 2011. But I can't find any examples on how to do it. What does the query need to be changed to to filter on Quotes and what Parameter needs to be added. SELECT Quote.QuoteNumber, Quote.Name, Quote.CreatedOn, Quote.CustomerIdName, Quote.OwnerIdName, SystemUser.Address1_Telephone1, SystemUser.InternalEMailAddress, Quote.Name AS Expr1, Quote.BillTo_Line1, Quote.BillTo_Line2, Quote.BillTo_Line3, Quote.BillTo_StateOrProvince, Quote.BillTo

Integration to Microsoft Dynamic CRM 2011 [closed]

时间秒杀一切 提交于 2020-01-04 02:53:14
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . How to Integrate your application to Microsoft CRM 2011 using CRM 2011 SDK and C#? Edit: I moved my question to the answer to follow the question and answer format. according to Guido Preite. 回答1: Because I'm now in a habit of sharing new things I learn everyday, I'm just gonna

Trigger a report from a ribbon button

∥☆過路亽.° 提交于 2020-01-03 12:31:44
问题 I have several custom reports and I would like to be able to add buttons to the ribbon that trigger them. Is it possible? And if so, any examples would be great ! Thanks in advance ! 回答1: To run a report from a ribbon button you need to create a js file with a function you'll be calling from your button. You need 4 things: rdlName - rdl file name. reportGuid GUID of the report. entityGuid = Entity GUID wich you run report for. entityType = Entity Object Type Code. Here is the example.