DBA Data[Home] [Help]

APPS.CN_PAYMENT_WORKSHEET_PVT dependencies on CN_MESSAGE_PKG

Line 2142: cn_message_pkg.debug('Error when creating Worksheet for : ' || l_worksheet_rec.salesrep_id);

2138:
2139: IF x_return_status <> fnd_api.g_ret_sts_success
2140: THEN
2141: l_error_count := l_error_count + 1;
2142: cn_message_pkg.debug('Error when creating Worksheet for : ' || l_worksheet_rec.salesrep_id);
2143: fnd_file.put_line(fnd_file.log, 'Failed to create worksheet for ' || l_worksheet_rec.salesrep_id);
2144: FOR i IN 1 .. x_msg_count
2145: LOOP
2146: fnd_file.put_line(fnd_file.log, 'msg: ' || fnd_msg_pub.get(i, 'F'));

Line 2279: cn_message_pkg.begin_batch(x_process_type => 'WKSHT',

2275: errmsg := 'Worksheets can only be created for payruns in UNPAID status.';
2276: fnd_file.put_line(fnd_file.log, errmsg);
2277: raise_application_error(-20000, errmsg);
2278: END IF;
2279: cn_message_pkg.begin_batch(x_process_type => 'WKSHT',
2280: x_process_audit_id => l_proc_audit_id,
2281: x_parent_proc_audit_id => l_payrun_id,
2282: x_request_id => NULL,
2283: --R12

Line 2368: cn_message_pkg.end_batch(l_proc_audit_id);

2364: fnd_msg_pub.add;
2365: errbuf := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
2366: END IF;
2367:
2368: cn_message_pkg.end_batch(l_proc_audit_id);
2369: COMMIT;
2370: END create_mult_worksheet_conc;
2371: -- ===========================================================================
2372: -- Procedure : Update_Worksheet

Line 4156: cn_message_pkg.debug('Invalid payrun. Could not find payrun with ID = ' || l_payrun_id);

4152:
4153: EXCEPTION
4154: WHEN NO_DATA_FOUND THEN
4155: fnd_file.put_line(fnd_file.LOG,'Invalid payrun. Could not find payrun with ID = ' || l_payrun_id);
4156: cn_message_pkg.debug('Invalid payrun. Could not find payrun with ID = ' || l_payrun_id);
4157: RAISE ;
4158: END;
4159:
4160: l_max_batch_id := p_salesrep_tbl(p_salesrep_tbl.COUNT).batch_id;

Line 4537: cn_message_pkg.debug('Error when refreshing Worksheet for : ' || l_worksheet_rec.salesrep_id);

4533: THEN
4534: l_error_count := l_error_count + 1;
4535:
4536: --ROLLBACK TO create_single_worksheet;
4537: cn_message_pkg.debug('Error when refreshing Worksheet for : ' || l_worksheet_rec.salesrep_id);
4538: fnd_file.put_line(fnd_file.log,'Failed to refresh worksheet for ' || l_worksheet_rec.salesrep_id);
4539:
4540: FOR i IN 1 .. x_msg_count
4541: LOOP