最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

How to: Create a New Table

网络文摘 William 1355浏览 0评论
Use the following step procedure to create a new table that will store the records for the BookType. There are two fields on the table called BookTypeID (type AJ_EDTBookTypeID), and Name (type Name).
To understand the example scenario – Go here

1. Open a new development workspace.
2. In the AOT, expand the Data Dictionary node.
3. Right-click the Tables node and select New Table. A new Table called Table1 is created.
4. Right-click Table1 and select Properties.
5. Modify the property Name to AJ_BookTypeTable
6. Modify the property Label to “Types of Books”
7. Close the property sheet.
8. Press Ctrl-D to open another AOT. Ensure window is not maximized by clicking the restore down button to enable you to view both AOT windows.
9. Expand the Data Dictionary node.
10. Expand the Extended Data Types node.
11. Locate the AJ_EDTBookTypeID EDT.
12. Drag the AJ_EDTBookTypeID EDT to the Fields node of the AJ_BookTypeTable table. A new field called AJ_EDTBookTypeID is created.
13. Right-click the AJ_EDTBookTypeID field and click Properties.
14. Note that the Extended Data type for this field is set to AJ_EDTBookTypeID
15. In the Name property, set the name of the field to AJ_BookTypeID
16. Close the property sheet.
17. Locate the Name EDT in the second AOT.
18. Drag the Name EDT to the Fields node of the AJ_BookTypeTable table. A new field called Name is created.
19. Save your changes to the table. When changes to a table are saved, Microsoft Dynamics AX automatically synchronizes the changes made within its Data Dictionary with SQL: this ensures that the definitions for the tables remain consistent at all times.
 

转载请注明:ww12345678 的部落格 | AX Helper » How to: Create a New Table

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址