FUNCTION get_ltd_deprn(p_asset_id IN NUMBER, p_book_type_code IN VARCHAR2, p_rate_source_rule IN VARCHAR2 DEFAULT NULL, p_dist_id IN NUMBER DEFAULT 0, p_period_ctr IN NUMBER DEFAULT 0, p_mrc_sob_type_code IN VARCHAR2 DEFAULT 'N', p_set_of_books_id IN…