time 
设为首页】【收藏本站
当前位置: 主页 > ERP > CRM > 【Dynamics CRM报表开发】6、使用CRM预置参数

【Dynamics CRM报表开发】6、使用CRM预置参数

时间:2014-10-17 15:49 点击:550次 字体:[ ]




具体参考sdk中的 Use Parameters in Reports 章节,参数列表见下面:

参数名称

描述

CRM_FilterText

Contains the value of the filter text that a report user interactively creates in the Report Viewer when the user runs a report. The parameter is in a filter summary text box that is located in the report header. The initial value is set to the default filter.

CRM_URL

Set to the URL of the Microsoft Dynamics CRM Web application. Use this parameter when drilling through to Microsoft Dynamics CRM.

CRM_FilteredEntity

Use in a query expression to enable data pre-filtering (through Advanced Find).

CRM_FullName

The full name of the user on whose behalf the report is running.

CRM_UserTimeZone

User’s time zone name, for example, Pacific Standard Time.

CRM_UILanguageId

Current locale (LCID) of the user.

CRM_YearStartWeekCode

The first week of the year that is used in Microsoft Dynamics CRM 2011.

CRM_WeekStartDayCode

The first day of the week that is used in Microsoft Dynamics CRM 2011.

CRM_FiscalCalendarStart

The start date for the fiscal year that is used in Microsoft Dynamics CRM 2011.

CRM_FiscalPeriodType

Specifies how the fiscal year is divided, Quarterly, Monthly, Annually and so on.

CRM_FiscalYearDisplayCode

Specifies whether the fiscal year name is displayed based on when the fiscal year starts or when it ends.

CRM_FiscalYearPeriodConnect

Specifies how the fiscal year and fiscal period are connected when displayed together.

CRM_FiscalYearFormat

Specifies how the name of the fiscal year will be displayed.

CRM_FiscalPeriodFormat

Specifies how the fiscal period will be displayed.

CRM_FiscalYearPrefixFormat

Specifies whether a prefix is attached to the fiscal year when it is displayed.

CRM_FiscalYearSuffixFormat

Specifies whether a suffix is attached to the fiscal year when it is displayed.

CRM_CurrencyDecimalPrecision

The currency decimal precision.

CRM_CurrencySymbol

The organization’s currency symbol.

CRM_CurrencyPositivePattern

The format pattern for positive currency values.

CRM_CurrencyNegativePattern

The format pattern for negative currency values.

CRM_NumberDecimalDigits

The number of decimal places to use in numeric values.

CRM_NumberDecimalSeperator

The string that is used as a decimal separator in numeric values.

CRM_NumberNegativePattern

The format pattern for negative numeric values.

CRM_NumberGroupSizes

The number of digits in each group to the left of the decimal in numeric values.

CRM_NumberGroupSeperator

The string that separates groups of digits to the left of the decimal in numeric values.

CRM_DateSeperator

The string that separates the components of a date, such as year, month, and day.

CRM_TimeSeperator

The string that separates the components of time, such as hour, minutes, and seconds.

CRM_AMDesignator

The string that separates the components of time, such as hour, minutes, and seconds

CRM_PMDesignator

The designator for hours that are "post meridiem" (PM).

CRM_ShortDatePattern

The format pattern for a short date value that is associated with the "d" format pattern.

CRM_LongDatePattern

The format pattern for a long date value that is associated with the "D" format pattern.

CRM_ShortTimePattern

The format pattern for a short time value that is associated with the "t" format pattern.

CRM_MonthDayPattern

The format pattern for month and day values that are associated with the "m" and "M" format patterns.

 

要使用这些参数很简单,在报表的报表数据中的参数文件夹右击,选择 增加参数, 名称输入上面的名称,记得将 选择参数可见性 的值设置为 隐藏。

【Dynamics CRM报表开发】6、使用CRM预置参数_www.fengfly.com
 
然后在CRM的报表中就可以使用了,比如我这里是将报表的一个文本框的 表达式 设置为刚才这个参数的值。
【Dynamics CRM报表开发】6、使用CRM预置参数_www.fengfly.com
 
【Dynamics CRM报表开发】6、使用CRM预置参数_www.fengfly.com
 
这样在CRM报表中就可以看到这个参数的值了,这些参数有个好处就是CRM自动赋值,不需要我们来处理,使用即可。我们去测试看看,不同的人运行报表会有不同的结果。
【Dynamics CRM报表开发】6、使用CRM预置参数_www.fengfly.com
 
 
【Dynamics CRM报表开发】6、使用CRM预置参数_www.fengfly.com
 


本文地址 : http://www.fengfly.com/plus/view-215410-1.html
标签: Dynamics CRM 报表开发 预置参数
------分隔线----------------------------
最新评论 查看所有评论
发表评论 查看所有评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
验证码: