743: v_doc_type := null;
744: if v_match_option = 'R' then
745: v_doc_type := 'RECEIPT';
746: else
747: if v_type_lookup_code = 'STANDARD' then
748: v_doc_type := 'STANDARD';
749: elsif v_type_lookup_code = 'BLANKET' then
750: v_doc_type := 'BLANKET';
751: else
744: if v_match_option = 'R' then
745: v_doc_type := 'RECEIPT';
746: else
747: if v_type_lookup_code = 'STANDARD' then
748: v_doc_type := 'STANDARD';
749: elsif v_type_lookup_code = 'BLANKET' then
750: v_doc_type := 'BLANKET';
751: else
752: v_doc_type := 'PLANNED';