Overview
The first part of this course gives a foundation for understanding development using X++. You will learn how to use the main development tools in Microsoft Axapta. You will then go on to discuss the concept of object-oriented programming and its relation to X++ and will gain a solid foundation to develop in Microsoft Axapta using object-oriented concepts.
There will be some focus on programming constructs in X++, such as loops, conditional statements, and functions within X++. In addition, you will be able to effectively communicate with the end user using X++ output commands.
Students will be taught how to develop modifications that interact with the Microsoft Axapta database. This functionality is often needed, making this an important topic in learning development with X++.
Finally, you will be instructed on how to have programs handle exceptions that occur when code is executed. This is an essential skill in all programming to make the application execute more efficiently.
This training may be available onsite; please contact us if you are interested.
Audience
Delegates wanting to learn the fundamentals of development using X++
Prerequisites
It is required that students have completed:
Course Outline
Chapter 1: Introduction to X++
This chapter gives a foundation for understanding development using X++. The student will also be able to use the main development tools in Microsoft Axapta.
Sections
- What is X++?
- Object-Oriented Programming
- Development Tools
- Jobs
- Best Practices
Exercises
- Test Your Knowledge
- Test Your Skills
After completing this chapter, students will be able to:
- Identify key features of developing with X++
- Describe the basic foundation of Object-Oriented Programming
- Understand the basics of development tools within Microsoft Axapta
- Know the foundations of Microsoft Axapta's Development Best Practices
Chapter 2: Objects and Classes
This chapter discusses the concept of object-oriented programming and its relation to X++. By the end of this chapter, the student will have a solid foundation to develop in Microsoft Axapta using object-oriented concepts.
Sections
- Introduction to Objects, Methods, and Classes
- Classes
- Objects
- Methods and Variables
Exercises
- Create a new class
- Instantiating objects of classes
- Opening\Executing classes
- Calling methods from class objects
- Using variables
- Test Your Knowledge
- Test Your Skills
After completing this chapter, students will be able to:
- Appreciate the objects and classes within X++ development
- Create a new class
- Know how to instantiate objects
- Understand the use of object and class methods
- Use variables and understand scope within X++
Chapter 3: X++ Control Statements
This chapter focuses on teaching the student about programming constructs in X++, such as loops, conditional statements, and functions within X++. In addition, the student will be able to effectively communicate with the end user using X++ output commands.
Sections
- X++ Constructs
- Communication Tools
Exercises
- Using Loops
- Printing to the screen
- Working with Boxes
- Creating Infologs
- Running a Dialog Box
- Test Your Knowledge
- Test Your Skills
After completing this chapter, students will be able to:
- Understand Conditional Statements in X++
- Create Loops in X++
- Use built-in Functions in Axapta
- Use the most basic X++ output commands
- Aid in development using output commands
- Communicate effectively with the end-user
Chapter 4: Accessing the Database
This chapter teaches the student how to develop modifications that interact with the Microsoft Axapta database. This functionality is often needed, making this an important topic in learning development with X++.
Sections
- Searching for Records
- Data Manipulation
- Queries
Exercises
- Test Your Knowledge
- Test Your Skills
After completing this chapter, students will be able to:
- Search for records using Select and While Select commands
- Modify search criteria using sorting and ranging
- Manipulate data using insert, update, and delete functions
- Understand how to use and build queries using kernel classes
Chapter 5: Exception Handling
This chapter instructs the student how to have programs handle exceptions that occur when code is executed. This is an essential skill in all programming to make the application execute more efficiently.
Sections
- What is Exception Handling?
- Using the Try and Catch Commands
- Throwing Exceptions
- Infolog and Error Catching
Exercises
- Execute error catching code to understand exception handling
- Test Your Knowledge
- Test Your Skills
After completing this chapter, students will be able to:
- Understand the exception handling mechanism in Microsoft Axapta
- Use the Try, Catch, and Retry commands
- Throw Exceptions
- Know best practices with Infologs and exception handling
The training course outline shown above is a standardised version representing all
the dates shown and may vary from the course you attend. You will be sent the actual
course outline when you enquire about a specific date.