Dynamics 365 FO - Introduction to X++ - Microsoft Dynamics 365 Vietnam

Microsoft Dynamics 365 Vietnam

Song Nghia - Microsoft Dynamics 365 Vietnam

Breaking

Thursday, September 15, 2022

Dynamics 365 FO - Introduction to X++

 Dynamics 365 FO - Introduction to X++

Nghia Song -  Microsoft Dynamics 365 Technical Consultant

Nghia Song

Tel - WhatsApp: +84967324794

Email: songnghia.uit@gmail.com


  1. Object

The objectives are:

  • Identify key features of developing with X++

  • Describe the basic foundation of object-oriented programming. 

  • Use the development tools available within Microsoft Dynamics 365.

  1. Introduction

X++ is the primary programming language. When you develop with X++, refer to Microsoft Dynamics 365 Developer Help, available from the Help menu for detailed information. The following are important features of X++

  • X++ resembles other popular languages such as C# and Java.

  • Because X++ includes many integrated SQL commands, Microsoft Dynamics 365 can build complex accounting and business management systems. 

  • X++ is an object-oriented language and provides a clean and efficient object-based development platform. 

  • Programmers who use X++ can access existing Microsoft Dynamics 365 system classes that provide functionality ranging from basic I/O, XML, to changing controls in the graphical user interface at run time. These system classes can be extended to provide new behavior

  1. Characteristic of X++

The following are characteristics of X++:

  • Reliable: X++ provides extensive compile-time checking, followed by a second level of run-time checking. Language features guide programmers toward reliable programming habits. The memory management model is simple; objects are created by using a "new" operator and there is automatic garbage collection. There are no explicit programmer-defined pointer data types or arithmetic. This model eliminates entire classes of programming errors. 

  • Interpreted and Dynamic: Benefit from faster development cycles - prototyping, experimentation, and rapid development, versus the traditional compile, link, and test cycles. 

  • Interoperable: Components in Microsoft Dynamics 365 are seamlessly available to any application supporting .NET, and conversely X++ is able to consume external managed code and COM objects.

  1. Development tool

Application development is carried out in Visual Studio. The development tools support all of the development tasks, including debugging and local testing scenarios. Visual Studio is the exclusive integrated development environment (IDE) for development. All of your application development work will be performed with it. This section is an overview of the main features that are added to Visual Studio when the development tools are installed.


Visual Studio 2019 is supported beginning with platform updates for version 10.0.21 of finance and operations a

  1. Application Explorer

In Visual Studio, the model store is represented by the Application Explorer. On the View menu, click Application Explorer to open it. Use the Application Explorer to browse and interact with the elements in the model store that define the applications. The following illustration shows the Application Explorer. For more information, see Application Explorer.

2    The project template

even a simple application can have a large number of elements in its model. The Operations Project template has been added to Visual Studio to help you organize and manage the elements that you are working with for a model. You will use the project to design, build, and test model elements. It’s common to have several projects within a single Visual Studio solution. The following illustration shows three projects in a Visual Studio solution.

3 Element Design

The Visual Studio tools contain designers for each kind of element in the application. You will use these designers when you create or modify elements. The following illustration shows the element designer for a form element

4 Code Editor

The X++ code is written in the code editor for Visual Studio. The standard features that a developer expects from the code editor are supported. For example, sections of code are collapsible. IntelliSense provides guidance as you write or modify code.

5     Dynamic 365 menu

The tools add the Dynamics 365 menu to Visual Studio. Several tools that you will use during the development process are found here. For example, the tools for managing models are accessed from the menu.

Next: Dynamics 365 FO - X++ Control Statement https://www.songnghia.com/2022/09/dynamics-365-fo-x-control-statement.html

No comments:

Post a Comment