Summary

Completed

Classes for finance and operations apps use the X++ development language, which is an object-oriented programming language. Classes contain data that define an object's state and methods that define an object's behavior. Elements such as tables and forms contain classes out of the box. These elements can be modified through extension to add more methods that control the element's behavior. Through the Solution Explorer window in Visual Studio, you can add a new class or runnable class to your project.

A runnable class contains an empty main method and is declared as public static void. Many types of methods can be called in classes. Some methods dictate access to the method from other classes, like public, private, and protected methods. Others are used when you are manipulating data, such as select, insert, update, and delete methods. Methods, or any code within a class, can be commented on to explain the purpose of that code.

Topic Link
Overview of various class types and methods Classes and methods
Data manipulation methods X++ data selection and manipulation
Learn the basics of X++ Get started with development using X++ in finance and operations apps