Introduction

In this chapter, we will cover the tasks required to write the data dictionary elements commonly used within Operations development.

Data structures in Operations are not just tables and views, but also include the ability to define a data dictionary. This is now called the Data Model in Operations. The data model hasn't changed much in structure since AX 2012, but is much more refined with many more features to aid development and minimize the footprint when extending standard tables and types.

This chapter does not cover creating extensions of standard types, but it does cover how to create types that allow your structures to be extensible. Extensibility is covered in Extending standard tables without customization footprint section of Chapter 7, Leveraging Extensibility .

Most development in Operations is based on patterns, even if we are not aware of it. For example, the Vendor and Customer lists are very similar, and are called Main tables. Purchase orders and Sales orders are also very similar, which are Worksheet tables; in this case, order header and lines.

Tables in Operations have a property that defines the type of table, and each type is associated with a particular style of form for the user interface. We could therefore consider these types as patterns. If we think of them as patterns, it is far easier to apply the recipes to our own development.

The following list is of the common table types, listed with the usual form design and their typical usage:

Table group

Form design pattern

Usage

Miscellaneous

This is essentially 'undefined' and shouldn't be used, other than for temporary tables.

Parameter

Table of contents

This is used for single-record parameter forms.

Group

Simple list

Simple list and Details - List Grid

This is used for the backing table for drop-down lists. The Simple list design pattern is suitable for when only a few fields are required; otherwise, the Simple list and Details patterns should be used so the fields are presented in a useful way to the user.

Main

Details Master

This is used for main tables, such as customers, suppliers, and items.

Transaction Header

Transaction Line

Simple List and Details with Standard tabs

This is used for datasets, such as the invoice journal form, that contain posted transactional data with a header and lines.

Transaction

Simple List and Details w/Standard tabs

This is used for tables, such as the Inventory transaction form, that contain posted transactional data, but at a single level.

Worksheet header

Worksheet line

Details Transaction

This is used for data entry datasets, such as the purchase order, where the dataset is made up of header and line tables. The pattern has two views, a list view of header records, and a detail view where the focus is the lines.

Worksheet

Details master

This is a single-level data entry dataset, which is rarely used in Operations.

In this chapter, we will create types and tables for the common types of table, but we will complete the patterns when we cover the user interface in Chapter 3, Creating the User Interface.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.240.224