DBA Data[Home] [Help]

APPS.WIP_WOL_PROCESSOR dependencies on FND_API

Line 217: x_return_status := FND_API.G_RET_STS_ERROR;

213: l_wip_entity_id NUMBER;
214:
215: BEGIN
216: SAVEPOINT preProcessing;
217: x_return_status := FND_API.G_RET_STS_ERROR;
218:
219: SELECT *
220: INTO l_wlcRec
221: FROM wip_lpn_completions

Line 247: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

243:
244: --is this necessary?
245: if(validateItemRevision(l_wlcRec.header_id) <> 0) then
246: x_err_msg := fnd_message.get_string('WIP', 'TRANSACTION_FAILED') || ' ' || fnd_message.get_string('WIP', 'VALIDATE_ITEMS_ERROR');
247: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
248: END if;
249:
250: deriveItemRevision(l_wlcRec.header_id);
251:

Line 319: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

315: x_err_msg := fnd_message.get_string('WIP', 'TRANSACTION_FAILED');
316: fnd_message.set_name('WIP', 'WIP_ERROR_FLOW_VALIDATION');
317: fnd_message.set_token('ENTITY1', to_char(l_wlcRec.wip_entity_id));
318: x_err_msg := x_err_msg || ' ' || fnd_message.get ;
319: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
320: END IF;
321:
322: UPDATE WIP_LPN_COMPLETIONS
323: SET wip_entity_id = l_wlcRec.wip_entity_id,

Line 330: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

326: AND l_wlcRec.header_id = source_id;
327:
328: if(not wma_rsc_chrg.Charge_Resource_Overhead(p_header_id)) then
329: x_err_msg := fnd_message.get_string('WIP', 'TRANSACTION_FAILED') || ' ' || fnd_message.get_string('WIP', 'ERROR_RESOURCE_TXN');
330: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
331: END if;
332:
333: --There is no way to enter a kanban card to
334: --complete against in the mobile form

Line 344: -- if(l_err_msg <> fnd_api.G_RET_STS_SUCCESS) then

340: -- p_document_type => INV_Kanban_PVT.G_doc_type_Flow_Schedule,
341: -- p_document_header_id => l_wlcRec.wip_entity_id);
342: -- END if;
343: --
344: -- if(l_err_msg <> fnd_api.G_RET_STS_SUCCESS) then
345: -- x_err_msg := 'kanban error ' || l_err_msg || x_err_msg;
346: -- RAISE NO_DATA_FOUND;
347: -- END if;
348:

Line 349: x_return_status := FND_API.G_RET_STS_SUCCESS;--success!!

345: -- x_err_msg := 'kanban error ' || l_err_msg || x_err_msg;
346: -- RAISE NO_DATA_FOUND;
347: -- END if;
348:
349: x_return_status := FND_API.G_RET_STS_SUCCESS;--success!!
350:
351: EXCEPTION
352: WHEN others Then
353: --rely on throwing code to set err_msg; also x_return_status defaulted to error, so nothing