1943:
1944: -- Validate payables ccid exists.
1945: select count(*)
1946: into l_is_valid_payables_ccid
1947: from gl_code_combinations
1948: where code_combination_id = px_payables_ccid
1949: and chart_of_accounts_id = p_gl_chart_id
1950: and enabled_flag = 'Y'
1951: and summary_flag = 'N'
1993:
1994: -- Check that expense ccid exists.
1995: select count(*)
1996: into l_is_valid_expense_ccid
1997: from gl_code_combinations
1998: where code_combination_id = p_expense_ccid
1999: and chart_of_accounts_id = p_gl_chart_id
2000: and enabled_flag = 'Y'
2001: and account_type = 'E'