随笔分类 -  X++

1 2 3 4 5 ··· 9 下一页
摘要:1、创建盈亏日记账 // Copyright (C), 2021, CEU Co., Ltd. // USR Changed by 2021-09-24T16:33:07 谢宇帆 // Version : 1.0 // Description : // Return : static void Lo 阅读全文
posted @ 2021-09-24 22:36 Fandy Xie 阅读(119) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-07-06 11:54 Fandy Xie 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-07-06 09:33 Fandy Xie 阅读(1) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-07-06 09:30 Fandy Xie 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-07-05 17:34 Fandy Xie 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-07-05 16:15 Fandy Xie 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-07-05 15:58 Fandy Xie 阅读(2) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2018-07-05 15:44 Fandy Xie 阅读(3) 评论(0) 推荐(0)
摘要:For simple user operation posting packing slip with purchase order. we added a function button onQuality Orders Form.// VAR Changed by Xie Yu Fan.Fandy 谢宇帆void YIP_PostPurchPackingSlip(){ PurchFormLetter_PackingSlip purchFormLetter; SysQueryRun chooseLinesQuery; PurchParmUp... 阅读全文
posted @ 2014-03-24 12:14 Fandy Xie 阅读(1888) 评论(0) 推荐(0)
摘要:// VAR Changed by Xie Yu Fan.Fandy 谢宇帆static void XIE_FindMenu(Args _args){ Dialog dlg = new Dialog("搜索菜单名称"); DialogField dlgName = dlg.addField(typeId(name)); name menuName; void findMenu(SysDictMenu _sysDictMenu, name _MenuName, str _path = "" ) { SysMenuEnum... 阅读全文
posted @ 2014-01-25 11:44 Fandy Xie 阅读(450) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。
posted @ 2013-12-08 11:37 Fandy Xie 阅读(67) 评论(1) 推荐(0)
摘要:findLastColumnint findLastColumn(SysExcelWorksheet _sysExcelWorksheet, boolean _data = true){ #Excel #define.Star('*') SysExcelRange sysExcelRange; int ret;; sysExcelRange = _data ? _sysExcelWorksheet.cells().range(#ExcelDataRange) : ... 阅读全文
posted @ 2013-12-07 14:41 Fandy Xie 阅读(2907) 评论(0) 推荐(0)
摘要:For set dynamic height for controls in reporton executeSection method:method 01 real maxHeight; str maxStrValue = this.maxStrControlName(); ReportStringControl maxStrControl = element.design().controlName("maxStrControlName");; maxHe... 阅读全文
posted @ 2013-10-09 12:03 Fandy Xie 阅读(1195) 评论(0) 推荐(0)
摘要:To refresh datasource args caller, you must add override method close on form like source code below :public void close(){ FormRun callerForm; ; callerForm = element.args().caller(); callerForm.dataSource().reread(); // callerForm.dataSource().refresh(); // -1 means... 阅读全文
posted @ 2013-10-07 17:10 Fandy Xie 阅读(1701) 评论(0) 推荐(0)
摘要:To get financial dimension value from worker position, add a new method inhcmWorkerTable with script like below:public static str getDimensionValue (HcmWorkerRecId _workerRecId, Name _DimensionName, utcdatetime _asOfDate = DateTimeUtil::utcNow()){ DimensionAttribute... 阅读全文
posted @ 2013-10-07 17:02 Fandy Xie 阅读(1013) 评论(0) 推荐(0)
摘要:1. Add a new method inhcmWorkertable, and add this script :public static client void lookupWorkerByLegalEntity(FormStringControl _lookupctrl, Int64 _LegalEntity){ SysTableLookup sysTableLookup; Query query = new Query(); QueryBuildDataSource qu... 阅读全文
posted @ 2013-10-07 16:55 Fandy Xie 阅读(989) 评论(0) 推荐(0)
摘要:static void THK_importLedgerJournalTrans(Args _args){ Filename fileName = "C:\\Users\\ksiu3880\\Desktop\\GL Journal test.xlsx"; LedgerJournalId ledgerJournalId = "000425_010"; Name nameDimensionAttribute1 = "Department"... 阅读全文
posted @ 2013-09-27 22:09 Fandy Xie 阅读(2091) 评论(0) 推荐(0)
摘要:static void FAN_GLImport(Args _args){ AxLedgerJournalTable header = new AxLedgerJournalTable(); AxLedgerJournalTrans trans = new AxLedgerJournalTrans(); container ledgerDim, offsetDim; LedgerJournalNameId ledgerJournalNameId = "GeneralJR"; Dimen... 阅读全文
posted @ 2013-09-27 14:47 Fandy Xie 阅读(1196) 评论(0) 推荐(0)
摘要:Today I want to talk about executing SQL statements in X++ on both the currentAX database and external databases. This is something probably every AX developer will have to do at some point.You’ll want to do this for many reasons; to execute stored procedures, to improve performance, to get data fro 阅读全文
posted @ 2013-09-26 15:35 Fandy Xie 阅读(2156) 评论(0) 推荐(0)
摘要:Common requirement is to show the reports in customer’s language.[example : Quotations, sales confirmations, invoices, Free text invoices, Return order acknowledgements , Agreements, Purchase order confirmations etc].This was easily achievable in Dynamics AX 2009 reports by usingelement.design().lan 阅读全文
posted @ 2013-08-07 16:12 Fandy Xie 阅读(503) 评论(0) 推荐(0)

1 2 3 4 5 ··· 9 下一页