152: l_list(1) := 'BIS_PRIMARY_CURRENCY_CODE';
153: l_list(2) := 'BIS_GLOBAL_START_DATE';
154: l_list(3) := 'BIS_PRIMARY_RATE_TYPE';
155:
156: IF (bis_common_parameters.check_global_parameters(l_list)) THEN
157: --{
158:
159: -- Since these are file scope variables that are cached at a session
160: -- level, make sure to reinitialize them explicitly each time.
159: -- Since these are file scope variables that are cached at a session
160: -- level, make sure to reinitialize them explicitly each time.
161:
162: -- GSD - already checked if GSD is set up
163: g_global_start_date := bis_common_parameters.get_global_start_date;
164:
165: -- Global currency codes - already checked if primary is set up
166: g_global_currency_code := bis_common_parameters.get_currency_code;
167: g_secondary_currency_code :=
162: -- GSD - already checked if GSD is set up
163: g_global_start_date := bis_common_parameters.get_global_start_date;
164:
165: -- Global currency codes - already checked if primary is set up
166: g_global_currency_code := bis_common_parameters.get_currency_code;
167: g_secondary_currency_code :=
168: bis_common_parameters.get_secondary_currency_code;
169:
170: -- Global rate types -- already checked if primary is set up
164:
165: -- Global currency codes - already checked if primary is set up
166: g_global_currency_code := bis_common_parameters.get_currency_code;
167: g_secondary_currency_code :=
168: bis_common_parameters.get_secondary_currency_code;
169:
170: -- Global rate types -- already checked if primary is set up
171: g_global_rate_type := bis_common_parameters.get_rate_type;
172: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
167: g_secondary_currency_code :=
168: bis_common_parameters.get_secondary_currency_code;
169:
170: -- Global rate types -- already checked if primary is set up
171: g_global_rate_type := bis_common_parameters.get_rate_type;
172: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
173:
174: -- check that either both the secondary rate type and secondary
175: -- rate are null, or that neither are null.
168: bis_common_parameters.get_secondary_currency_code;
169:
170: -- Global rate types -- already checked if primary is set up
171: g_global_rate_type := bis_common_parameters.get_rate_type;
172: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
173:
174: -- check that either both the secondary rate type and secondary
175: -- rate are null, or that neither are null.
176: