DBA Data[Home] [Help]

APPS.CN_PAYMENT_WORKSHEET_PVT dependencies on CN_MESSAGE_PKG

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

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

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

2239: errmsg := 'Worksheets can only be created for payruns in UNPAID status.';
2240: fnd_file.put_line(fnd_file.log, errmsg);
2241: raise_application_error(-20000, errmsg);
2242: END IF;
2243: cn_message_pkg.begin_batch(x_process_type => 'WKSHT',
2244: x_process_audit_id => l_proc_audit_id,
2245: x_parent_proc_audit_id => l_payrun_id,
2246: x_request_id => NULL,
2247: --R12

Line 2322: cn_message_pkg.end_batch(l_proc_audit_id);

2318: fnd_msg_pub.add;
2319: errbuf := fnd_msg_pub.get(p_msg_index => fnd_msg_pub.g_last, p_encoded => fnd_api.g_false);
2320: END IF;
2321:
2322: cn_message_pkg.end_batch(l_proc_audit_id);
2323: COMMIT;
2324: END create_mult_worksheet_conc;
2325: -- ===========================================================================
2326: -- Procedure : Update_Worksheet

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

4106:
4107: EXCEPTION
4108: WHEN NO_DATA_FOUND THEN
4109: fnd_file.put_line(fnd_file.LOG,'Invalid payrun. Could not find payrun with ID = ' || l_payrun_id);
4110: cn_message_pkg.debug('Invalid payrun. Could not find payrun with ID = ' || l_payrun_id);
4111: RAISE ;
4112: END;
4113:
4114: l_max_batch_id := p_salesrep_tbl(p_salesrep_tbl.COUNT).batch_id;

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

4466: THEN
4467: l_error_count := l_error_count + 1;
4468:
4469: --ROLLBACK TO create_single_worksheet;
4470: cn_message_pkg.debug('Error when refreshing Worksheet for : ' || l_worksheet_rec.salesrep_id);
4471: fnd_file.put_line(fnd_file.log,'Failed to refresh worksheet for ' || l_worksheet_rec.salesrep_id);
4472:
4473: FOR i IN 1 .. x_msg_count
4474: LOOP