In AX 2012 we used to create Product and Product master easily through coding by use of some classes like:
ecoresProductService = EcoResProductService::construct(); ecoResEcoResProduct = new EcoResEcoResProduct(); distintMaster = new EcoResEcoResProduct_Product_Distinct();
These classes do not exist in AX 365. I need to create released Product through coding. Please share if you know how to create. Thanks in advance.