An NAD-dependent enzyme that catalyzes the oxidation of acyl-[acyl-carrier protein] to trans-2,3-dehydroacyl-[acyl-carrier protein]. It has a preference for ac…