DBA Data[Home] [Help]

APPS.PO_HEADERS_SV1 dependencies on STANDARD

Line 104: if ((X_type_lookup_code = 'STANDARD') or

100: BEGIN
101:
102: /* If it is a PO or an Agreement check if it is encumbered */
103:
104: if ((X_type_lookup_code = 'STANDARD') or
105: (X_type_lookup_code = 'PLANNED') or
106: (X_type_lookup_code = 'BLANKET') or
107: (X_type_lookup_code = 'CONTRACT') ) then
108:

Line 231: -- This should be called only for CLM Standard document.

227: -- apply_changes proc of PO_XX_DRAFT_PVT above has a call to update_req_for_linked_po_count, where
228: -- the linked_po_count is updated for unlinked requisitions and those reqs CLINs(Autocreated/SoftLinked)
229: -- and PSlins(Softlinked) inserted into GT table for further procession(updating the reqs_in_pool_flag for entire
230: -- Clin-Slin structure if eligible) in the below proc update_reqs_in_pool_flag.
231: -- This should be called only for CLM Standard document.
232: IF (PO_CLM_INTG_GRP.IS_CLM_DOCUMENT(p_doc_type => 'PO',p_document_id => X_po_header_id) = 'Y'
233: AND X_type_lookup_code = 'STANDARD') THEN
234:
235: l_deleted_line_list := PO_TBL_NUMBER();

Line 233: AND X_type_lookup_code = 'STANDARD') THEN

229: -- and PSlins(Softlinked) inserted into GT table for further procession(updating the reqs_in_pool_flag for entire
230: -- Clin-Slin structure if eligible) in the below proc update_reqs_in_pool_flag.
231: -- This should be called only for CLM Standard document.
232: IF (PO_CLM_INTG_GRP.IS_CLM_DOCUMENT(p_doc_type => 'PO',p_document_id => X_po_header_id) = 'Y'
233: AND X_type_lookup_code = 'STANDARD') THEN
234:
235: l_deleted_line_list := PO_TBL_NUMBER();
236: l_deleted_dist_list := PO_TBL_NUMBER();
237:

Line 270: if (X_type_lookup_code IN ('STANDARD','PLANNED','BLANKET')) then --BUG 3230237

266: -- Bug: 13948625 - End
267:
268: --BUG 3230237
269: --Added 'BLANKET' to the if-condition since Encumbrance BPAs can have distributions.
270: if (X_type_lookup_code IN ('STANDARD','PLANNED','BLANKET')) then --BUG 3230237
271: /* Delete Distributions for a PO */
272: X_progress := '020';
273: --dbms_output.put_line('Before Delete All Distributions');
274: po_distributions_sv.delete_distributions(X_po_header_id, 'HEADER');

Line 413: 'STANDARD', 'PO',

409:
410: /* Bug 2904413 Need to delete the action history also */
411: Delete po_action_history
412: Where OBJECT_TYPE_CODE = decode(x_type_lookup_code,
413: 'STANDARD', 'PO',
414: 'PLANNED','PO','PA') and
415: OBJECT_SUB_TYPE_CODE = x_type_lookup_code and
416: OBJECT_ID = x_po_header_id;
417:

Line 442: if ((X_type_lookup_code = 'STANDARD') or

438: WHERE po_header_id = x_po_header_id;
439:
440: po_headers_pkg_s2.delete_row(X_rowid);
441:
442: if ((X_type_lookup_code = 'STANDARD') or
443: (X_type_lookup_code = 'PLANNED')) then
444:
445: /* UPDATE REQ LINK */
446: po_headers_sv2.update_req_link(X_po_header_id);

Line 660: -- Document Subtype of the [STANDARD/BLANKET/CONTRACT]

656: --IN:
657: --p_doc_type
658: -- Document type of the PO [PO/PA]
659: --p_doc_subtype
660: -- Document Subtype of the [STANDARD/BLANKET/CONTRACT]
661: --p_doc_header_id
662: -- Header ID of the PO to which the entity being deleted belongs
663: --p_ga_flag
664: -- Whether the Document is global or not Global Agreement flag

Line 669: -- Standard API specification parameter

665: --p_conterms_exist_flag
666: -- Whether the Document has Contract Terms or not
667: --OUT:
668: --x_return_status
669: -- Standard API specification parameter
670: -- Can hold one of the following values:
671: -- FND_API.G_RET_STS_SUCCESS (='S')
672: -- FND_API.G_RET_STS_ERROR (='E')
673: --End of Comments