Using Fiscal Year Expressions with Advanced Numbering Rules
You can define your company's fiscal year at Setup > Accounting > Manage G/L > Manage Accounting Periods. Fiscal years do not have to align with calendar years. For more information, see Fiscal Calendars.
You can use the following fiscal year expressions to correctly display the fiscal year in your advanced numbering rules. You can use any of these options when your fiscal year matches a calendar year.
-
${YYYY_START}: When your fiscal year is spread across two years, uses the four digit year from the first portion as the fiscal year.
-
${YY_START}: When your fiscal year is spread across two years, uses the two digit year from the first portion as the fiscal year.
-
${YYYY_END}: When your fiscal year is spread across two years, uses the four digit year from the second portion as the fiscal year.
-
${YY_END}: When your fiscal year is spread across two years, uses the two digit year from the second portion as the fiscal year.
Examples
Your Company’s Fiscal Year |
Transaction Date |
Expression in Advanced Numbering Rule |
Year Used in Document or Transaction Number |
---|---|---|---|
From July 2020 to June 2021 |
September 16, 2020 |
${YYYY_START} |
2020 |
From July 2020 to June 2021 |
September 16, 2020 |
${YYYY_END} |
2021 |
From July 2020 to June 2021 |
September 16, 2020 |
${YYYY} |
2020 |
From July 2020 to June 2021 |
September 16, 2020 |
${MM} |
09 |
From July 2020 to June 2021 |
September 16, 2020 |
${DD} |
16 |
From July 2020 to June 2021 |
January 5, 2021 |
${YYYY_START} |
2020 |
From July 2020 to June 2021 |
January 5, 2021 |
${YYYY_END} |
2021 |
From January 2020 to December 2020 |
September 16, 2020 |
${YYYY_START} |
2020 |
From January 2020 to December 2020 |
September 16, 2020 |
${YYYY_END} |
2020 |
From January 2021 to December 2021 |
January 5, 2021 |
${YYYY_START} |
2021 |
From January 2021 to December 2021 |
January 5, 2021 |
${YYYY_END} |
2021 |
Any defined fiscal year |
January 5, 2021 |
${YYYY} |
2021 |
Any defined fiscal year |
January 5, 2021 |
${MM} |
01 |
Any defined fiscal year |
January 5, 2021 |
${DD} |
05 |