Presentation is loading. Please wait.

Presentation is loading. Please wait.

Presented by Vishy Grandhi. Lesson 1: Data dictionary elements Lesson 2: Tables Lesson 3: Demo Create a new table with all the elements Manage the data.

Similar presentations


Presentation on theme: "Presented by Vishy Grandhi. Lesson 1: Data dictionary elements Lesson 2: Tables Lesson 3: Demo Create a new table with all the elements Manage the data."— Presentation transcript:

1 Presented by Vishy Grandhi

2 Lesson 1: Data dictionary elements Lesson 2: Tables Lesson 3: Demo Create a new table with all the elements Manage the data in the form

3 At the end of this lesson you will have an understanding about What is Data dictionary Elements/Objects Common shortcuts EDTs in detail

4 Data Dictionary The root node where all the core database objects are stored

5 Elements/Objects Tables Maps Views EDTs, Base Enums Configuration Keys License keys Security Keys Table Collections

6 Ctrl + 0 – Opens a form, table etc. Ctrl + D – New AOT window Alt + Enter – Properties Ctrl + Shift + S – Save all modified objects Ctrl + Shift + I – Launch the import project window F7 – Compile

7 Extended data types are basically new fields created based on existing primitive types Following is a list of primitive types String, Integer, Real, Int64, Boolean Date, Time, UTCDateTime Enum Container GUID

8 We have understood what is Data dictionary We discussed the elements under this node We also looked at some of the commonly used short cuts

9 At the end of this lesson you will have an understanding about What are tables What are the different elements of tables Some core tables

10 Similar in nature to SQL tables with some differences Tables can have methods We can define relations, indexes

11 Following are the important elements of tables Fields Field Groups Indexes Full-text indexes Relations Methods Delete Actions

12 CustTable VendTable HcmWorker LedgerTable InventTable PurchTable SalesTable

13 We looked at the different elements of tables and what are some of their nuances What are some of the important properties of a table Also we looked at some of the core tables

14 Create 2 new tables and link them up Create a form to edit the data in these tables

15 Create any one of the following tables Create a form to edit the data in the table that you created. Species SpeciesId Name Birds BirdId SpeciesId Name Mammals MammalId SpeciesId Name Fishes FishId SpeciesId Name Reptiles ReptileId SpeciesId Name Amphibians AmphibianId SpeciesId Name

16 The following recipes are included in this presentation 2a. Create a new table 2b. Create and set a primary key on your table

17 1. Start 2. We are going to create a table called SpeciesTable with 3 fields SpeciesId, Name, Description 3. Open Microsoft Dynamics AX client 4. Open Microsoft Dynamics AX development workspace (Ctrl + Shift + W) 5. The fields of a table are usually based on EDTs, so we need to create the 3 EDTs (or at least locate the EDTs that we can use) 6. Columns that are based on EDTs will inherit the EDTs label and the table could inherit EDTs relation 7. Right-click on AOT->Data Dictionary- >Extended Data Types and select New- >Sring 8. Rename the EDT to SpeciesId and set the Caption property to Species Id 9. We will reuse existing EDTs for Name and Description 10. Right-Click on AOT->Data Dictionary- >Tables and select New Table menu 11. Rename your table SpeciesTable 12. Set the Label property to Species 13. Right-click the SpeciesTable node and select Open New Window 14. Drag the 3 EDTs one by one to the Fields node under the table SpeciesTable 15. Drag all the 3 fields to the node SpeciesTable->Field Groups- >AutoReport 16. The idea is that every field should belong to at least one field group 17. Finish

18 1. Start 2. We are going to set the field SpeciesId as a primary key on our table SpeciesTable 3. Open Microsoft Dynamics AX client 4. Open Microsoft Dynamics AX development workspace (Ctrl + Shift + W) 5. Right-click on the node SpeciesTable- >Indexes and select New Index 6. Rename the Index to SpeciesIdx 7. Drag the field SpeciesId on top of the Index SpeciesIdx 8. Select the node SpeciesIdx and set the property AllowDuplicates to No and AlternateKey to Yes and save your changes 9. We now need to set this Index as the primary key on the table, so select the table SpeciesTable 10. Set the property PrimaryIndex to SpeciesIdx 11. Finish

19 We have looked at the Data dictionary We explored the elements of a table Finally a demo on creating tables and managing the data


Download ppt "Presented by Vishy Grandhi. Lesson 1: Data dictionary elements Lesson 2: Tables Lesson 3: Demo Create a new table with all the elements Manage the data."

Similar presentations


Ads by Google