DBA Data[Home] [Help]

APPS.JAI_ENCUM_PRC dependencies on PO_HEADERS_ALL

Line 58: FROM po_headers_all poh, po_lines_all pol

54: /*Cursor to fetch currency, conversion rate and header id of the PO*/
55: CURSOR cur_po_hdr_dtls(cp_po_line_id NUMBER)
56: IS
57: SELECT poh.currency_code, poh.rate,poh.po_header_id
58: FROM po_headers_all poh, po_lines_all pol
59: WHERE poh.po_header_id = pol.po_header_id
60: AND pol.po_line_id = cp_po_line_id;
61:
62: po_hdr_dtls_rec cur_po_hdr_dtls%ROWTYPE;

Line 157: PO_HEADERS_ALL POH,

153: DECODE(po_tax.currency,'INR',1/nvl(poh.rate,1),1) ),0)
154: INTO ln_nr_tot_tax
155: FROM JAI_PO_TAXES PO_TAX,
156: JAI_CMN_TAXES_ALL TAX_CODE,
157: PO_HEADERS_ALL POH,
158: PO_LINE_LOCATIONS_ALL POLL
159: WHERE po_tax.line_location_id = poll.line_location_id
160: AND poll.po_header_id = poh.po_header_id
161: AND po_tax.tax_id = tax_code.tax_id

Line 172: , po_headers_all poh

168: DECODE( po_tax.currency, 'INR', 1/NVL(poh.rate,1), 1) ), 0)
169: INTO ln_rec_tot_inclu_tax
170: FROM jai_po_taxes po_tax
171: , jai_cmn_taxes_all tax_code
172: , po_headers_all poh
173: , po_line_locations_all poll
174: WHERE po_tax.line_location_id = poll.line_location_id
175: AND poll.po_header_id = poh.po_header_id
176: AND po_tax.tax_id = tax_code.tax_id

Line 213: PO_HEADERS_ALL POH,

209: ( dist.quantity_ordered / poll.quantity )),2),0)
210: INTO p_nr_tax_tbl(i)
211: FROM JAI_PO_TAXES PO_TAX,
212: JAI_CMN_TAXES_ALL TAX_CODE,
213: PO_HEADERS_ALL POH,
214: PO_DISTRIBUTIONS_ALL DIST,
215: PO_LINE_LOCATIONS_ALL POLL
216: WHERE po_tax.line_location_id = dist.line_location_id
217: AND dist.line_location_id = poll.line_location_id

Line 230: , po_headers_all poh

226: (dist.quantity_ordered/poll.quantity)), 2), 0)
227: INTO ln_rec_tax_inclu
228: FROM jai_po_taxes po_tax
229: , jai_cmn_taxes_all tax_code
230: , po_headers_all poh
231: , po_distributions_all dist
232: , po_line_locations_all poll
233: WHERE po_tax.line_location_id = dist.line_location_id
234: AND dist.line_location_id = poll.line_location_id