271: p_caller IN VARCHAR2)
272: --
273: IS
274:
275: l_entity_dtl_rec_tbl po_document_action_pvt.entity_dtl_rec_type_tbl;
276: l_online_report_id NUMBER;
277: l_exc_msg VARCHAR2(2000);
278: l_return_code VARCHAR2(25);
279: l_communication_method_option VARCHAR2(30);
340: FND_MSG_PUB.add;
341: RAISE FND_API.g_exc_error;
342: END IF;
343:
344: l_entity_dtl_rec_tbl := po_document_action_pvt.entity_dtl_rec_type_tbl();
345:
346: FOR i IN p_doc_line_id.FIRST..p_doc_line_id.LAST LOOP
347:
348: -- Validates the input parameters to be valid and match the
433: END;
434:
435: -- Call do_cancel for cancelling all the entities
436:
437: PO_DOCUMENT_ACTION_PVT.do_cancel(
438: p_entity_dtl_rec => l_entity_dtl_rec_tbl,
439: p_reason => p_cancel_reason,
440: p_action => PO_DOCUMENT_ACTION_PVT.g_doc_action_CANCEL,
441: p_action_date => p_action_date,
436:
437: PO_DOCUMENT_ACTION_PVT.do_cancel(
438: p_entity_dtl_rec => l_entity_dtl_rec_tbl,
439: p_reason => p_cancel_reason,
440: p_action => PO_DOCUMENT_ACTION_PVT.g_doc_action_CANCEL,
441: p_action_date => p_action_date,
442: p_use_gl_date => p_use_gldate,
443: p_cancel_reqs_flag => p_cancel_reqs_flag,
444: p_note_to_vendor => p_note_to_vendor,