Functional Description
Purpose
This business function takes as input a fiscal year and returns the correct century for that year.
Also, it returns the century concatenated with the input year.
Setup Notes and Prerequisites
The business function determines the correct century to return by comparing the input year to the
CENTCHG data item default value. If the input year is greater than the CENTCHG value then the current
default century will be returned. Otherwise, the current default century incremented by one will be
returned.
PARAMETER INPUT/OUTPUT REQUIRED
1. mnFiscalYear Input No
2. mnCentury Output No
3. mnCenturyYear Output No
(Note: If mnFiscalYear is left blank fiscal year 00 will be used)
Examples:
1. CENTCHG = 10 2. CENTCHG = 10
Default CTRY = 19 Default CTRY = 19
mnFiscalYear = 97 mnFiscalYear = 07
mnCentury = 19 mnCentury = 20
mnCenturyYear= 1997 mnCenturyYear= 2007
3. CENTCHG = 00 4. CENTCHG = 00
Default CTRY = 19 Default CTRY = 19
mnFiscalYear = 03 mnFiscalYear = 00
mnCentury = 19 mnCentury = 20
mnCenturyYear= 1903 mnCenturyYear= 2000
Technical Specification
Get the default value for the century (CTRY) data dictionary item.
Get the default value for the century change (CENTCHG) data dictionary item (this is a fiscal year
value).
If input fiscal year is greater than century change fiscal year
Return century and century/fiscal year.
D0000154 - Retrieve Correct Century
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnFiscalYear | FY | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
mnCentury | CTRY | MATH_NUMERIC | NONE | NONE |
Special Output Returned
| ||||
mnCenturyYear | CENTYR | MATH_NUMERIC | NONE | NONE |
Special Output Returned
|
None |
None |