DBA Data[Home] [Help]

APPS.CSE_DEPLOYMENT_GRP dependencies on FND_MESSAGE

Line 162: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_FLAG_ERROR');

158: IF l_instance_usage_code = 'IN_SERVICE' OR l_accounting_class_code = 'ASSET' THEN
159: IF p_financial_flag = 'N' THEN
160:
161: IF l_inst_asset_found THEN
162: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_FLAG_ERROR');
163: fnd_message.set_token('ASSET_ID',l_asset_id);
164: fnd_msg_pub.add;
165: RAISE fnd_api.g_exc_error;
166: END IF;

Line 163: fnd_message.set_token('ASSET_ID',l_asset_id);

159: IF p_financial_flag = 'N' THEN
160:
161: IF l_inst_asset_found THEN
162: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_FLAG_ERROR');
163: fnd_message.set_token('ASSET_ID',l_asset_id);
164: fnd_msg_pub.add;
165: RAISE fnd_api.g_exc_error;
166: END IF;
167:

Line 173: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_CIP_ERROR');

169: END IF; -- in_service or acct_class_code = 'ASSET'
170:
171: IF l_location_type_code = 'PROJECT' THEN
172: IF NOT(l_inst_asset_found) THEN
173: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_CIP_ERROR');
174: fnd_msg_pub.add;
175: RAISE fnd_api.g_exc_error;
176: END IF;
177: ELSIF l_location_type_code IN ('INVENTORY', 'WIP') THEN

Line 178: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_INT_ERROR');

174: fnd_msg_pub.add;
175: RAISE fnd_api.g_exc_error;
176: END IF;
177: ELSIF l_location_type_code IN ('INVENTORY', 'WIP') THEN
178: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_INT_ERROR');
179: fnd_message.set_token('INST_ID', p_instance_id);
180: fnd_msg_pub.add;
181: RAISE fnd_api.g_exc_error;
182: END IF;

Line 179: fnd_message.set_token('INST_ID', p_instance_id);

175: RAISE fnd_api.g_exc_error;
176: END IF;
177: ELSIF l_location_type_code IN ('INVENTORY', 'WIP') THEN
178: fnd_message.set_name('CSE', 'CSE_WFM_RETIRE_INT_ERROR');
179: fnd_message.set_token('INST_ID', p_instance_id);
180: fnd_msg_pub.add;
181: RAISE fnd_api.g_exc_error;
182: END IF;
183:

Line 1114: fnd_message.set_name('CSE','CSE_OTHERS_EXCEPTION');

1110: x_return_status := l_return_status;
1111: x_error_message := l_error_message;
1112: debug('Error in cse_deployment_grp.interface_nl_to_pa : '||x_error_message);
1113: WHEN OTHERS THEN
1114: fnd_message.set_name('CSE','CSE_OTHERS_EXCEPTION');
1115: fnd_message.set_token('ERR_MSG',l_api_name||'='|| SQLERRM);
1116: x_error_message := fnd_message.get;
1117: x_return_status := fnd_api.g_ret_sts_unexp_error;
1118: debug('Inside others exception in cse_deployment_grp.interface_nl_to_pa : ' ||x_error_message);

Line 1115: fnd_message.set_token('ERR_MSG',l_api_name||'='|| SQLERRM);

1111: x_error_message := l_error_message;
1112: debug('Error in cse_deployment_grp.interface_nl_to_pa : '||x_error_message);
1113: WHEN OTHERS THEN
1114: fnd_message.set_name('CSE','CSE_OTHERS_EXCEPTION');
1115: fnd_message.set_token('ERR_MSG',l_api_name||'='|| SQLERRM);
1116: x_error_message := fnd_message.get;
1117: x_return_status := fnd_api.g_ret_sts_unexp_error;
1118: debug('Inside others exception in cse_deployment_grp.interface_nl_to_pa : ' ||x_error_message);
1119: END interface_nl_to_pa;

Line 1116: x_error_message := fnd_message.get;

1112: debug('Error in cse_deployment_grp.interface_nl_to_pa : '||x_error_message);
1113: WHEN OTHERS THEN
1114: fnd_message.set_name('CSE','CSE_OTHERS_EXCEPTION');
1115: fnd_message.set_token('ERR_MSG',l_api_name||'='|| SQLERRM);
1116: x_error_message := fnd_message.get;
1117: x_return_status := fnd_api.g_ret_sts_unexp_error;
1118: debug('Inside others exception in cse_deployment_grp.interface_nl_to_pa : ' ||x_error_message);
1119: END interface_nl_to_pa;
1120: -- Added for 8670632--

Line 1341: fnd_message.set_name('CSI','CSI_DPL_INVALID_LOCATION');

1337: END IF ;
1338: END LOOP ;
1339:
1340: ELSE
1341: fnd_message.set_name('CSI','CSI_DPL_INVALID_LOCATION');
1342: fnd_msg_pub.add;
1343: RAISE fnd_api.g_exc_error ;
1344: END IF ; --p_dest_location_tbl.COUNT
1345:

Line 1384: fnd_message.set_name('CSI','CSI_DPL_INVALID_LOCATION');

1380: IF nvl(l_dest_location_rec.location_type_code, fnd_api.g_miss_char) = fnd_api.g_miss_char
1381: OR
1382: nvl(l_dest_location_rec.location_id, fnd_api.g_miss_num) = fnd_api.g_miss_num
1383: THEN
1384: fnd_message.set_name('CSI','CSI_DPL_INVALID_LOCATION');
1385: fnd_msg_pub.add;
1386: RAISE fnd_api.g_exc_error;
1387: END IF;
1388: l_dest_location_rec.operational_status_code := l_operational_status_code;

Line 1416: fnd_message.set_name('CSI','CSI_INVALID_TXN_TYPE_ID');

1412: END IF;
1413: ELSIF l_txn_rec.transaction_type_id = 104 THEN -- asset retirements
1414: l_dest_location_rec.operational_status_code := 'OUT_OF_SERVICE';
1415: ELSE
1416: fnd_message.set_name('CSI','CSI_INVALID_TXN_TYPE_ID');
1417: fnd_msg_pub.add;
1418: RAISE fnd_api.g_exc_error;
1419: END IF; ---Txn Type
1420: