- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
微软AX2009开发语言:X 培训.doc
Lesson 1: Development Environment 5
MorphX 5
The Editor 5
Editor Tool Bar 6
The Right-click Menu 6
Syntax 7
Jobs 7
Lesson 2: Communicating with users 9
The Print Command 9
Boxes 9
Box types 10
Communication tools 10
Infologs: 11
Dialogs: 13
Forms: 15
Lesson 3: Declaring variables 16
Variables 16
Declaration of variables 16
Data Types 16
Simple Declaration 17
String Declaration 18
Initialization 18
Relation between simple and extended data types 19
Composite Data Types 20
Containers 21
Lesson 4: Creating X++Constructs 22
Conditional statements 22
Operators 22
if and else 22
switch 23
Ternary operator 23
Loops 24
while 24
do-while 24
for 25
The continue and break commands 25
Functions 26
Lesson 5: Accessing the database 27
Searching for records in the database 27
The select command 27
The while select command 28
Table buffer 28
Sorting 29
Temporary indexes 29
Sorting 29
Order by 30
Ranging 30
Insert, Update, and Delete 30
Queries 31
Where do you write code? 32
Code written in different places 32
Lesson 7: Objects and classes 34
Objects 34
Classes 34
Translated to X++ language 34
Methods 34
Object methods/Dynamic methods 34
Class methods/Static methods 35
Using the Dialog class 35
Using the QueryRun class 36
Creating new classes 36
The Main method 37
Inheritance 38
Tables versus classes 38
Methods 39
Methods returning data 39
Lesson 8: Handling exceptions 40
What is exception handling? 40
Working with tts 40
Using the try and catch commands 41
Throwing exceptions 42
Exercises 43
Exercise 2: 43
Exercise 3: 43
Exercise 4: 44
Exercise 5 44
Exercise 6 45
Exercise 7 45
Exercise 8 46
Exercise 9 47
Exercise 10 47
Exercise 11 47
Exercise 12 48
Exercise 13 48
Exercise 14 48
Exercise 15 48
Exercise 16 49
Exercise 17 49
Exercise 18 49
Exercise 19 50
Exercise 20 50
Exercise 21 50
Exercise 22 51
Exercise 22 51
Exercise 23 51
Solutions 53
Lesson 1: Development Environment
MorphX
The development environment in Damgaard Axapta is called MorphX. MorphX is an Integrated Development Env
您可能关注的文档
最近下载
- XF 44-2015 消防头盔 XF 44-2015 消防头盔.pdf
- 2024-2025(最新版)人教版语文一年级上册第一单元教案(2024秋部编新教材).pdf VIP
- T∕CNFIA 135-2022 即食拌饭干制品.docx VIP
- 报关员的年终工作总结.pptx
- 小麦膜下滴灌丰产栽培技术规程(征求意见稿)编制说明.doc VIP
- T/CGCC 26-2018_食品用酒精保鲜剂.pdf VIP
- 工厂岗位职责说明书(岗位说明书).doc VIP
- 实验室危化品管理.pptx VIP
- 产品标识和可追溯性控制程序.docx VIP
- GB 50058-2014 爆炸危险环境电力装置设计规范(附条文说明).pdf VIP
文档评论(0)