Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

This service is used to determine the active fiscal period periods for a given date. Returns an XML result set with a list of (kfsFiscalYear, kfsFiscalPeriod).

...

IndexParameterDescriptionRequired?Data Type (max length)Example
0dateThe date to search for active fiscal periodNo (default is today's date)String(8) YYYYMMDD'20120701'

DB Query

Code Block
SELECT TOP 1 univ_fiscal_yr, univ_fiscal_prd_cd
FROM sh_acct_period_t
WHERE row_actv_ind <> 'N'
	AND univ_fiscal_prd_cd <= '1213'
	AND univ_fscpd_end_dt >= convert(DATETIME, '2013062520130715', 112)
ORDER BY univ_fiscal_yr, univ_fiscal_prd_cd

...