The following lines contain the word 'select', 'insert', 'update' or 'delete':
select to_number(nvl(replace(substr(userenv('CLIENT_INFO'),45,10),' '),-99))
into l_client_info_rsob_id
from dual;
bind is assigned 'arrx_rc_unapp.bind(:CURSOR_SELECT);'
The bind trigger requires one host variable ':CURSOR_SELECT'.
*/
fa_rx_util_pkg.debug('Assigning the report triggers');
'arrx_rc_unapp.bind(:CURSOR_SELECT);',
select CHART_OF_ACCOUNTS_ID,CURRENCY_CODE,NAME
into var.p_coa_id,var.functional_currency_code,var.organization_name
from GL_SETS_OF_BOOKS
where SET_OF_BOOKS_ID = var.p_sob_id;
/* Assign the Select List */
fa_rx_util_pkg.debug('Assign Select List');
select MEANING into l_app from ar_lookups
where lookup_type='CHECK_STATUS' and lookup_code='APP';
select MEANING into l_nsf from ar_lookups
where lookup_type='CHECK_STATUS' and lookup_code='NSF';
select MEANING into l_rev from ar_lookups
where lookup_type='CHECK_STATUS' and lookup_code='REV';
select MEANING into l_stop from ar_lookups
where lookup_type='CHECK_STATUS' and lookup_code='STOP';
select MEANING into l_unapp from ar_lookups
where lookup_type='CHECK_STATUS' and lookup_code='UNAPP';
select MEANING into l_unid from ar_lookups
where lookup_type='CHECK_STATUS' and lookup_code='UNID';
select substr(MEANING,1,44) into l_unid_cust from ar_lookups
where lookup_type = 'SPECIAL_TYPES' and lookup_code = 'UNIDENTIFIED';
select MEANING into L_APPROVED from ar_lookups
where lookup_type='RECEIPT_CREATION_STATUS' and lookup_code='APPROVED';
select MEANING into L_CLEARED from ar_lookups
where lookup_type='RECEIPT_CREATION_STATUS' and lookup_code='CLEARED';
select MEANING into L_CONFIRMED from ar_lookups
where lookup_type='RECEIPT_CREATION_STATUS' and lookup_code='CONFIRMED';
select MEANING into L_REMITTED from ar_lookups
where lookup_type='RECEIPT_CREATION_STATUS' and lookup_code='REMITTED';
select MEANING into L_REVERSED from ar_lookups
where lookup_type='RECEIPT_CREATION_STATUS' and lookup_code='REVERSED';