2581: okc_ancestrys b
2582: where b.cle_id = p_line_id
2583: and b.level_sequence = 1
2584: and a.id = b.cle_id_ascendant;
2585: cursor c4(p_lse_id okc_val_line_operations_v.lse_id%TYPE) is
2586: select 'x'
2587: from okc_val_line_operations
2588: where lse_id = p_lse_id
2589: and opn_code = p_opn_code;
2583: and b.level_sequence = 1
2584: and a.id = b.cle_id_ascendant;
2585: cursor c4(p_lse_id okc_val_line_operations_v.lse_id%TYPE) is
2586: select 'x'
2587: from okc_val_line_operations
2588: where lse_id = p_lse_id
2589: and opn_code = p_opn_code;
2590: operation_allowed Exception;
2591: operation_not_allowed Exception;