Serciorate que el subquery si regrese un solo valor:
Código SQL
[-]costo = (select tbl_detalle_nota_entrada.costo from tbl_detalle_nota_entrada
where tbl_articulo.id_articulo = (select first 1 tbl_detalle_nota_entrada.id_producto from tbl_detalle_nota_entrada
where tbl_detalle_nota_entrada.id_nota_entrada = @id_nota_entrada )
and tbl_detalle_nota_entrada.id_nota_entrada = @id_nota_entrada),