175: -- Rebuild catalog search index.
176: -- Call this procedure BEFORE calling archive_po because this one
177: -- compares against the archive tables to check if any of the
178: -- searchable fields have been modified or not.
179: PO_CATALOG_INDEX_PVT.rebuild_index
180: (
181: p_type => PO_CATALOG_INDEX_PVT.TYPE_BLANKET
182: , p_po_header_id => P_ACTION_CTL_REC.document_id
183: );
177: -- compares against the archive tables to check if any of the
178: -- searchable fields have been modified or not.
179: PO_CATALOG_INDEX_PVT.rebuild_index
180: (
181: p_type => PO_CATALOG_INDEX_PVT.TYPE_BLANKET
182: , p_po_header_id => P_ACTION_CTL_REC.document_id
183: );
184:
185: END IF; -- if Blanket Agreement