DBA Data[Home] [Help]

APPS.CN_NOTIFY_WRITEOFFS dependencies on FND_FILE

Line 39: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs>>');

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

Line 49: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: Is collecting writeoffs for CN_NOT_TRX from period '||x_start_date ||' to period '||x_end_date ||'.');

45: cn_periods_api.set_dates(x_start_period, x_end_period, x_org_id,
46: x_start_date, x_end_date);
47:
48: cn_message_pkg.debug('notify_writeoffs: Is collecting writeoffs for CN_NOT_TRX from period '||x_start_date ||' to period '||x_end_date ||'.');
49: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: Is collecting writeoffs for CN_NOT_TRX from period '||x_start_date ||' to period '||x_end_date ||'.');
50:
51: OPEN batch_size;
52: FETCH batch_size INTO l_sys_batch_size;
53: CLOSE batch_size;

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

103:
104: IF ( x_trx_count = 0 ) THEN
105:
106: cn_message_pkg.debug('notify_writeoffs: No rows inserted into CN_NOT_TRX. Possible reason: Transactions have not been posted to GL or they have already been collected.');
107: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: No rows inserted into CN_NOT_TRX. Possible reason: Transactions have not been posted to GL or they have already been collected.');
108:
109: END IF;
110:
111: COMMIT;

Line 114: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: Finished notification run: Notified ' || x_trx_count || ' writeoffs.');

110:
111: COMMIT;
112:
113: cn_message_pkg.debug('notify_writeoffs: Finished notification run: Notified ' || x_trx_count || ' writeoffs.');
114: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: Finished notification run: Notified ' || x_trx_count || ' writeoffs.');
115:
116: cn_debug.print_msg('< 117:
118: cn_message_pkg.debug('notify_writeoffs<<');

Line 119: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs<<');

115:
116: cn_debug.print_msg('< 117:
118: cn_message_pkg.debug('notify_writeoffs<<');
119: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs<<');
120:
121: cn_message_pkg.end_batch (x_proc_audit_id);
122:
123: EXCEPTION

Line 127: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: in exception handler');

123: EXCEPTION
124: WHEN OTHERS THEN ROLLBACK;
125:
126: cn_message_pkg.debug('notify_writeoffs: in exception handler');
127: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: in exception handler');
128:
129: cn_message_pkg.debug(SQLCODE||' '||SQLERRM);
130: fnd_file.put_line(fnd_file.Log, SQLCODE||' '||SQLERRM);
131:

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

126: cn_message_pkg.debug('notify_writeoffs: in exception handler');
127: fnd_file.put_line(fnd_file.Log, 'notify_writeoffs: in exception handler');
128:
129: cn_message_pkg.debug(SQLCODE||' '||SQLERRM);
130: fnd_file.put_line(fnd_file.Log, SQLCODE||' '||SQLERRM);
131:
132: cn_debug.print_msg('notify_writeoffs: in exception handler', 1);
133: cn_process_audits_pkg.update_row(X_proc_audit_id, NULL, SYSDATE, SQLCODE,
134: SQLERRM);