a (3R)-3-hydroxyacyl-CoA + NADP(+) = a 3-oxoacyl-CoA + H(+) + NADPH Biopolymer metabolism; poly-(R)-3-hydroxybutanoate biosynthesis. NADH was preferred to NADPH as a substrate. Belongs to the short-chain dehydrogenases/reductases (SDR) family.