# How do custom fiscal years accommodate non-standard corporate accounting schedules in Sales Cloud forecasting?

**Topic:** Sales Cloud · **Difficulty:** Medium · **Tags:** Sales Cloud, Custom Fiscal Years, Forecasting

Read it on the site: https://www.forcechallenges.com/interview-questions/how-do-custom-fiscal-years-accommodate-non-standard-corporate-accounting-schedules-in-sales-cloud-forecasting

## Answer

**Basics:** Standard fiscal year is 12 calendar months with a chosen start month. Retail and some enterprises use 4-4-5 or 52/53-week years, where periods have different lengths. Custom fiscal years model that.

**How it works:**
1. Setup > Company Settings > Fiscal Year.
2. Choose Standard Fiscal Year (start month and naming basis) or Custom Fiscal Year.
3. For custom, enable it, then define each fiscal year with a start date, then define its quarters and periods with their dates and labels. Periods can be months, weeks and quarters, depending on structure.
4. Date literals such as THIS_FISCAL_QUARTER and report fiscal groupings use the definition.
5. Forecasts and quotas use fiscal periods (verify supported period types for Collaborative Forecasts in current docs).

**Advanced / deep dive:** Every date you report or forecast on must fall inside a defined fiscal year; a gap leaves records unassigned in fiscal groupings, so load years several years ahead. Changing a fiscal year after data exists can shift fiscal period assignments for reports and quotas, so treat this as a controlled change and test in a sandbox. Custom fiscal year data is queryable through the Period and FiscalYearSettings objects. Be careful when switching between standard and custom after go-live; verify the reversibility rules and impact on forecasts and quotas in current documentation before attempting. Integrations that do their own fiscal math (data warehouse, CRM Analytics) must read the same definitions or numbers will diverge.

**Code / config example:**
```sql
-- Fiscal date literals and periods
SELECT Id, Name, Amount, FiscalQuarter, FiscalYear
FROM Opportunity WHERE CloseDate = THIS_FISCAL_QUARTER

SELECT Id, Type, StartDate, EndDate, FullyQualifiedLabel
FROM Period WHERE Type = 'Quarter' AND StartDate >= LAST_FISCAL_YEAR
```

**Hidden gotchas & must-remember points:**
- Define years in advance or fiscal groupings break for future dates.
- Weekly custom periods need a consistent structure; the setup wizard validates it.
- Fiscal literals in SOQL follow the org's fiscal setup, not the calendar.
- Some features (forecast period types, quota granularity) have restrictions with custom years; verify current docs.
- Changing fiscal settings may recalculate or invalidate quotas and forecasts.
- Anything computed outside Salesforce needs the same calendar.

**Best practice:** Mirror the finance calendar exactly, load at least three years ahead, and rehearse changes in a full sandbox.

---
Source: ForceChallenges · last updated 2026-11-02
