您在此处:
end_of_fiscal_year
返回 Salesforce Spiff 中特定日期或时间的会计年度的最后一天。返回格式是 YYYY-MM-DD。如果您未在 Spiff 中指定会计年度日期,此函数将返回标准日历年度。
返回 Salesforce Spiff 中特定日期或时间的会计年度的最后一天。返回格式是 YYYY-MM-DD。如果您未在 Spiff 中指定会计年度日期,此函数将返回标准日历年度。
| 适用于:Salesforce Classic(并非在所有组织中可用)和 Lightning Experience |
| 适用于:Enterprise、Unlimited 和 Developer Edition |
| 另行付费后适用于:启用了 Web 服务 API 的 Professional Edition |
end_of_fiscal_year(date or time, offset)| 参数 | 必需? | 描述 |
|---|---|---|
| date_or_time | 必需 | 要评估的日期或日期和时间值。此参数支持任何日期函数。 |
| offset | 可选 | 覆盖会计年度结束一个月的整数。正值会将结束时间向前移动,负值会将结束时间向后移动。 |
使用 BeginningOfPeriod 助手函数,根据报表期间的开始时间返回会计年度的结束时间,并将值调整一个月。
=end_of_fiscal_year(BeginningOfPeriod, -1)
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.