Word document from code
Sometimes you may want to generate a Word document from code in D365FO, which gives you much more control over the result than if you simply printed a report to Word. Here is a very brief example of how you can do it. Start with creating an X++ project. Then add a C# class library …