2545:
2546: cursor c_source_doc_class is
2547: select type_class_code
2548: from oke_k_headers chr,
2549: OKE_K_TYPES_b ktype
2550: where chr.k_type_code = ktype.k_type_code
2551: and chr.k_header_id = p_source_k_header_id;
2552:
2553: cursor c_dest_doc_class is
2551: and chr.k_header_id = p_source_k_header_id;
2552:
2553: cursor c_dest_doc_class is
2554: select type_class_code
2555: from OKE_K_TYPES_b
2556: where k_type_code = p_dest_doc_type;
2557:
2558:
2559: l_role NUMBER;