我试图使用的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