DBA Data[Home] [Help]

APPS.PO_ATTRIBUTE_VALUES_PVT dependencies on PO_LINES_DRAFT_ALL

Line 4432: -- present in the PO_LINES_DRAFT_ALL table for a given draft_id.

4428: --Locks:
4429: -- None.
4430: --Function:
4431: -- Create Translations in the TLP table for each of the modified line
4432: -- present in the PO_LINES_DRAFT_ALL table for a given draft_id.
4433: -- (for a Blanket or Quotation).
4434: -- It creates translations from one of the 2 sources:
4435: -- a) INV Item Master (if item_id is not null)
4436: -- b) Copies the TLP row of the created language to all other langs

Line 4473: -- PO_LINES_DRAFT_ALL table would contain only the lines that are

4469: IF (p_doc_type IN ('BLANKET', 'QUOTATION')) THEN
4470:
4471: -- SQL What: Get the PO_LINE_ID's and TLP_ID's for the PO
4472: -- Fetch only the lines that are modified. Since the
4473: -- PO_LINES_DRAFT_ALL table would contain only the lines that are
4474: -- modified, we join to it to get the list of PO_LINE_ID's.
4475: -- SQL Why : To create the TLP translations for each line
4476: -- SQL Join: draft_id, po_header_id, po_line_id, language
4477: SELECT POLD.po_line_id, TLP.attribute_values_tlp_id

Line 4479: FROM PO_LINES_DRAFT_ALL POLD,

4475: -- SQL Why : To create the TLP translations for each line
4476: -- SQL Join: draft_id, po_header_id, po_line_id, language
4477: SELECT POLD.po_line_id, TLP.attribute_values_tlp_id
4478: BULK COLLECT INTO l_po_line_id_list, l_tlp_id_list
4479: FROM PO_LINES_DRAFT_ALL POLD,
4480: PO_ATTRIBUTE_VALUES_TLP TLP,
4481: PO_HEADERS_ALL POH
4482: WHERE POLD.draft_id = p_draft_id
4483: AND NVL(POLD.change_accepted_flag, 'Y') = 'Y'