618:
619: IF(ln_transaction_header_id <> -1)
620: THEN
621: SELECT fhv.units INTO ln_asset_unit
622: FROM fa_asset_history_v fhv
623: WHERE fhv.key = ln_transaction_header_id
624: AND fhv.transaction_header_id_out = ln_transaction_header_id ;
625: END IF; --(ln_transaction_header_id)
626: EXCEPTION