16:
17: PROCEDURE process_transactions_wrap( ERRBUF OUT NOCOPY VARCHAR2,
18: RETCODE OUT NOCOPY VARCHAR2 ,
19: p_api_version IN NUMBER,
20: p_init_msg_list IN VARCHAR2 DEFAULT OKC_API.G_FALSE,
21: p_contract_id IN NUMBER DEFAULT NULL,
22: p_asset_id IN NUMBER DEFAULT NULL,
23: p_kle_id IN VARCHAR2 DEFAULT NULL,
24: p_salvage_writedown_yn IN VARCHAR2 DEFAULT 'N'
76: fnd_file.new_line(fnd_file.log,2);
77: fnd_file.new_line(fnd_file.output,2);
78: END IF;
79:
80: IF l_return_status <> OKC_API.G_RET_STS_SUCCESS THEN
81: fnd_file.put_line(fnd_file.log, 'FA ADJUSTMENTS Failed, None of the transactions got processed');
82: fnd_file.put_line(fnd_file.output, 'FA ADJUSTMENTS Failed, None of the transactions got processed');
83: END IF;
84:
81: fnd_file.put_line(fnd_file.log, 'FA ADJUSTMENTS Failed, None of the transactions got processed');
82: fnd_file.put_line(fnd_file.output, 'FA ADJUSTMENTS Failed, None of the transactions got processed');
83: END IF;
84:
85: IF l_return_status = OKC_API.G_RET_STS_SUCCESS AND
86: l_transaction_status <> OKC_API.G_RET_STS_SUCCESS THEN
87: fnd_file.put_line(fnd_file.log, 'One or more transactions failed');
88: fnd_file.put_line(fnd_file.output, 'One or more transactions failed');
89: END IF;
82: fnd_file.put_line(fnd_file.output, 'FA ADJUSTMENTS Failed, None of the transactions got processed');
83: END IF;
84:
85: IF l_return_status = OKC_API.G_RET_STS_SUCCESS AND
86: l_transaction_status <> OKC_API.G_RET_STS_SUCCESS THEN
87: fnd_file.put_line(fnd_file.log, 'One or more transactions failed');
88: fnd_file.put_line(fnd_file.output, 'One or more transactions failed');
89: END IF;
90:
87: fnd_file.put_line(fnd_file.log, 'One or more transactions failed');
88: fnd_file.put_line(fnd_file.output, 'One or more transactions failed');
89: END IF;
90:
91: IF l_return_status = OKC_API.G_RET_STS_SUCCESS AND
92: l_transaction_status = OKC_API.G_RET_STS_SUCCESS THEN
93: fnd_file.put_line(fnd_file.log, 'All the transactions got processed successfully');
94: fnd_file.put_line(fnd_file.output, 'All the transactions got processed successfully');
95: END IF;
88: fnd_file.put_line(fnd_file.output, 'One or more transactions failed');
89: END IF;
90:
91: IF l_return_status = OKC_API.G_RET_STS_SUCCESS AND
92: l_transaction_status = OKC_API.G_RET_STS_SUCCESS THEN
93: fnd_file.put_line(fnd_file.log, 'All the transactions got processed successfully');
94: fnd_file.put_line(fnd_file.output, 'All the transactions got processed successfully');
95: END IF;
96: