File Server:
ax: .aod x++ src
ald: Ax Label Data : label file
aoi: index - dynamically loaded (when ax run)
aol: Application Object Layer
Enterprise Portal - EP: B/S
use Business Connector with AOS, while AX rich client directly
AIF: Ax Intergration Framwork
Muitlple AOS: clientConfig->Connection, choose a switch(aos)
layer: sys gls dis los(new in ax 4.0, LOcal System) bus var cus usr
in clientConfig->Developer, choose it. (name end with p is patch)
// x++
boolean is not keyword, example:
int boolean = 100; print boolean; pause;=> 100
boolean b1=100; boolean b2 = false; boolean b3=3.14;
print b1; print b2; print b3; => true false true
date & time:
timeofday t; t=89999; // range:[0,89999]
str s=time2str(t,1,1);print s;=>24:59:59
// Form
what code-in-x++
FormRun Element
FormDataSource CustTable_DS
current recor CustTable
FormDataObject FormDataSource.Object(
FormDesign FormRun.Design()
Form***Control
Query CustTable_Q / FormDataSource.Query()
QueryRun CustTable_QR / FormDataSource.QueryRun()
Form Method: init(), run(), close(), canClose()
FormDataSource Method: init(), initValue()//inti record
// Element & this
Element is used in form (FormRun) and Report(ReportRun)
// db connect
FormDataSource has:
Join:...
Dynamically: Active, delay...
see Property->JoinSource, LinkType, ...
// Lookup form
1. control type: bound, unbound, calculated
calculated, use Display or Edit.
method specified in Property->DataMethod
method itself in Table/Form
method return type should add "display" or "edit"
sample: SalesTable_SalesType
没有评论:
发表评论