130: BEGIN
131:
132: /* Enable debug based on the input */
133: IF upper(substr(argument20,1,1)) = 'Y' THEN
134: fa_rx_util_pkg.enable_debug;
135: END IF;
136:
137: fa_rx_util_pkg.debug('AR_UNAPP_REC_REGISTER called with parameters
138: Reporting Level : '||argument1||'
133: IF upper(substr(argument20,1,1)) = 'Y' THEN
134: fa_rx_util_pkg.enable_debug;
135: END IF;
136:
137: fa_rx_util_pkg.debug('AR_UNAPP_REC_REGISTER called with parameters
138: Reporting Level : '||argument1||'
139: Reporting Entity ID : '||argument2||'
140: Set of Books ID : '||argument3||'
141: Chart of Accounts ID : '||argument4||'
239: l_receipt_number_high,
240: retcode,
241: errbuf);
242:
243: fa_rx_util_pkg.debug('Completed AR_UNAPP_REC_REGISTER successfully');
244:
245: commit;
246:
247: EXCEPTION
245: commit;
246:
247: EXCEPTION
248: WHEN OTHERS THEN
249: fa_rx_util_pkg.debug('AR_UNAPP_REC_REGISTER EXCEPTION');
250: fa_rx_util_pkg.debug(sqlcode);
251: fa_rx_util_pkg.debug(sqlerrm);
252: retcode := 2;
253: END AR_UNAPP_REC_REGISTER;
246:
247: EXCEPTION
248: WHEN OTHERS THEN
249: fa_rx_util_pkg.debug('AR_UNAPP_REC_REGISTER EXCEPTION');
250: fa_rx_util_pkg.debug(sqlcode);
251: fa_rx_util_pkg.debug(sqlerrm);
252: retcode := 2;
253: END AR_UNAPP_REC_REGISTER;
254:
247: EXCEPTION
248: WHEN OTHERS THEN
249: fa_rx_util_pkg.debug('AR_UNAPP_REC_REGISTER EXCEPTION');
250: fa_rx_util_pkg.debug(sqlcode);
251: fa_rx_util_pkg.debug(sqlerrm);
252: retcode := 2;
253: END AR_UNAPP_REC_REGISTER;
254:
255: END ARRX_C_UNAPP;