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 3004: x_amount_tbl(j) := Okl_Accounting_Util.ROUND_AMOUNT(p_amount => l_amount,

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

Line 4039: g_ledger_id := okl_accounting_util.get_set_of_books_id;

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

Line 4044: l_functional_curr := okl_accounting_util.get_func_curr_code;

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

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

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

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

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

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

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

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

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

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

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

Line 4645: l_functional_curr := okl_accounting_util.get_func_curr_code;

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

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

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

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

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

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

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

Line 4921: l_functional_curr := Okl_Accounting_Util.GET_FUNC_CURR_CODE;

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

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

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

Line 5223: g_ledger_id := okl_accounting_util.get_set_of_books_id;

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