DBA Data[Home] [Help]

APPS.CLN_ACK_PO_PKG dependencies on PO_CHG_REQUEST_GRP

Line 495: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound ----- ',1);

491:
492:
493: IF (l_call_po_apis = 'YES') THEN
494: IF (l_Debug_Level <= 2) THEN
495: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound ----- ',1);
496: END IF;
497: PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound (
498: p_requestor => p_requestor,
499: p_int_cont_num => p_int_cont_num,

Line 497: PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound (

493: IF (l_call_po_apis = 'YES') THEN
494: IF (l_Debug_Level <= 2) THEN
495: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound ----- ',1);
496: END IF;
497: PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound (
498: p_requestor => p_requestor,
499: p_int_cont_num => p_int_cont_num,
500: p_request_origin => p_request_origin,
501: p_tp_id => l_tp_id,

Line 518: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound returned Success',1);

514: l_msg_data := l_error_status;
515: RAISE FND_API.G_EXC_ERROR;
516: END IF;
517: IF (l_Debug_Level <= 2) THEN
518: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound returned Success',1);
519: END IF;
520: END IF;
521:
522: l_action := x_collaboration_type;

Line 580: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.validate_header ----- ',1);

576: l_po_type := 'RELEASE';
577: END IF;
578: IF (l_Debug_Level <= 2) THEN
579: cln_debug_pub.Add('PO Type is : ' || l_po_type,1);
580: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.validate_header ----- ',1);
581: END IF;
582:
583:
584: IF (l_call_po_apis = 'YES') THEN

Line 586: PO_CHG_REQUEST_GRP.validate_header (

582:
583:
584: IF (l_call_po_apis = 'YES') THEN
585: -- should not be called for 3A9 and 3A7 Response
586: PO_CHG_REQUEST_GRP.validate_header (
587: p_requestor => p_requestor,
588: p_int_cont_num => p_int_cont_num,
589: p_request_origin => p_request_origin,
590: p_request_type => l_request_type,

Line 615: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.validate_header returned Success',1);

611: l_msg_data := l_error_status;
612: RAISE FND_API.G_EXC_ERROR;
613: END IF;
614: IF (l_Debug_Level <= 2) THEN
615: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.validate_header returned Success',1);
616: END IF;
617: END IF;
618:
619: IF (l_call_po_apis = 'YES') THEN -- should not be called for 3A9 and 3A8 Response

Line 622: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.acknowledge_po ----- ',1);

618:
619: IF (l_call_po_apis = 'YES') THEN -- should not be called for 3A9 and 3A8 Response
620: IF (l_request_type = 'ACKNOWLEDGE') THEN
621: IF (l_Debug_Level <= 2) THEN
622: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.acknowledge_po ----- ',1);
623: END IF;
624: IF p_ackcode_header = 3 THEN --If pending treat it as accept
625: l_po_ackcode := 0;
626: ELSE

Line 629: PO_CHG_REQUEST_GRP.acknowledge_po(

625: l_po_ackcode := 0;
626: ELSE
627: l_po_ackcode := p_ackcode_header;
628: END IF;
629: PO_CHG_REQUEST_GRP.acknowledge_po(
630: p_requestor => p_requestor, -- Change requester or the acknowledging username
631: p_int_cont_num => p_int_cont_num, -- ECX's ICN. Used for integrity of request
632: p_request_type => 'ACKNOWLEDGE', -- ??'ACKNOWLEDGE'
633: p_tp_id => l_tp_id, -- vendor_id

Line 868: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For PO Release',1);

864:
865: IF((p_ackcode_header = 1 and p_ackcode_line = 1) AND ((p_collaboration_type = 'ORDER') or (p_collaboration_type = 'ACKNOWLEDGE_PO'))) THEN
866: IF l_po_type = 'RELEASE' THEN
867: IF (l_Debug_Level <= 1) THEN
868: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For PO Release',1);
869: END IF;
870: PO_CHG_REQUEST_GRP.store_supplier_request (
871: p_requestor => p_requestor,
872: p_int_cont_num => p_internal_control_number,

Line 870: PO_CHG_REQUEST_GRP.store_supplier_request (

866: IF l_po_type = 'RELEASE' THEN
867: IF (l_Debug_Level <= 1) THEN
868: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For PO Release',1);
869: END IF;
870: PO_CHG_REQUEST_GRP.store_supplier_request (
871: p_requestor => p_requestor,
872: p_int_cont_num => p_internal_control_number,
873: p_request_type => 'CHANGE',
874: p_tp_id => p_tp_id,

Line 928: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);

924: cln_debug_pub.Add('Previous and new line number are not same..',1);
925: END IF;
926: IF (p_previous_line_number <> p_line_number) THEN
927: IF (l_Debug_Level <= 1) THEN
928: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);
929: cln_debug_pub.Add('Call is at Line Level......',1);
930: END IF;
931: p_previous_line_number := p_line_number;
932:

Line 943: PO_CHG_REQUEST_GRP.store_supplier_request (

939: RETURN;
940: END IF;
941:
942: IF l_error_id IS NULL OR l_error_id = 0 THEN
943: PO_CHG_REQUEST_GRP.store_supplier_request (
944: p_requestor => p_requestor,
945: p_int_cont_num => p_internal_control_number,
946: p_request_type => 'CHANGE',
947: p_tp_id => p_tp_id,

Line 987: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);

983: END IF;
984: END IF;
985:
986: IF (l_Debug_Level <= 1) THEN
987: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);
988: cln_debug_pub.Add('Call is at Shipment Line Level......',1);
989: END IF;
990: PO_CHG_REQUEST_GRP.store_supplier_request (
991: p_requestor => p_requestor,

Line 990: PO_CHG_REQUEST_GRP.store_supplier_request (

986: IF (l_Debug_Level <= 1) THEN
987: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);
988: cln_debug_pub.Add('Call is at Shipment Line Level......',1);
989: END IF;
990: PO_CHG_REQUEST_GRP.store_supplier_request (
991: p_requestor => p_requestor,
992: p_int_cont_num => p_internal_control_number,
993: p_request_type => 'CHANGE',
994: p_tp_id => p_tp_id,

Line 1047: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);

1043: END IF;
1044:
1045: /*
1046: IF l_error_id IS NULL OR l_error_id = 0 THEN
1047: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);
1048:
1049: PO_CHG_REQUEST_GRP.process_supplier_request (
1050: p_int_cont_num => p_internal_control_number,
1051: x_error_id_in => l_error_id,

Line 1049: PO_CHG_REQUEST_GRP.process_supplier_request (

1045: /*
1046: IF l_error_id IS NULL OR l_error_id = 0 THEN
1047: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);
1048:
1049: PO_CHG_REQUEST_GRP.process_supplier_request (
1050: p_int_cont_num => p_internal_control_number,
1051: x_error_id_in => l_error_id,
1052: x_error_status_in => l_error_status,
1053: x_error_id_out => l_error_id,

Line 1248: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);

1244: END IF;
1245:
1246: IF x_return_status = 'S' THEN
1247: IF (l_Debug_Level <= 1) THEN
1248: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);
1249: END IF;
1250:
1251: PO_CHG_REQUEST_GRP.process_supplier_request (
1252: p_int_cont_num => p_internal_ctrl_num,

Line 1251: PO_CHG_REQUEST_GRP.process_supplier_request (

1247: IF (l_Debug_Level <= 1) THEN
1248: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);
1249: END IF;
1250:
1251: PO_CHG_REQUEST_GRP.process_supplier_request (
1252: p_int_cont_num => p_internal_ctrl_num,
1253: x_error_id_in => l_error_id,
1254: x_error_status_in => l_error_status,
1255: x_error_id_out => l_error_id,

Line 1273: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.windup_chn_ack_inbound API',1);

1269: END IF;
1270: END IF;
1271:
1272: IF (l_Debug_Level <= 1) THEN
1273: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.windup_chn_ack_inbound API',1);
1274: END IF;
1275:
1276:
1277: -- we have to call this even in case of error.

Line 1278: PO_CHG_REQUEST_GRP.windup_chn_ack_inbound (

1274: END IF;
1275:
1276:
1277: -- we have to call this even in case of error.
1278: PO_CHG_REQUEST_GRP.windup_chn_ack_inbound (
1279: p_requestor => p_requestor,
1280: p_int_cont_num => p_internal_ctrl_num,
1281: p_request_origin => p_request_origin,
1282: p_tp_id => p_tp_id,

Line 1295: -- Whatever be the status of PO_CHG_REQUEST_GRP.windup_chn_ack_inbound API,

1291: cln_debug_pub.Add('ERROR ID : ' || l_error_id,1);
1292: cln_debug_pub.Add('ERROR STATUS : ' || l_error_status,1);
1293: END IF;
1294:
1295: -- Whatever be the status of PO_CHG_REQUEST_GRP.windup_chn_ack_inbound API,
1296: -- we are returning back the failure incase the initial code returned was error.
1297: -- This code is deliberately called after the API call.
1298: IF x_return_status <> 'S' THEN
1299: l_msg_data := x_msg_data;

Line 1678: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound ----- ',1);

1674:
1675:
1676: IF (l_call_po_apis = 'YES') THEN
1677: IF (l_Debug_Level <= 2) THEN
1678: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound ----- ',1);
1679: END IF;
1680: PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound (
1681: p_requestor => p_requestor,
1682: p_int_cont_num => p_int_cont_num,

Line 1680: PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound (

1676: IF (l_call_po_apis = 'YES') THEN
1677: IF (l_Debug_Level <= 2) THEN
1678: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound ----- ',1);
1679: END IF;
1680: PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound (
1681: p_requestor => p_requestor,
1682: p_int_cont_num => p_int_cont_num,
1683: p_request_origin => p_request_origin,
1684: p_tp_id => l_tp_id,

Line 1701: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound returned Success',1);

1697: l_msg_data := l_error_status;
1698: RAISE FND_API.G_EXC_ERROR;
1699: END IF;
1700: IF (l_Debug_Level <= 2) THEN
1701: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.initialize_chn_ack_inbound returned Success',1);
1702: END IF;
1703: END IF;
1704:
1705: l_action := p_collaboration_type;

Line 1763: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.validate_header ----- ',1);

1759: l_po_type := 'RELEASE';
1760: END IF;
1761: IF (l_Debug_Level <= 2) THEN
1762: cln_debug_pub.Add('PO Type is : ' || l_po_type,1);
1763: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.validate_header ----- ',1);
1764: END IF;
1765:
1766:
1767: IF (l_call_po_apis = 'YES') THEN

Line 1769: PO_CHG_REQUEST_GRP.validate_header (

1765:
1766:
1767: IF (l_call_po_apis = 'YES') THEN
1768: -- should not be called for 3A9 and 3A7 Response
1769: PO_CHG_REQUEST_GRP.validate_header (
1770: p_requestor => p_requestor,
1771: p_int_cont_num => p_int_cont_num,
1772: p_request_origin => p_request_origin,
1773: p_request_type => l_request_type,

Line 1798: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.validate_header returned Success',1);

1794: l_msg_data := l_error_status;
1795: RAISE FND_API.G_EXC_ERROR;
1796: END IF;
1797: IF (l_Debug_Level <= 2) THEN
1798: cln_debug_pub.Add('PO_CHG_REQUEST_GRP.validate_header returned Success',1);
1799: END IF;
1800: END IF;
1801:
1802: IF (l_call_po_apis = 'YES') THEN -- should not be called for 3A9 and 3A8 Response

Line 1805: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.acknowledge_po ----- ',1);

1801:
1802: IF (l_call_po_apis = 'YES') THEN -- should not be called for 3A9 and 3A8 Response
1803: IF (l_request_type = 'ACKNOWLEDGE') THEN
1804: IF (l_Debug_Level <= 2) THEN
1805: cln_debug_pub.Add('--- Calling PO_CHG_REQUEST_GRP.acknowledge_po ----- ',1);
1806: END IF;
1807: IF p_ackcode_header = 3 THEN --If pending treat it as accept
1808: l_po_ackcode := 0;
1809: ELSE

Line 1812: PO_CHG_REQUEST_GRP.acknowledge_po(

1808: l_po_ackcode := 0;
1809: ELSE
1810: l_po_ackcode := p_ackcode_header;
1811: END IF;
1812: PO_CHG_REQUEST_GRP.acknowledge_po(
1813: p_requestor => p_requestor, -- Change requester or the acknowledging username
1814: p_int_cont_num => p_int_cont_num, -- ECX's ICN. Used for integrity of request
1815: p_request_type => 'ACKNOWLEDGE', -- ??'ACKNOWLEDGE'
1816: p_tp_id => l_tp_id, -- vendor_id

Line 2052: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For PO Release',1);

2048:
2049: IF((p_ackcode_header = 1 and p_ackcode_line = 1) AND ((p_collaboration_type = 'ORDER') or (p_collaboration_type = 'ACKNOWLEDGE_PO'))) THEN
2050: IF l_po_type = 'RELEASE' THEN
2051: IF (l_Debug_Level <= 1) THEN
2052: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For PO Release',1);
2053: END IF;
2054: PO_CHG_REQUEST_GRP.store_supplier_request (
2055: p_requestor => p_requestor,
2056: p_int_cont_num => p_internal_control_number,

Line 2054: PO_CHG_REQUEST_GRP.store_supplier_request (

2050: IF l_po_type = 'RELEASE' THEN
2051: IF (l_Debug_Level <= 1) THEN
2052: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For PO Release',1);
2053: END IF;
2054: PO_CHG_REQUEST_GRP.store_supplier_request (
2055: p_requestor => p_requestor,
2056: p_int_cont_num => p_internal_control_number,
2057: p_request_type => 'CHANGE',
2058: p_tp_id => p_tp_id,

Line 2112: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);

2108: cln_debug_pub.Add('Previous and new line number are not same..',1);
2109: END IF;
2110: IF (p_previous_line_number <> p_line_number) THEN
2111: IF (l_Debug_Level <= 1) THEN
2112: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);
2113: cln_debug_pub.Add('Call is at Line Level......',1);
2114: END IF;
2115: p_previous_line_number := p_line_number;
2116:

Line 2127: PO_CHG_REQUEST_GRP.store_supplier_request (

2123: RETURN;
2124: END IF;
2125:
2126: IF l_error_id IS NULL OR l_error_id = 0 THEN
2127: PO_CHG_REQUEST_GRP.store_supplier_request (
2128: p_requestor => p_requestor,
2129: p_int_cont_num => p_internal_control_number,
2130: p_request_type => 'CHANGE',
2131: p_tp_id => p_tp_id,

Line 2171: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);

2167: END IF;
2168: END IF;
2169:
2170: IF (l_Debug_Level <= 1) THEN
2171: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);
2172: cln_debug_pub.Add('Call is at Shipment Line Level......',1);
2173: END IF;
2174: PO_CHG_REQUEST_GRP.store_supplier_request (
2175: p_requestor => p_requestor,

Line 2174: PO_CHG_REQUEST_GRP.store_supplier_request (

2170: IF (l_Debug_Level <= 1) THEN
2171: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.store_supplier_request API For Standard PO',1);
2172: cln_debug_pub.Add('Call is at Shipment Line Level......',1);
2173: END IF;
2174: PO_CHG_REQUEST_GRP.store_supplier_request (
2175: p_requestor => p_requestor,
2176: p_int_cont_num => p_internal_control_number,
2177: p_request_type => 'CHANGE',
2178: p_tp_id => p_tp_id,

Line 2231: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);

2227: END IF;
2228:
2229: /*
2230: IF l_error_id IS NULL OR l_error_id = 0 THEN
2231: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);
2232:
2233: PO_CHG_REQUEST_GRP.process_supplier_request (
2234: p_int_cont_num => p_internal_control_number,
2235: x_error_id_in => l_error_id,

Line 2233: PO_CHG_REQUEST_GRP.process_supplier_request (

2229: /*
2230: IF l_error_id IS NULL OR l_error_id = 0 THEN
2231: cln_debug_pub.Add('Calling PO_CHG_REQUEST_GRP.process_supplier_request API',1);
2232:
2233: PO_CHG_REQUEST_GRP.process_supplier_request (
2234: p_int_cont_num => p_internal_control_number,
2235: x_error_id_in => l_error_id,
2236: x_error_status_in => l_error_status,
2237: x_error_id_out => l_error_id,