DBA Data[Home] [Help]

APPS.OKL_ACCOUNT_DIST_PVT dependencies on OKL_ACCOUNTING_UTIL

Line 989: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;

985: END IF;
986:
987: -- get the below details based on the representation .. MG uptake
988: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
989: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;
990: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;
991: ELSE
992: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);
993: l_set_of_books_id := g_ledger_id;

Line 990: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;

986:
987: -- get the below details based on the representation .. MG uptake
988: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
989: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;
990: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;
991: ELSE
992: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);
993: l_set_of_books_id := g_ledger_id;
994: END IF;

Line 992: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);

988: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
989: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;
990: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;
991: ELSE
992: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);
993: l_set_of_books_id := g_ledger_id;
994: END IF;
995:
996: OPEN sao_csr;

Line 1022: l_rate := Okl_Accounting_Util.get_curr_con_rate

1018: -- Multi Currency Changes
1019:
1020: /*
1021: IF (l_passed_curr <> l_functional_curr) THEN
1022: l_rate := Okl_Accounting_Util.get_curr_con_rate
1023: (p_from_curr_code => l_passed_curr,
1024: p_to_curr_code => l_functional_curr,
1025: p_con_date => p_dist_info_rec.currency_conversion_date,
1026: p_con_type => p_dist_info_rec.currency_conversion_type);

Line 1066: l_total_amount := Okl_Accounting_Util.ROUND_AMOUNT

1062:
1063: -- Changed by Santonyr on 18th Jun, 2003 to fix the bug 3012735
1064: -- Rounding the amounts before processing
1065:
1066: l_total_amount := Okl_Accounting_Util.ROUND_AMOUNT
1067: (p_amount => p_amount,
1068: p_currency_code => l_passed_curr);
1069:
1070: l_acc_total_amount := Okl_Accounting_Util.ROUND_AMOUNT

Line 1070: l_acc_total_amount := Okl_Accounting_Util.ROUND_AMOUNT

1066: l_total_amount := Okl_Accounting_Util.ROUND_AMOUNT
1067: (p_amount => p_amount,
1068: p_currency_code => l_passed_curr);
1069:
1070: l_acc_total_amount := Okl_Accounting_Util.ROUND_AMOUNT
1071: (p_amount => l_total_amount * l_rate,
1072: p_currency_code => l_functional_curr);
1073:
1074: -- Check to see that Template has at least two lines

Line 1184: l_amount := Okl_Accounting_Util.ROUND_AMOUNT

1180: l_tabv_tbl(i).SOURCE_ID := p_dist_info_rec.source_id;
1181: l_tabv_tbl(i).SOURCE_TABLE := p_dist_info_rec.source_table;
1182: l_tabv_tbl(i).GL_REVERSAL_FLAG := p_dist_info_rec.gl_reversal_flag;
1183:
1184: l_amount := Okl_Accounting_Util.ROUND_AMOUNT
1185: (p_amount => l_slice_amount,
1186: p_currency_code => l_passed_curr);
1187:
1188: l_acc_amount := Okl_Accounting_Util.ROUND_AMOUNT

Line 1188: l_acc_amount := Okl_Accounting_Util.ROUND_AMOUNT

1184: l_amount := Okl_Accounting_Util.ROUND_AMOUNT
1185: (p_amount => l_slice_amount,
1186: p_currency_code => l_passed_curr);
1187:
1188: l_acc_amount := Okl_Accounting_Util.ROUND_AMOUNT
1189: (p_amount => l_slice_amount * l_rate,
1190: p_currency_code => l_functional_curr);
1191:
1192: l_tabv_tbl(i).AMOUNT := l_amount;

Line 1252: l_dr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_total_amount - l_dr_total),

1248:
1249: -- Changed by Santonyr on 18th Jun, 2003 to fix the bug 3012735
1250: -- Rounding the amounts before processing
1251:
1252: l_dr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_total_amount - l_dr_total),
1253: p_currency_code => l_passed_curr);
1254:
1255: l_acc_dr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_acc_total_amount - l_acc_dr_total),
1256: p_currency_code => l_functional_curr);

Line 1255: l_acc_dr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_acc_total_amount - l_acc_dr_total),

1251:
1252: l_dr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_total_amount - l_dr_total),
1253: p_currency_code => l_passed_curr);
1254:
1255: l_acc_dr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_acc_total_amount - l_acc_dr_total),
1256: p_currency_code => l_functional_curr);
1257:
1258: --l_dr_diff := l_total_amount - l_dr_total;
1259: --l_acc_dr_diff := l_acc_total_amount - l_acc_dr_total;

Line 1320: l_cr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_total_amount - l_cr_total),

1316:
1317: -- Changed by Santonyr on 18th Jun, 2003 to fix the bug 3012735
1318: -- Rounding the amounts before processing
1319:
1320: l_cr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_total_amount - l_cr_total),
1321: p_currency_code => l_passed_curr);
1322:
1323: l_acc_cr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_acc_total_amount - l_acc_cr_total),
1324: p_currency_code => l_functional_curr);

Line 1323: l_acc_cr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_acc_total_amount - l_acc_cr_total),

1319:
1320: l_cr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_total_amount - l_cr_total),
1321: p_currency_code => l_passed_curr);
1322:
1323: l_acc_cr_diff := Okl_Accounting_Util.ROUND_AMOUNT (p_amount => (l_acc_total_amount - l_acc_cr_total),
1324: p_currency_code => l_functional_curr);
1325:
1326: -- l_cr_diff := l_total_amount - l_cr_total;
1327: -- l_acc_cr_diff := l_acc_total_amount - l_acc_cr_total;

Line 1524: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;

1520: END IF;
1521:
1522: -- get the details below based on the representation..MG uptake
1523: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
1524: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;
1525: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;
1526: ELSE
1527: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);
1528: l_set_of_books_id := g_ledger_id;

Line 1525: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;

1521:
1522: -- get the details below based on the representation..MG uptake
1523: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
1524: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;
1525: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;
1526: ELSE
1527: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);
1528: l_set_of_books_id := g_ledger_id;
1529: END IF;

Line 1527: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);

1523: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
1524: l_functional_curr := Okl_Accounting_Util.get_func_curr_code;
1525: l_set_of_books_id := OKL_ACCOUNTING_UTIL.GET_SET_OF_BOOKS_ID;
1526: ELSE
1527: l_functional_curr := Okl_Accounting_Util.get_func_curr_code(g_ledger_id);
1528: l_set_of_books_id := g_ledger_id;
1529: END IF;
1530:
1531: OPEN sao_csr;

Line 1844: --WHERE LEDGER_ID = Okl_Accounting_Util.get_set_of_books_id;

1840: -- redundant code .. not used.
1841: --CURSOR sobv_csr IS
1842: --SELECT currency_code
1843: --FROM GL_LEDGERS_PUBLIC_V
1844: --WHERE LEDGER_ID = Okl_Accounting_Util.get_set_of_books_id;
1845:
1846: l_validate_holder VARCHAR2(1) := OKL_API.G_MISS_CHAR;
1847: l_functional_curr OKL_TRNS_ACC_DSTRS.CURRENCY_CODE%TYPE;
1848: l_gl_date DATE;

Line 1857: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE;

1853: x_return_status := OKL_API.G_RET_STS_SUCCESS;
1854:
1855: -- get the functional currency based on the representation. MG uptake
1856: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
1857: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE;
1858: ELSE
1859: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE(g_ledger_id);
1860: END IF;
1861:

Line 1859: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE(g_ledger_id);

1855: -- get the functional currency based on the representation. MG uptake
1856: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
1857: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE;
1858: ELSE
1859: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE(g_ledger_id);
1860: END IF;
1861:
1862: -- Check if the source ID is null
1863: IF (P_dist_info_REC.SOURCE_ID = OKL_API.G_MISS_NUM) OR

Line 1891: Okl_Accounting_Util.VALIDATE_SOURCE_ID_TABLE(p_source_id => P_dist_info_REC.source_id,

1887:
1888:
1889: -- Check if the source table is valid
1890: l_validate_holder :=
1891: Okl_Accounting_Util.VALIDATE_SOURCE_ID_TABLE(p_source_id => P_dist_info_REC.source_id,
1892: p_source_table => P_dist_info_REC.source_table);
1893:
1894: IF (l_validate_holder = OKL_API.G_FALSE) THEN
1895: OKL_API.SET_MESSAGE(p_app_name => g_app_name,

Line 1910: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(P_dist_info_REC.ACCOUNTING_DATE);

1906: ELSE
1907: -- Bug 7560071.
1908: -- Get the accounting date .. based on representation. MG uptake
1909: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
1910: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(P_dist_info_REC.ACCOUNTING_DATE);
1911: ELSE
1912: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(P_dist_info_REC.ACCOUNTING_DATE, g_ledger_id);
1913: END IF;
1914:

Line 1912: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(P_dist_info_REC.ACCOUNTING_DATE, g_ledger_id);

1908: -- Get the accounting date .. based on representation. MG uptake
1909: IF nvl(g_representation_type, 'PRIMARY') = 'PRIMARY' THEN
1910: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(P_dist_info_REC.ACCOUNTING_DATE);
1911: ELSE
1912: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(P_dist_info_REC.ACCOUNTING_DATE, g_ledger_id);
1913: END IF;
1914:
1915: IF l_gl_date IS NULL THEN
1916: OKL_API.SET_MESSAGE(p_app_name => g_app_name,

Line 2026: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(p_dist_info_tbl(i).ACCOUNTING_DATE, g_ledger_id);

2022: -- get the valida gl date based on the representation .. MG Uptake.bug 7560071
2023: --IF (l_first_rec = 'T') THEN -- bug 7560071
2024: IF i = p_dist_info_tbl.FIRST then
2025: l_date := P_dist_info_tbl(i).ACCOUNTING_DATE;
2026: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(p_dist_info_tbl(i).ACCOUNTING_DATE, g_ledger_id);
2027: IF l_gl_date IS NULL THEN
2028: OKL_API.SET_MESSAGE(p_app_name => g_app_name,
2029: p_msg_name => 'OKL_INVALID_GL_DATE');
2030: RAISE OKL_API.G_EXCEPTION_ERROR;

Line 2036: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(p_dist_info_tbl(i).ACCOUNTING_DATE, g_ledger_id);

2032: --l_first_rec := 'F'; -- bug 7560071
2033: END IF;
2034:
2035: IF (l_date <> p_dist_info_tbl(i).ACCOUNTING_DATE) THEN
2036: l_gl_date := OKL_ACCOUNTING_UTIL.get_valid_gl_date(p_dist_info_tbl(i).ACCOUNTING_DATE, g_ledger_id);
2037:
2038: IF l_gl_date IS NULL THEN
2039: OKL_API.SET_MESSAGE(p_app_name => g_app_name,
2040: p_msg_name => 'OKL_INVALID_GL_DATE');

Line 2653: g_ledger_id := okl_accounting_util.get_set_of_books_id;

2649: g_representation_type := g_ledger_tbl(l_ledger_id).rep_type;
2650: g_ledger_id := l_ledger_id;
2651: ELSE
2652: g_representation_type := 'PRIMARY';
2653: g_ledger_id := okl_accounting_util.get_set_of_books_id;
2654: END IF;
2655:
2656: -- Get the functional currency .. based on representation. MG uptake
2657: IF g_representation_type = 'PRIMARY' THEN

Line 2658: l_functional_curr := okl_accounting_util.get_func_curr_code;

2654: END IF;
2655:
2656: -- Get the functional currency .. based on representation. MG uptake
2657: IF g_representation_type = 'PRIMARY' THEN
2658: l_functional_curr := okl_accounting_util.get_func_curr_code;
2659: ELSE
2660: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);
2661: END IF;
2662:

Line 2660: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);

2656: -- Get the functional currency .. based on representation. MG uptake
2657: IF g_representation_type = 'PRIMARY' THEN
2658: l_functional_curr := okl_accounting_util.get_func_curr_code;
2659: ELSE
2660: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);
2661: END IF;
2662:
2663:
2664: -- Bug 3948354

Line 3002: x_amount_tbl(j) := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,

2998:
2999: x_template_tbl(j) := tmpl_rec;
3000:
3001: --- Changed by Kanti. Bug 3125787
3002: x_amount_tbl(j) := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,
3003: p_currency_code => p_dist_info_rec.currency_code);
3004:
3005: -- Added by Santonyr on 12-Jul-2440 for the bug 3761026
3006: l_template_amount_tbl(j).amount := x_amount_tbl(j);

Line 4037: g_ledger_id := okl_accounting_util.get_set_of_books_id;

4033: g_representation_type := g_ledger_tbl(l_ledger_id).rep_type;
4034: g_ledger_id := l_ledger_id;
4035: ELSE
4036: g_representation_type := 'PRIMARY';
4037: g_ledger_id := okl_accounting_util.get_set_of_books_id;
4038: END IF;
4039:
4040: -- Get the functional currency .. based on the represention
4041: IF g_representation_type = 'PRIMARY' THEN

Line 4042: l_functional_curr := okl_accounting_util.get_func_curr_code;

4038: END IF;
4039:
4040: -- Get the functional currency .. based on the represention
4041: IF g_representation_type = 'PRIMARY' THEN
4042: l_functional_curr := okl_accounting_util.get_func_curr_code;
4043: ELSE
4044: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);
4045: END IF;
4046:

Line 4044: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);

4040: -- Get the functional currency .. based on the represention
4041: IF g_representation_type = 'PRIMARY' THEN
4042: l_functional_curr := okl_accounting_util.get_func_curr_code;
4043: ELSE
4044: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);
4045: END IF;
4046:
4047:
4048: -- Bug 3948354

Line 4092: --l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE; -- redundant code

4088: RAISE OKL_API.G_EXCEPTION_ERROR;
4089: END IF;
4090:
4091: --Deriving the functional currency to be passed in the call to validate_params
4092: --l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE; -- redundant code
4093:
4094: -- Check the Distribution Status and take appropriate Action
4095: FOR i in l_dist_info_tbl.FIRST..l_dist_info_tbl.LAST LOOP
4096: --Only when the account derivation option is 'ATS'

Line 4290: x_amount_tbl(l_tmp_amt_tbl_count).amount := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,

4286: END IF;
4287:
4288: --Building a reference between the dist_info rec and x_template_tbl
4289: x_template_tbl(l_tmp_amt_tbl_count).parent_index_number := i;
4290: x_amount_tbl(l_tmp_amt_tbl_count).amount := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,
4291: p_currency_code => p_dist_info_tbl(i).currency_code);
4292: x_amount_tbl(l_tmp_amt_tbl_count).parent_index_number := i;
4293: l_template_amount_tbl(l_tmp_amt_tbl_count).amount := x_amount_tbl(l_tmp_amt_tbl_count).amount;
4294:

Line 4354: --l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE; -- redundant code

4350: --Assinging the amount being passed in the rec to l_amount
4351: l_amount := l_dist_info_tbl(i).amount;
4352:
4353: --Deriving the functional currency to be passed in the call to validate_params
4354: --l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE; -- redundant code
4355:
4356: -- Check the Distribution Status and take appropriate Action
4357: l_check_status := CHECK_JOURNAL(p_source_id => l_dist_info_tbl(i).source_id,
4358: p_source_table => l_dist_info_tbl(i).source_table);

Line 4400: x_amount_tbl(l_tmp_amt_tbl_count).amount := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,

4396: RAISE OKL_API.G_EXCEPTION_ERROR;
4397: END IF;
4398: END IF; -- End If for (l_amount <> 0)
4399:
4400: x_amount_tbl(l_tmp_amt_tbl_count).amount := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,
4401: p_currency_code => p_dist_info_tbl(i).currency_code);
4402: x_amount_tbl(l_tmp_amt_tbl_count).parent_index_number := i;
4403:
4404: --Incrementing the counter

Line 4641: l_functional_curr := okl_accounting_util.get_func_curr_code;

4637: END IF;
4638:
4639: -- Get the functional currency, based on the representation
4640: IF g_representation_type = 'PRIMARY' THEN
4641: l_functional_curr := okl_accounting_util.get_func_curr_code;
4642: ELSE
4643: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);
4644: END IF;
4645:

Line 4643: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);

4639: -- Get the functional currency, based on the representation
4640: IF g_representation_type = 'PRIMARY' THEN
4641: l_functional_curr := okl_accounting_util.get_func_curr_code;
4642: ELSE
4643: l_functional_curr := okl_accounting_util.get_func_curr_code(g_ledger_id);
4644: END IF;
4645:
4646:
4647: -- Bug 3948354

Line 4688: --l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE; --redundant code.

4684: RAISE OKL_API.G_EXCEPTION_ERROR;
4685: END IF;
4686:
4687: --Deriving the functional currency to be passed in the call to validate_params
4688: --l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE; --redundant code.
4689:
4690: -- Check the Distribution Status and take appropriate Action
4691: FOR i in l_dist_info_tbl.FIRST..l_dist_info_tbl.LAST LOOP
4692: --Only when the account derivation option is 'ATS'

Line 4855: x_amount_tbl(i).amount_tbl(j) := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,

4851:
4852: --Building a reference between the dist_info rec and x_template_tbl
4853: x_template_tbl(i).template_tbl(j) := tmpl_rec;
4854: x_template_tbl(i).source_id := l_dist_info_tbl(i).source_id;
4855: x_amount_tbl(i).amount_tbl(j) := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,
4856: p_currency_code => p_dist_info_tbl(i).currency_code);
4857: x_amount_tbl(i).source_id := l_dist_info_tbl(i).source_id;
4858:
4859: --Fetch the Account gen table corresponding to the source_id of the current distribution record

Line 4917: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE;

4913: --Assinging the amount being passed in the rec to l_amount
4914: l_amount := l_dist_info_tbl(i).amount;
4915:
4916: --Deriving the functional currency to be passed in the call to validate_params
4917: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE;
4918:
4919: -- Check the Distribution Status and take appropriate Action
4920: l_check_status := CHECK_JOURNAL(p_source_id => l_dist_info_tbl(i).source_id,
4921: p_source_table => l_dist_info_tbl(i).source_table);

Line 4961: x_amount_tbl(i).amount_tbl(0) := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,

4957: RAISE OKL_API.G_EXCEPTION_ERROR;
4958: END IF;
4959: END IF; -- End If for (l_amount <> 0)
4960:
4961: x_amount_tbl(i).amount_tbl(0) := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,
4962: p_currency_code => p_dist_info_tbl(i).currency_code);
4963: x_amount_tbl(i).source_id := l_dist_info_tbl(i).source_id;
4964:
4965:

Line 5219: g_ledger_id := okl_accounting_util.get_set_of_books_id;

5215: g_representation_type := g_ledger_tbl(l_ledger_id).rep_type;
5216: g_ledger_id := l_ledger_id;
5217: ELSE
5218: g_representation_type := 'PRIMARY';
5219: g_ledger_id := okl_accounting_util.get_set_of_books_id;
5220: END IF;
5221:
5222:
5223: --Assigning the first template rec to a temporary rec