Release Product Using X++
You can use the below code to release the product to any legal entity using X++ or a custom batch job.
Sample Code
static void ReleaseProducts(Args _args)
{
EcoResProduct ecoResProduct;
;
select firstOnly ecoResProduct where EcoResProduct.DisplayProductNumber == "7042"; //Audio system
EcoResProductReleaseManagerBase::releaseProduct(ecoResProduct.RecId,
CompanyInfo::findDataArea('USMF').RecId);
}