97: and caa.operating_unit_id = p_ou_id)
98: and exists ( select 1
99: from financials_system_params_all fsp,
100: gl_sets_of_books gsb,
101: gl_code_combinations gcc
102: where gsb.set_of_books_id = fsp.set_of_books_id
103: and fsp.org_id = p_ou_id
104: and gcc.code_combination_id = paat.accrual_account_id
105: and gcc.chart_of_accounts_id = gsb.chart_of_accounts_id
118: and caa.operating_unit_id = p_ou_id)
119: and exists ( select 1
120: from financials_system_params_all fsp,
121: gl_sets_of_books gsb,
122: gl_code_combinations gcc
123: where gsb.set_of_books_id = fsp.set_of_books_id
124: and fsp.org_id = p_ou_id
125: and gcc.code_combination_id = psp.accrued_code_combination_id
126: and gcc.chart_of_accounts_id = gsb.chart_of_accounts_id
144: and caa.operating_unit_id = p_ou_id)
145: and exists ( select 1
146: from financials_system_params_all fsp,
147: gl_sets_of_books gsb,
148: gl_code_combinations gcc
149: where gsb.set_of_books_id = fsp.set_of_books_id
150: and fsp.org_id = p_ou_id
151: and gcc.code_combination_id = mp.ap_accrual_account
152: and gcc.chart_of_accounts_id = gsb.chart_of_accounts_id