会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
每天进步一点
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
13
14
15
16
17
18
19
20
21
22
下一页
2011年10月24日
循环获取Query中的查询条件,过滤条件
摘要: void getSearchingCriteria(Query _q) { int i,j,curFieldID; str curPname ; str curRangeValue; ; for (i=1; i<= _q.dataSourceCount(); i++) { for (j=1...
阅读全文
posted @ 2011-10-24 11:39 perock
阅读(507)
评论(0)
推荐(0)
2011年10月11日
用X++读取文本文件(txt文件)的例子
摘要: 用X++读取文本文件(txt文件)的例子,完整Job演示 static void Job1(Args _args) { Asciiio Txtfile; Container c; ; Txtfile = new Asciiio('d:\\itemMaster.txt','r'); Txtfile.inFieldDelimi...
阅读全文
posted @ 2011-10-11 08:35 perock
阅读(344)
评论(0)
推荐(0)
2011年10月10日
关于代码操作AOT
摘要: #AOT ; infolog.findNode("Data Dictionary\\Base Enums").AOTadd("PrintMedium"); infolog.findNode("Data Dictionary\\Base Enums\\PrintMedium").AOTadd("File"); infolog.findNode(...
阅读全文
posted @ 2011-10-10 12:11 perock
阅读(398)
评论(0)
推荐(0)
获取AOT对象的属性值(StringSize)
摘要: /* * -------------------------------------------- * 获取AOT对象的属性值(StringSize) * by hank[2011-02-21] * -------------------------------------------- */ static void getProperties(Args _arg...
阅读全文
posted @ 2011-10-10 12:10 perock
阅读(271)
评论(0)
推荐(0)
找出整个AX系统使用某个扩展类型的所有表和字段
摘要: 1,运行下列的job即可。 2,本例子是以扩展类型itemID为例说明的,可以修改为任何扩展类型。 完整job演示: static void ListFields(Args _args) { int curFieldNum =extendedTypeNum('ITEMID'); str 100 curFi...
阅读全文
posted @ 2011-10-10 12:09 perock
阅读(333)
评论(0)
推荐(0)
检查所有表Relations是否为unknown
摘要: static void CheckAllTable(Args _args) { Dictionary dictionary = new Dictionary(); DictTable dictTable; int i,m,n;...
阅读全文
posted @ 2011-10-10 11:49 perock
阅读(163)
评论(0)
推荐(0)
2011年10月7日
strSplit分隔文本以container返回
摘要: public container strSplit(str _stringToSplit, str _delimiters) { container c; int oldPos = 1; int pos; int strLength = strlen(_stringToSplit); do { ...
阅读全文
posted @ 2011-10-07 12:19 perock
阅读(273)
评论(0)
推荐(0)
2011年9月23日
获取StringEdit中每行的值
摘要: For (I=0;I<edtProdId.getLineCount();I++) { if(strlen(edtProdID.getLine(I)) == 0) Continue; ACT_tmpProductionWIPMaterial.ProdId = edtProdID.getLine(I); }
阅读全文
posted @ 2011-09-23 16:13 perock
阅读(323)
评论(0)
推荐(0)
2011年9月20日
join,group by,sum,多表联接汇总,复杂的Join语句
摘要: whileselect ItemId,sum(Qty), sum(QtySec), WrkCtrID, InventSizeId, ConfigId, InventcolorId, UnitId, UnitIdSec from _NJ_WIP GroupBy ItemId ,WrkCtrID, In...
阅读全文
posted @ 2011-09-20 11:35 perock
阅读(750)
评论(0)
推荐(0)
Query,QueryRun, Group By,多表联接汇总
摘要: void runWrkCtr() { NJ_WIP _NJ_WIP; ACT_tmpProductionWIPMaterial _tmpWIP; Int I, ctr = 0; ProdTable _ProdTable; str tmps...
阅读全文
posted @ 2011-09-20 11:26 perock
阅读(530)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
22
下一页
公告