How to Create a Table using X++ Code

 internal final class Class2

{

    public static void main(Args _args)

    {

        TreeNode tn;


        #AOT;


        tn=TreeNode::findNode(#TablesPath);


        tn.AOTadd("Fruits");


        SqlDataDictionary::synchronize();


        info("New Table Created");


       


    }


}

Comments

Popular posts from this blog

How to Create a wizard in x++ d365

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

x++ code to submit and approve and reject the invent movement workflow in d365 F&O