DBA Data[Home] [Help]

APPS.PO_CHG_REQUEST_PVT dependencies on STANDARD

Line 584: -- Standard call to check for call compatibility.

580: -- initialize message list
581: FND_MSG_PUB.initialize;
582: END IF;
583:
584: -- Standard call to check for call compatibility.
585:
586: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,
587: p_api_version,
588: l_api_name,

Line 1620: if (v_type_code in ('STANDARD','PLANNED')) then

1616: select type_lookup_code , org_id
1617: into v_type_code , x_org_id
1618: from po_headers_all
1619: where po_header_id= p_po_header_id;
1620: if (v_type_code in ('STANDARD','PLANNED')) then
1621: v_document_type := 'PO';
1622: v_document_subtype := v_type_code;
1623: elsif (v_type_code in ('BLANKET','CONTRACT')) then
1624: v_document_type := 'PA';

Line 1666: -- if release / standard po referencing a GA/ Quotation

1662: shipmentNumTbl.extend;
1663: shipamountTbl.extend;
1664: progress_type_tbl.extend;
1665: pay_description_tbl.extend;
1666: -- if release / standard po referencing a GA/ Quotation
1667: -- Call Get Price Break API.
1668:
1669: --if ((p_po_change_requests(i).from_header_id is not null) or
1670: -- (p_po_change_requests(i).po_release_id is not null)) then

Line 1811: -- For Global Agreement refered Standard PO's x_cum_flag is always FALSE

1807: latest_external_flag='Y' ) and
1808: latest_external_flag='Y' and
1809: po_line_id = l_ga_lineId ;
1810:
1811: -- For Global Agreement refered Standard PO's x_cum_flag is always FALSE
1812: x_price := po_sourcing2_sv.get_break_price(
1813: l_total_qty, l_shipToOrg, l_shipToLoc, l_ga_lineId, x_cum_flag, l_needBydate, null);
1814:
1815: -- Post a line level change with the price returned from price break api

Line 2064: if (l_doc_type = 'STANDARD') then

2060: from po_headers_all poh, po_lines_all pol
2061: where poh.po_header_id = pol.po_header_id
2062: and po_line_id = p_po_line_id;
2063:
2064: if (l_doc_type = 'STANDARD') then
2065:
2066: -- Check if the line type is amount based then do not allow change
2067: --PO API does not cover this.
2068: begin

Line 2108: else --end of if l_doc_type = 'STANDARD'

2104: end if;
2105:
2106: end if;
2107:
2108: else --end of if l_doc_type = 'STANDARD'
2109: x_display_stat := 'Y'; --For blankets, planned, GAs, price is always changeable.
2110: end if;
2111:
2112:

Line 2183: if (v_type_code in ('STANDARD','PLANNED')) then

2179: p_document_id := p_po_header_id;
2180: select type_lookup_code into v_type_code
2181: from po_headers_all
2182: where po_header_id= p_po_header_id;
2183: if (v_type_code in ('STANDARD','PLANNED')) then
2184: v_document_type := 'PO';
2185: v_document_subtype := v_type_code;
2186: elsif (v_type_code in ('BLANKET','CONTRACT')) then
2187: v_document_type := 'PA';

Line 2241: AND POH.TYPE_LOOKUP_CODE ='STANDARD'

2237: FROM PO_LINE_LOCATIONS_ALL POLL,PO_LINES_ALL POL,PO_HEADERS_ALL POH
2238: WHERE
2239: POH.PO_HEADER_ID = p_po_header_id
2240: AND POH.PO_HEADER_ID = POL.PO_HEADER_ID
2241: AND POH.TYPE_LOOKUP_CODE ='STANDARD'
2242: AND POLL.po_line_id = POL.po_line_id
2243: AND nvl(POLL.cancel_flag, 'N') = 'N'
2244: AND nvl(POLL.closed_code, 'OPEN') <> 'FINALLY CLOSED'
2245: AND (nvl(POLL.quantity_received,0) >= nvl(POLL.quantity,0)

Line 2491: -- Standard call to check for call compatibility.

2487: -- initialize message list
2488: FND_MSG_PUB.initialize;
2489: END IF;
2490:
2491: -- Standard call to check for call compatibility.
2492:
2493: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,
2494: p_api_version,
2495: l_api_name,

Line 2659: -- Start standard API initialization

2655: initiator = 'SUPPLIER' and
2656: request_status not in ('ACCEPTED', 'REJECTED');
2657:
2658: BEGIN
2659: -- Start standard API initialization
2660: IF FND_API.to_boolean(p_init_msg_list) THEN
2661: FND_MSG_PUB.initialize;
2662: END IF;
2663: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version,

Line 2669: -- End standard API initialization

2665: THEN
2666: RAISE FND_API.g_exc_unexpected_error;
2667: END IF;
2668: x_return_status := FND_API.g_ret_sts_success;
2669: -- End standard API initialization
2670:
2671: -- Get the change request group id for the change requests if any
2672: if (p_po_release_id is not null) then
2673: open c2(p_po_release_id);

Line 2924: -- Standard call to check for call compatibility.

2920: -- initialize message list
2921: FND_MSG_PUB.initialize;
2922: END IF;
2923:
2924: -- Standard call to check for call compatibility.
2925:
2926: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,
2927: p_api_version,
2928: l_api_name,

Line 2936: if (p_document_subtype in ('STANDARD','PLANNED')) then

2932: END IF;
2933:
2934: -- initialize return status
2935: x_return_status := FND_API.G_RET_STS_SUCCESS;
2936: if (p_document_subtype in ('STANDARD','PLANNED')) then
2937: l_document_type := 'PO';
2938:
2939: elsif (p_document_subtype in ('BLANKET','CONTRACT')) then
2940: l_document_type := 'PA';

Line 3147: -- Standard call to check for call compatibility.

3143: -- initialize message list
3144: FND_MSG_PUB.initialize;
3145: END IF;
3146:
3147: -- Standard call to check for call compatibility.
3148:
3149: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,
3150: p_api_version,
3151: l_api_name,

Line 3159: if (p_document_subtype in ('STANDARD','PLANNED')) then

3155: END IF;
3156:
3157: -- initialize return status
3158: x_return_status := FND_API.G_RET_STS_SUCCESS;
3159: if (p_document_subtype in ('STANDARD','PLANNED')) then
3160: l_document_type := 'PO';
3161:
3162: elsif (p_document_subtype in ('BLANKET','CONTRACT')) then
3163: l_document_type := 'PA';