Release Product Using X++

 


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);

}


Support Faryal's Cusine


1 comment:

  1. hello guys i just got a successful bank transfer of $50,000 from darkwebonlinehackers.com THEY ARE VERY LEGIT AND RELIABLE TO DEAL WITH. YOU CAN CONTACT THEM NOW THROUGH THEIR

    Email: darkwebonlinehackers@gmail.com

    Text & Call or WhatsApp: +18033921735

    Website: https://darkwebonlinehackers.com

    ReplyDelete

Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...