lingdanglfw(DAX)

导航

2011年7月16日

call webservice

摘要: 1. install soapsdk2. write a webservice for test public string Add(string ssLeft, string ssRight){return ssLeft + " and " + ssRight;}3. call in ax URL url; xml xml; COM WSCOM; ; new InteropPermission(InteropKind::ComInterop).assert(); WSCOM = new COM("MSSOAP.SOAPClient30"); url = 阅读全文

posted @ 2011-07-16 02:12 lingdanglfw 阅读(180) 评论(0) 推荐(0)

2011年7月12日

enterprise portal

摘要: 1、微软两个补丁必须安装。2、全语言包license。3、日期期间,若为2011年后要调整,表方法pupolate。4、cue在过滤条件里面5、报表要加sharelibrary,deploy后确认名字。 阅读全文

posted @ 2011-07-12 22:40 lingdanglfw 阅读(240) 评论(0) 推荐(0)

2011年4月2日

run on server ,run on call from ,run on client

摘要: run on server ,run on call from ,run on client在类的配置上要慎重,在参数传递的时候,类如果是在窗体里面实例化,那个参数多数在客户端内存,如果调用到server端的类,有可能参数传递不过去LedgerBalanceSheetDimPrint(中国式财务报表)就存在这个问题,未记账勾选之后,在AX4.0上是运行在server端,就没有问题,在AX5.0改成了call from,这个选项就没有用了(不起作用),改回server端就可以了。另外类似map,list,set等ax的数据结构也存在类似的问题。在这里做个备注。 阅读全文

posted @ 2011-04-02 11:28 lingdanglfw 阅读(205) 评论(0) 推荐(0)

2011年3月7日

AX Call StoreProcedure

摘要: 调用存储过程的类要run on server否则有时候调不起来函数也要加server关键字改过存储过程要重启客户端 阅读全文

posted @ 2011-03-07 14:18 lingdanglfw 阅读(170) 评论(0) 推荐(0)

2011年2月28日

ax2009 + sql2008

摘要: Dynamics AX 2009 SP1 Reports Deployment Issue on SQL Server 2008One of our clients tried to install SQL Server 2008 Reporting Services with Microsoft Dynamics AX 2009 Reporting Extensions on a 64-Bit Windows Server 2008 system. But they have got some error messages during the AX reporting extensions 阅读全文

posted @ 2011-02-28 14:11 lingdanglfw 阅读(257) 评论(0) 推荐(0)

2011年2月24日

get record count of form datasource

摘要: modified class : SysQuerypublic client server static Integer countTotal(QueryRun _queryRun,int num = 1)//add datasource num{ container c = SysQuery::countPrim(_queryRun.pack(false),num); return conpeek(c,1);}private server static container countPrim(container _queryPack,int num = 1)//add datasource 阅读全文

posted @ 2011-02-24 11:36 lingdanglfw 阅读(306) 评论(0) 推荐(0)

2010年6月12日

Run server /Run Client /Run Call From

摘要: public void calculateRowsCalcList( Map _rowsCalcExpressionList, Map _ledgerBalColList, container _rowList, container _rowListIdx ){ MapIterator ledgerBalColListIterator; LedgerBalColumnsDim ledgerBalC... 阅读全文

posted @ 2010-06-12 16:07 lingdanglfw 阅读(452) 评论(0) 推荐(0)

2009年7月28日

在QueryRange里面慎用strfmt拼出来的条件

摘要: gStartAmount = -40000; gEndAmount = -1;使用下面的语句 gStrAmountRangeCredit = strfmt("%1..%2",gStartAmount,gEndAmount); gStrAmountRangeDebit = strfmt("%1..%2",-1*gEndAmount,-1*gStartAmount); Qbds.addRange(fi... 阅读全文

posted @ 2009-07-28 19:20 lingdanglfw 阅读(359) 评论(1) 推荐(0)

2009年7月3日

ItemID lookup

摘要: 一般lookup是建立在扩展数据类型上的,使用Formhelp配窗体或者表上的AutoLookup组,但是InventTable中的ItemID的lookup很特别,是基于Index的。 阅读全文

posted @ 2009-07-03 12:22 lingdanglfw 阅读(160) 评论(0) 推荐(0)

2009年2月10日

Form中对象的引用

摘要: •Form中对象的引用 Object Access from X++ FormRun ... 阅读全文

posted @ 2009-02-10 17:10 lingdanglfw 阅读(218) 评论(0) 推荐(0)