DBA Data[Home] [Help]

APPS.PO_CONTROL_ACTION_VALIDATIONS dependencies on PO_DOCUMENT_CONTROL_PVT

Line 4636: l_allowable_actions_tbl PO_Document_Control_PVT.g_lookup_code_tbl_type;

4632: d_module CONSTANT VARCHAR2(100) := g_pkg_name || d_api_name;
4633: l_progress VARCHAR2(3) := '000';
4634:
4635:
4636: l_allowable_actions_tbl PO_Document_Control_PVT.g_lookup_code_tbl_type;
4637: l_displayed_field_tbl PO_Document_Control_PVT.g_displayed_field_tbl_type;
4638: l_action PO_LOOKUP_CODES.lookup_code%TYPE;
4639:
4640: l_doc_subtype PO_DOCUMENT_TYPES.document_subtype%TYPE;

Line 4637: l_displayed_field_tbl PO_Document_Control_PVT.g_displayed_field_tbl_type;

4633: l_progress VARCHAR2(3) := '000';
4634:
4635:
4636: l_allowable_actions_tbl PO_Document_Control_PVT.g_lookup_code_tbl_type;
4637: l_displayed_field_tbl PO_Document_Control_PVT.g_displayed_field_tbl_type;
4638: l_action PO_LOOKUP_CODES.lookup_code%TYPE;
4639:
4640: l_doc_subtype PO_DOCUMENT_TYPES.document_subtype%TYPE;
4641: l_doc_type PO_DOCUMENT_TYPES.document_type_code%TYPE;

Line 4699: PO_Document_Control_PVT.get_rel_header_actions(

4695: IF l_doc_type =po_document_cancel_pvt.c_doc_type_RELEASE THEN
4696: l_progress :='002';
4697: l_action := 'CANCEL REL';
4698:
4699: PO_Document_Control_PVT.get_rel_header_actions(
4700: p_doc_subtype => l_doc_subtype,
4701: p_doc_id => l_doc_id,
4702: p_agent_id => p_agent_id,
4703: x_lookup_code_tbl => l_allowable_actions_tbl,

Line 4709: PO_Document_Control_PVT.get_header_actions(

4705: x_return_status => x_return_status);
4706: ELSE
4707: l_progress :='003';
4708: l_action := 'CANCEL PO';
4709: PO_Document_Control_PVT.get_header_actions(
4710: p_doc_subtype => l_doc_subtype,
4711: p_doc_id => l_doc_id,
4712: p_agent_id => p_agent_id,
4713: x_lookup_code_tbl => l_allowable_actions_tbl,

Line 4725: PO_Document_Control_PVT.get_line_actions(

4721:
4722: l_progress :='004';
4723: l_action := 'CANCEL PO LINE';
4724:
4725: PO_Document_Control_PVT.get_line_actions(
4726: p_doc_subtype => l_doc_subtype,
4727: p_doc_line_id => l_doc_line_id,
4728: p_agent_id => p_agent_id,
4729: x_lookup_code_tbl => l_allowable_actions_tbl,

Line 4743: PO_Document_Control_PVT.get_rel_shipment_actions(

4739: IF l_doc_type =po_document_cancel_pvt.c_doc_type_RELEASE THEN
4740: l_progress :='005';
4741: l_action := 'CANCEL REL SHIPMENT';
4742:
4743: PO_Document_Control_PVT.get_rel_shipment_actions(
4744: p_doc_subtype => l_doc_subtype,
4745: p_doc_line_loc_id => l_doc_line_loc_id,
4746: p_agent_id => p_agent_id,
4747: x_lookup_code_tbl => l_allowable_actions_tbl,

Line 4753: PO_Document_Control_PVT.get_shipment_actions(

4749: x_return_status => x_return_status);
4750: ELSE
4751: l_action := 'CANCEL PO SHIPMENT';
4752: l_progress :='006';
4753: PO_Document_Control_PVT.get_shipment_actions(
4754: p_doc_type => l_doc_type,
4755: p_doc_subtype => l_doc_subtype,
4756: p_doc_line_loc_id => l_doc_line_loc_id,
4757: p_agent_id => p_agent_id,

Line 6333: PO_DOCUMENT_CONTROL_PVT.init_action_date(

6329:
6330: -- Initialize the action date
6331: -- If x_action_date is NULL, then sets it to a valid CBC accounting
6332: -- date if CBC is enabled. Otherwise, sets it to the current system date.
6333: PO_DOCUMENT_CONTROL_PVT.init_action_date(
6334: p_api_version => 1.0,
6335: p_init_msg_list => FND_API.G_FALSE,
6336: x_return_status => x_return_status,
6337: p_doc_type => l_entity_rec_tbl(i).document_type,

Line 6363: PO_DOCUMENT_CONTROL_PVT.val_action_date(

6359:
6360: -- Validate the action date
6361: -- If encumbrance is on, checks that l_action_date lies in an open GL period
6362: -- Also checks that action_date is a valid CBC accounting date if cbc is enabled
6363: PO_DOCUMENT_CONTROL_PVT.val_action_date(
6364: p_api_version => 1.0,
6365: p_init_msg_list => FND_API.G_FALSE,
6366: x_return_status => x_return_status,
6367: p_doc_type => l_entity_rec_tbl(i).document_type,