Questions:
Should all queries simply restrict results by fiscal year?
To ensure that your query can show data from multiple fiscal years, make sure you have included table joins on all financial fields required.
| Table | Field | Notes |
|---|---|---|
It is best to join tables in the following order if you need results for multiple fiscal years. If you do not do this, you may see duplicates in your results set.
finance_funds
finance_budgets
finance_fiscal_years
finance_group__fund_fiscal_years
finance_groups
finance_fund_types
Here is a diagram of the data model for fiscal year in FOLIO.
There are different ways you can restrict your query results by fiscal year, for example:
To make sure your query results are showing the right results for a given fiscal year, check at least 3 rows of results against the same data in the Finance App in FOLIO.