DBA Data[Home] [Help]

APPS.PO_POXPOBPS_XMLP_PKG dependencies on PO_HEADERS

Line 217: FROM po_headers_all

213:
214:
215: SELECT nvl(global_agreement_flag,'N')
216: INTO X_GA_FLAG
217: FROM po_headers_all
218: WHERE po_header_id = po_header_id1;
219:
220: IF X_GA_FLAG = 'N' THEN
221:

Line 230: po_headers poh,

226: (NVL(PLL.quantity, 0) - NVL(PLL.quantity_cancelled, 0))
227: * NVL(PLL.price_override, 0)))
228: INTO X_RELEASED_AMT
229: FROM po_line_locations pll,
230: po_headers poh,
231: po_lines POL
232: WHERE poh.po_header_id = POL.po_header_id
233: AND POL.po_line_id = PLL.po_line_id
234: AND pll.shipment_type not in ('PRICE BREAK')

Line 248: po_headers_all poh,

244: (NVL(PLL.quantity, 0) - NVL(PLL.quantity_cancelled, 0))
245: * NVL(PLL.price_override, 0)))
246: INTO X_RELEASED_AMT
247: FROM po_line_locations_all pll,
248: po_headers_all poh,
249: po_lines_all POL
250: WHERE poh.po_header_id = pll.from_header_id
251: AND POH.po_header_id = POL.po_header_id
252: AND POL.po_line_id = PLL.from_line_id

Line 288: from po_headers

284:
285: begin
286:
287: select global_agreement_flag into l_ga_flag
288: from po_headers
289: where po_header_id=po_header_id1;
290: exception
291: when others then
292: null;

Line 302: FROM po_distributions_all pod, po_line_locations_all poll, po_lines_all pol,po_headers poh

298: SELECT (min(poh.blanket_total_amount)- sum( round(
299: (decode (pol.quantity, null, (pod.amount_ordered - pod.amount_cancelled),
300: (( pod.quantity_ordered - pod.quantity_cancelled ) * poll.price_override)))
301: ))) REMAIN into x_remain_amt
302: FROM po_distributions_all pod, po_line_locations_all poll, po_lines_all pol,po_headers poh
303: WHERE pod.line_location_id = poll.line_location_id AND
304: poll.po_line_id = pol.po_line_id AND
305: pol.from_header_id =po_header_id1
306: and poh.po_header_id=po_header_id1;

Line 325: , po_headers poh

321: (nvl(pll.quantity,0) - nvl(pll.quantity_cancelled,0))
322: * nvl(price_override,0)))) REMAIN
323: INTO X_REMAIN_AMT
324: FROM po_line_locations pll
325: , po_headers poh
326: , po_lines POL
327: WHERE poh.po_header_id = POL.po_header_id(+)
328: AND POL.po_line_id = PLL.po_line_id (+)
329: AND pll.shipment_type not in ('PRICE BREAK')