CRMAF过滤2011年CRM(CRMAF Filtering in CRM 2011)

2019-09-17 16:34发布

我试图使用的CRM 2011年的一份报告CRM CRMAF滤镜,但我无法找到如何做到这一点的任何例子。 什么查询需要改变,以对行情过滤和需要添加什么参数。

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_PostalCode, Quote.BillTo_Telephone, Quote.BillTo_Fax, QuoteDetail.LineItemNumber, QuoteDetail.Quantity, QuoteDetail.ProductId, 
                         QuoteDetail.ProductDescription, QuoteDetail.BaseAmount, QuoteDetail.ExtendedAmount, Quote.DiscountAmount, Quote.TotalTax, Quote.TotalAmount, 
                         Quote.RevisionNumber
FROM            Quote INNER JOIN
                         QuoteDetail ON Quote.QuoteId = QuoteDetail.QuoteId INNER JOIN
                         SystemUser ON Quote.OwnerId = SystemUser.SystemUserId

Answer 1:

这里是你可以看看一个参考: http://blogs.msdn.com/b/crm/archive/2009/03/06/microsoft-dynamics-crm-pre-filtering-tips.aspx

你最终使用CRM创建每个实体的特殊过滤的意见。

SELECT name, accountnumber 
FROM FilteredAccount as CRMAF_Account

另参考: http://msdn.microsoft.com/en-us/library/gg309722



文章来源: CRMAF Filtering in CRM 2011