X++ code for modified method for form field grid level in D365 F & O

  [Control("String")]

    class BASTradeAgreementTable_ItemId

    {

        /// <summary>

        ///

        /// </summary>

        /// <returns></returns>

        public boolean modified()

        {

            EcoResProduct ecoResProduct;

            boolean ret;

            ret = super();

            select SearchName from  ecoResProduct  where ecoResProduct.DisplayProductNumber == BASTradeAgreementTable.ItemId;

            BASTradeAgreementTable.ProductName = ecoResProduct.SearchName;

            return ret;


        

        }


    }

Comments

Popular posts from this blog

How to Create a wizard in x++ d365

how to post trade agreement journals automatically using x++ code

X++ code to CREATE AND POST A TRADE AGREEMENT IN MICROSOFT DYNAMICS 365 in D365 F & O