727:
728:
729: Cursor get_counter_qty(p_cle_id Number, p_lock_read number) IS
730: select value_timestamp, counter_id
731: from cs_counter_values, okc_k_items
732: where cle_id = p_cle_id
733: and to_char(counter_id) = object1_id1
734: and counter_reading = p_lock_read;
735:
3748:
3749:
3750: Cursor get_counter_qty(p_cle_id Number, p_lock_read number) IS
3751: select value_timestamp, counter_id
3752: from cs_counter_values, okc_k_items
3753: where cle_id = p_cle_id
3754: and to_char(counter_id) = object1_id1
3755: and counter_reading = p_lock_read;
3756: