489: END IF;
490:
491: END IF; -- p_document_type <> 'PA' and ...
492:
493: --Bug10212404
495:
496: IF ((p_action_ctl_rec.document_type = 'PA') AND
497: (p_action_ctl_rec.document_subtype = 'BLANKET'))
496: IF ((p_action_ctl_rec.document_type = 'PA') AND
497: (p_action_ctl_rec.document_subtype = 'BLANKET'))
498: THEN
499:
500: PO_CATALOG_INDEX_PVT.rebuild_index
501: (
502: p_type => PO_CATALOG_INDEX_PVT.TYPE_BLANKET
503: , p_po_header_id => P_ACTION_CTL_REC.document_id
504: );
498: THEN
499:
500: PO_CATALOG_INDEX_PVT.rebuild_index
501: (
502: p_type => PO_CATALOG_INDEX_PVT.TYPE_BLANKET
503: , p_po_header_id => P_ACTION_CTL_REC.document_id
504: );
505: -- Bug 14277142 : Calling iP rebuild index only for Blanket so that line items becomes searchable in iP store.
506: -- Rebuild catalog search index.
851: END IF;
852:
853: END IF; -- if p_action_ctl_rec.calling_mode <> 'AP'
854:
855: --Bug10212404
857: IF ((p_action_ctl_rec.document_type = 'PA') AND
858: (p_action_ctl_rec.document_subtype = 'BLANKET'))
859: THEN
857: IF ((p_action_ctl_rec.document_type = 'PA') AND
858: (p_action_ctl_rec.document_subtype = 'BLANKET'))
859: THEN
860:
861: PO_CATALOG_INDEX_PVT.rebuild_index
862: (
863: p_type => PO_CATALOG_INDEX_PVT.TYPE_BLANKET
864: , p_po_header_id => P_ACTION_CTL_REC.document_id
865: );
859: THEN
860:
861: PO_CATALOG_INDEX_PVT.rebuild_index
862: (
863: p_type => PO_CATALOG_INDEX_PVT.TYPE_BLANKET
864: , p_po_header_id => P_ACTION_CTL_REC.document_id
865: );
866:
867: END IF;