DBA Data[Home] [Help]

APPS.CN_NOTIFY_CLAWBACKS dependencies on FND_FILE

Line 41: fnd_file.put_line(fnd_file.Log, '>>notify_clawbacks');

37: cn_debug.print_msg('>>notify_clawbacks', 1);
38: -- who.set_program_name('notify_clawbacks');
39:
40: cn_message_pkg.debug('notify_clawbacks>>');
41: fnd_file.put_line(fnd_file.Log, '>>notify_clawbacks');
42:
43: x_proc_audit_id := NULL; -- Will get a value in the call below
44: cn_process_audits_pkg.insert_row(x_rowid, x_proc_audit_id, NULL,
45: 'NOT', 'Notification run', NULL, NULL, NULL, NULL, NULL, SYSDATE, NULL, x_org_id);

Line 73: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: Collecting from ar_payment_schedules');

69: -- Insert notification records for clawbacks for those payment schedules
70: -- that went past due between the start date of the start period and the
71: -- end date of the end period.
72: cn_debug.print_msg('notify_clawbacks: Collecting from ar_payment_schedules', 1);
73: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: Collecting from ar_payment_schedules');
74:
75: -- Note: Here we are looking for payment schedules against transactions
76: -- that would have initially been picked up by the invoice notification
77: -- code= cnnoinvb.pls.

Line 80: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: Is collecting clawbacks for CN_NOT_TRX from period '||x_start_date ||' to period '||x_end_date ||'.');

76: -- that would have initially been picked up by the invoice notification
77: -- code= cnnoinvb.pls.
78:
79: cn_message_pkg.debug('notify_clawbacks: Is collecting clawbacks for CN_NOT_TRX from period '||x_start_date ||' to period '||x_end_date ||'.');
80: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: Is collecting clawbacks for CN_NOT_TRX from period '||x_start_date ||' to period '||x_end_date ||'.');
81:
82: OPEN batch_size;
83: FETCH batch_size INTO l_sys_batch_size;
84: CLOSE batch_size;

Line 150: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: No rows inserted into CN_NOT_TRX. Possible reason: Transactions have not been posted to GL or they have already been collected.');

146:
147: IF ( x_trx_count = 0 ) THEN
148:
149: cn_message_pkg.debug('notify_clawbacks: No rows inserted into CN_NOT_TRX. Possible reason: Transactions have not been posted to GL or they have already been collected.');
150: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: No rows inserted into CN_NOT_TRX. Possible reason: Transactions have not been posted to GL or they have already been collected.');
151:
152: END IF;
153:
154: COMMIT;

Line 157: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: Finished notification run: Notified ' || x_trx_count || ' clawbacks.');

153:
154: COMMIT;
155:
156: cn_message_pkg.debug('notify_clawbacks: Finished notification run: Notified ' || x_trx_count || ' clawbacks.');
157: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: Finished notification run: Notified ' || x_trx_count || ' clawbacks.');
158:
159: cn_debug.print_msg('< 160:
161: cn_message_pkg.debug('notify_clawbacks<<');

Line 162: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks<<');

158:
159: cn_debug.print_msg('< 160:
161: cn_message_pkg.debug('notify_clawbacks<<');
162: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks<<');
163:
164: cn_message_pkg.end_batch (x_proc_audit_id);
165:
166: EXCEPTION

Line 170: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: in exception handler');

166: EXCEPTION
167: WHEN OTHERS THEN ROLLBACK;
168:
169: cn_message_pkg.debug('notify_clawbacks: in exception handler');
170: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: in exception handler');
171:
172: cn_message_pkg.debug(SQLCODE||' '||SQLERRM);
173: fnd_file.put_line(fnd_file.Log, SQLCODE||' '||SQLERRM);
174:

Line 173: fnd_file.put_line(fnd_file.Log, SQLCODE||' '||SQLERRM);

169: cn_message_pkg.debug('notify_clawbacks: in exception handler');
170: fnd_file.put_line(fnd_file.Log, 'notify_clawbacks: in exception handler');
171:
172: cn_message_pkg.debug(SQLCODE||' '||SQLERRM);
173: fnd_file.put_line(fnd_file.Log, SQLCODE||' '||SQLERRM);
174:
175: cn_debug.print_msg('notify_clawbacks: in exception handler', 1);
176: cn_process_audits_pkg.update_row(X_proc_audit_id, NULL, SYSDATE, SQLCODE,
177: SQLERRM);