753: WHERE segment1 = x_document_num ;
754:
755: END IF; /* x_vendor_doc_num is not null */
756:
757: IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
758:
759: if x_po_status_rec.updatable_flag(1) = 'N' or
760: x_consigned_consumption_flag='Y' then
761:
790: x_header_processable_flag=>x_header_processable_flag);
791:
792: END IF; /* x_status_rec.updatable-flag(1)='N' */
793:
794: END IF; /* x_return_status = FND_API.G_RET_STS_SUCCESS */
795:
796: --
797: end if;
798: