Devuelve el último día del año fiscal para una fecha u hora específica en Salesforce Spiff. El formato de devolución es AAAA-MM-DD. Si no especificó fechas de año fiscal en Spiff, esta función recae en un año natural estándar.
Ediciones necesarias
Disponible en: Salesforce Classic (no disponible en todas las organizaciones) y Lightning Experience
Disponible en: Enterprise Edition, Unlimited Edition y Developer Edition
Está disponible a un costo adicional en: Professional Edition con API de servicios web activada
Sintaxis
end_of_fiscal_year(date or time, offset)
Argumentos
Argumento
¿Obligatorio?
Descripción
date_or_time
Obligatorio
El valor Fecha o Fecha y hora para evaluar. Este argumento admite cualquier función de fecha.
offset
Opcional
Un entero que sustituye el final del año fiscal en un mes. Los valores positivos desplazan el final hacia delante en el tiempo y los valores negativos desplazan el final hacia atrás en el tiempo.
Ejemplo
Devuelva el final del año fiscal basándose en el inicio del periodo de declaración, utilizando la función de ayuda BeginningOfPeriod, y ajuste el valor un mes atrás en el tiempo.
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
Always Active
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
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
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.