Академический Документы
Профессиональный Документы
Культура Документы
Introduction
Before beginning hands-on development, it is important for developers to understand the basic architecture and objects of Microsoft Dynamics NAV 5.0. This chapter describes the seven objects used in Microsoft Dynamics NAV to create the tables, forms, reports and other elements of the application. In addition, this chapter describes the development environment, concepts behind C/SIDE objects, and the structure of the database. Finally, next steps in development are described.
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
1-1
Forms
Reports
Dataports
XMLports
Codeunits MenuSuites
C/SIDE is not object-oriented but object-based. This is an important distinction. In an object-oriented language or environment, the developer can create new types of objects based on the ones already in the system. In C/SIDE, you have seven types of application objects and that is all. You can create and use Tables, Forms, Reports, Dataports, XMLports, Codeunits, and MenuSuites, but nothing else. Limiting you to using these seven objects tends to make your work faster and more efficient. The biggest benefit from this limitation is stability; it is fairly difficult to create a severe bug in C/SIDE.
1-2
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
C/SIDE Fundamentals
A C/SIDE (Client Server Integrated Development Environment) application is composed of the seven types of application objects, as described in the previous section. Each application object is created using a specific designer. For example, tables are created with the Table Designer, forms are created with the Form Designer, and so on. The application objects you create using designers are all based on some general concepts. A fundamental knowledge of these concepts speeds up the C/SIDE application development process. This section introduces you to the C/SIDE user interface and presents the general concepts that underlie C/SIDE application objects.
When you install C/SIDE, all the icons you need to work within C/SIDE are also automatically installed. The user interface gives access to a number of tools and functions. Some parts of the user interface also provide information about the current state of the system. To... Get information about the name and path of the current database Access functions on drop-down menus Access the most commonly used functions quickly Work with the application design tools View basic status information about your system (such as the current date and your user ID) Use the... Title Bar Menu Bar Toolbar Work Area Status Bar
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
1-3
FIGURE 1-1: C/SIDE USER INTERFACE WITH THE TABLE DESIGNER OPEN
Tables are the fundamental objects that store the actual data. Other application objects are needed to insert, modify, delete, or show data from tables. A form is typically used to enter or retrieve data from the database and a report is used to print data. NOTE: All application objects are identified by an ID number. There are, however, restrictions about which numbers you use when creating your application objects. In the Object Designer, you select the type of application object to work on. From the Object Designer you can run an application object, start an application object designer to modify the design of an existing application object, or create a new application object.
1-4
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
There is a specific designer for each type of application object. When creating or modifying an application, you can work on any number of application objects at the same time, and each application object is shown in its own designer. For example, if you work on three new forms at the same time, each form is displayed in its own Form Designer. The Object Designer is the only designer that cannot have more than one instance running at a time. The designers are discussed further throughout this training manual.
C/SIDE Applications
C/SIDE is specially designed for creating accounting and business management applications. Any C/SIDE application consists of the same objects as a C/SIDE database. The difference between objects in a database and objects in an application is that databases contain a collection of application objects, whereas applications are a set of application objects tied together to form a coherent whole.
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
1-5
Form
Report
Dataport
XMLport
Codeunit
MenuSuite
1-6
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
1-7
1-8
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
1-9
1-10
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
Conclusion
A thorough understanding of this information enables developers to streamline their development processes by learning how to develop integrations and customizations for the Microsoft Dynamics NAV system. This training material explains how to navigate within the development environment, how to create and use the basic objects, and how to implement best practices for ensuring smooth software upgrades in the future.
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement
1-11
1-12
Microsoft Official Training Materials for Microsoft Dynamics Your use of this content is subject to your current services agreement