DBA Data[Home] [Help]

APPS.CN_PREPOSTBATCHES dependencies on CN_MESSAGE_PKG

Line 191: cn_message_pkg.begin_batch(x_process_type => 'POSTING',

187:
188: BEGIN
189: retcode := 0; -- success = 0, warning = 1, fail = 2
190:
191: cn_message_pkg.begin_batch(x_process_type => 'POSTING',
192: x_process_audit_id => l_proc_audit_id,
193: x_parent_proc_audit_id => l_proc_audit_id,
194: x_request_id => fnd_global.conc_request_id,
195: p_org_id => p_org_id);

Line 197: cn_message_pkg.debug('Start Posting Details...');

193: x_parent_proc_audit_id => l_proc_audit_id,
194: x_request_id => fnd_global.conc_request_id,
195: p_org_id => p_org_id);
196:
197: cn_message_pkg.debug('Start Posting Details...');
198:
199: IF (l_end_date IS NULL OR l_start_date > l_end_date) THEN
200: cn_message_pkg.debug('End_date is null or start date is later than the end date.');
201: RAISE ABORT;

Line 200: cn_message_pkg.debug('End_date is null or start date is later than the end date.');

196:
197: cn_message_pkg.debug('Start Posting Details...');
198:
199: IF (l_end_date IS NULL OR l_start_date > l_end_date) THEN
200: cn_message_pkg.debug('End_date is null or start date is later than the end date.');
201: RAISE ABORT;
202: END IF;
203:
204: --initialize message list

Line 222: cn_message_pkg.debug('End of Posting Details.');

218: retcode := 2; -- failure
219: END IF;
220:
221: cn_api.get_fnd_message(l_msg_count, l_msg_data);
222: cn_message_pkg.debug('End of Posting Details.');
223: cn_message_pkg.end_batch(l_proc_audit_id);
224:
225: IF retcode = 0 THEN
226: fnd_message.set_name('CN', 'ALL_PROCESS_DONE_OK');

Line 223: cn_message_pkg.end_batch(l_proc_audit_id);

219: END IF;
220:
221: cn_api.get_fnd_message(l_msg_count, l_msg_data);
222: cn_message_pkg.debug('End of Posting Details.');
223: cn_message_pkg.end_batch(l_proc_audit_id);
224:
225: IF retcode = 0 THEN
226: fnd_message.set_name('CN', 'ALL_PROCESS_DONE_OK');
227: fnd_msg_pub.ADD;

Line 246: cn_message_pkg.end_batch(l_proc_audit_id);

242: EXCEPTION
243: WHEN OTHERS THEN
244: retcode := 2;
245: errbuf := SQLCODE||' '||Sqlerrm;
246: cn_message_pkg.end_batch(l_proc_audit_id);
247: END posting_conc;
248:
249: END CN_PREPOSTBATCHES;