136:
137:
138: IF (g_global_rate_type IS NULL) THEN
139: --{
140: g_global_rate_type := bis_common_parameters.get_rate_type;
141: --}
142: END IF;
143:
144: l_list(1) := 'BIS_PRIMARY_CURRENCY_CODE';
144: l_list(1) := 'BIS_PRIMARY_CURRENCY_CODE';
145: l_list(2) := 'BIS_GLOBAL_START_DATE';
146: l_list(3) := 'BIS_PRIMARY_RATE_TYPE';
147:
148: IF (bis_common_parameters.check_global_parameters(l_list)) THEN
149: --{
150: -- GSD -- already checked if it is set up
151: g_global_start_date := bis_common_parameters.get_global_start_date;
152:
147:
148: IF (bis_common_parameters.check_global_parameters(l_list)) THEN
149: --{
150: -- GSD -- already checked if it is set up
151: g_global_start_date := bis_common_parameters.get_global_start_date;
152:
153: -- Global currency codes -- already checked if primary is set up
154: g_global_currency_code := bis_common_parameters.get_currency_code;
155: g_secondary_currency_code :=
150: -- GSD -- already checked if it is set up
151: g_global_start_date := bis_common_parameters.get_global_start_date;
152:
153: -- Global currency codes -- already checked if primary is set up
154: g_global_currency_code := bis_common_parameters.get_currency_code;
155: g_secondary_currency_code :=
156: bis_common_parameters.get_secondary_currency_code;
157:
158: -- Global rate types -- already checked if primary is set up
152:
153: -- Global currency codes -- already checked if primary is set up
154: g_global_currency_code := bis_common_parameters.get_currency_code;
155: g_secondary_currency_code :=
156: bis_common_parameters.get_secondary_currency_code;
157:
158: -- Global rate types -- already checked if primary is set up
159: g_global_rate_type := bis_common_parameters.get_rate_type;
160: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
155: g_secondary_currency_code :=
156: bis_common_parameters.get_secondary_currency_code;
157:
158: -- Global rate types -- already checked if primary is set up
159: g_global_rate_type := bis_common_parameters.get_rate_type;
160: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
161:
162: -- check that either both the secondary rate type and secondary
163: -- rate are null, or that neither are null.
156: bis_common_parameters.get_secondary_currency_code;
157:
158: -- Global rate types -- already checked if primary is set up
159: g_global_rate_type := bis_common_parameters.get_rate_type;
160: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
161:
162: -- check that either both the secondary rate type and secondary
163: -- rate are null, or that neither are null.
164: IF ( (g_secondary_currency_code IS NULL AND