226:
227:
228: l_stmt_num := 12;
229: -- Global currency codes -- already checked if primary is set up
230: g_global_currency_code := bis_common_parameters.get_currency_code;
231: g_secondary_currency_code :=
232: bis_common_parameters.get_secondary_currency_code;
233:
234: g_global_start_date := trunc (bis_common_parameters.get_global_start_date);
228: l_stmt_num := 12;
229: -- Global currency codes -- already checked if primary is set up
230: g_global_currency_code := bis_common_parameters.get_currency_code;
231: g_secondary_currency_code :=
232: bis_common_parameters.get_secondary_currency_code;
233:
234: g_global_start_date := trunc (bis_common_parameters.get_global_start_date);
235:
236: l_stmt_num := 14;
230: g_global_currency_code := bis_common_parameters.get_currency_code;
231: g_secondary_currency_code :=
232: bis_common_parameters.get_secondary_currency_code;
233:
234: g_global_start_date := trunc (bis_common_parameters.get_global_start_date);
235:
236: l_stmt_num := 14;
237: -- Global rate types -- already checked if primary is set up
238: g_global_rate_type := bis_common_parameters.get_rate_type;
234: g_global_start_date := trunc (bis_common_parameters.get_global_start_date);
235:
236: l_stmt_num := 14;
237: -- Global rate types -- already checked if primary is set up
238: g_global_rate_type := bis_common_parameters.get_rate_type;
239: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
240:
241: l_stmt_num := 16;
242: -- check that either both the secondary rate type and secondary
235:
236: l_stmt_num := 14;
237: -- Global rate types -- already checked if primary is set up
238: g_global_rate_type := bis_common_parameters.get_rate_type;
239: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
240:
241: l_stmt_num := 16;
242: -- check that either both the secondary rate type and secondary
243: -- rate are null, or that neither are null.
1529: l_list(1) := 'BIS_PRIMARY_CURRENCY_CODE';
1530: l_list(2) := 'BIS_GLOBAL_START_DATE';
1531: l_list(3) := 'BIS_PRIMARY_RATE_TYPE';
1532:
1533: IF (bis_common_parameters.check_global_parameters(l_list)) THEN
1534:
1535: IF BIS_COLLECTION_UTILITIES.SETUP( 'OPI_DBI_CURR_UNREC_VAR_F' ) = false then
1536: RAISE_APPLICATION_ERROR(-20000, errbuf);
1537: End if;
2036: END IF;
2037:
2038: /* get global start date */
2039: l_stmt_num := 20;
2040: g_global_start_date := trunc (bis_common_parameters.get_global_start_date);
2041: IF (g_global_start_date IS NULL) THEN
2042: BIS_COLLECTION_UTILITIES.PUT_LINE ('The global Start date Not Set.');
2043:
2044: RAISE_APPLICATION_ERROR(-20000, errbuf);
2045: END IF;
2046:
2047: l_stmt_num := 30;
2048: -- Global currency codes -- already checked if primary is set up
2049: g_global_currency_code := bis_common_parameters.get_currency_code;
2050: g_secondary_currency_code := bis_common_parameters.get_secondary_currency_code;
2051:
2052: -- Global rate types -- already checked if primary is set up
2053: g_global_rate_type := bis_common_parameters.get_rate_type;
2046:
2047: l_stmt_num := 30;
2048: -- Global currency codes -- already checked if primary is set up
2049: g_global_currency_code := bis_common_parameters.get_currency_code;
2050: g_secondary_currency_code := bis_common_parameters.get_secondary_currency_code;
2051:
2052: -- Global rate types -- already checked if primary is set up
2053: g_global_rate_type := bis_common_parameters.get_rate_type;
2054: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
2049: g_global_currency_code := bis_common_parameters.get_currency_code;
2050: g_secondary_currency_code := bis_common_parameters.get_secondary_currency_code;
2051:
2052: -- Global rate types -- already checked if primary is set up
2053: g_global_rate_type := bis_common_parameters.get_rate_type;
2054: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
2055:
2056: -- check that either both the secondary rate type and secondary
2057: -- rate are null, or that neither are null.
2050: g_secondary_currency_code := bis_common_parameters.get_secondary_currency_code;
2051:
2052: -- Global rate types -- already checked if primary is set up
2053: g_global_rate_type := bis_common_parameters.get_rate_type;
2054: g_secondary_rate_type := bis_common_parameters.get_secondary_rate_type;
2055:
2056: -- check that either both the secondary rate type and secondary
2057: -- rate are null, or that neither are null.
2058: IF ((g_secondary_currency_code IS NULL AND