摘要: public static void lookupRate(FormStringControl _contrl, TNK_ToRisk_C _custAccount, TNK_LTSeiZhaCh_COCTR_C _costCenter, TNK_SB_C _itemId) { SysTableLo 阅读全文
posted @ 2019-06-09 12:19 学习是进步的阶梯 阅读(236) 评论(0) 推荐(0) 编辑
摘要: static void recordInsertList(Args _args) { /*The RecordInsertList class allows to insert multiple records in to database. new() - Creates a new object 阅读全文
posted @ 2019-06-09 12:16 学习是进步的阶梯 阅读(316) 评论(0) 推荐(0) 编辑
摘要: static qty availQty(ItemId itemId, InventLocationId locationId = "", wmsLocationid wmsLocationId = "", InventBatchId batchId = "", InventSerialId seri 阅读全文
posted @ 2019-06-09 12:13 学习是进步的阶梯 阅读(286) 评论(0) 推荐(0) 编辑
摘要: static void createTransferOrder(Args _args) { InventJournalTable journalTable; InventJournalTrans journalTrans; InventJournalTableData journalTableDat 阅读全文
posted @ 2019-06-09 12:12 学习是进步的阶梯 阅读(190) 评论(0) 推荐(0) 编辑
摘要: static void WL_YZF_CopyFromRecord2ToRecord(Common _fromRecord,Common _toRecord) { DictTable fromDicTable,toDicTable; DictField fromDictField; fieldId 阅读全文
posted @ 2019-06-09 12:10 学习是进步的阶梯 阅读(335) 评论(0) 推荐(0) 编辑
摘要: int ret, j, i; DictTable dictTable; DictField DictField; str curFieldName; ; dictTable = new DictTable(tableNum(yourTableName)); i = dictTable.fieldCn 阅读全文
posted @ 2019-06-09 12:07 学习是进步的阶梯 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 方法一,使用扩展类型 tableName。 方法二,使用函数 PickTable(),参考下面的job(可以直接运行)。 static void GetSelectedTable(Args _args) { tableid a; ; a = pickTable(); print 'Table ID 阅读全文
posted @ 2019-06-09 12:06 学习是进步的阶梯 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1、Use Dictionary static void findTables(Args _args) { Dictionary dictionary; TableId tableId; tableName tableName; ; dictionary = new Dictionary(); ta 阅读全文
posted @ 2019-06-09 12:04 学习是进步的阶梯 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1、先在form的声明的地方声明变量。 public class FormRun extends ObjectRun { QueryBuildRange criteriaPosted; } 2、数据源(datasource)对应的表的ini方法。 public void init() { super 阅读全文
posted @ 2019-06-09 11:09 学习是进步的阶梯 阅读(215) 评论(0) 推荐(0) 编辑
摘要: static void createForm(Args _args) { Args args; Form form; FormRun formRun; FormBuildDesign formBuildDesign; FormBuildDataSource formBuildDataSource; 阅读全文
posted @ 2019-06-09 11:07 学习是进步的阶梯 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 一、MultiSelectionHelper class MultiSelectionHelper selectionHelper; ProdTable localProdTable; FormRun fr; ; prodSet = new Set(Types::String); if (_args 阅读全文
posted @ 2019-06-09 11:04 学习是进步的阶梯 阅读(177) 评论(0) 推荐(0) 编辑
摘要: object caller = _args.caller();//element.args().caller() boolean isCallForm; ; // AX2009 isCallForm = SysDictClass::isEqualOrSuperclass(classidget(cal 阅读全文
posted @ 2019-06-09 10:55 学习是进步的阶梯 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 1、代码顶端备注 public void WLComments_insertHeader(Editor e) { str commentLine; ; e.unmark(); e.gotoLine(1); e.gotoCol(1); commentLine = strfmt("// <Var> by 阅读全文
posted @ 2019-06-09 10:54 学习是进步的阶梯 阅读(159) 评论(0) 推荐(0) 编辑
摘要: static void WL_YZF_WinApiColorSelect(Args _args) { container ret; binary binary; ; setPrefix("RGB"); ret = winAPI::chooseColor(infolog.hWnd(), 0,0,0, 阅读全文
posted @ 2019-06-09 10:52 学习是进步的阶梯 阅读(143) 评论(0) 推荐(0) 编辑
摘要: static void WL_YZF_WinApiFontSelect(Args _args) { container ret; ; setPrefix("字体,字体大小"); ret = winAPI::chooseFont(infolog.hWnd(), sysFontType::Printer 阅读全文
posted @ 2019-06-09 10:51 学习是进步的阶梯 阅读(112) 评论(0) 推荐(0) 编辑
摘要: static void WL_YZF_WinApiGetTmpPath(Args _args) { FileName filePath; ; info(Winapi::getTempPath()); //得到用户临时存放文件的默认文件夹 结果:C:\Users\zfyang\AppData\Loca 阅读全文
posted @ 2019-06-09 10:50 学习是进步的阶梯 阅读(242) 评论(0) 推荐(0) 编辑
摘要: As in my client’s environment accessing to internet is limited, and their DNS is not configured to further resolve the name to crl.microsoft.com, so w 阅读全文
posted @ 2019-06-09 10:39 学习是进步的阶梯 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 现把A环境应用程序部署到B 1. 停止A环境的AOS, 复制A环境C:\Program Files\Microsoft Dynamics AX\50\Application\Appl\[应用程序名称]下的axusr.aod、 Ax[标签]zh-hans.ald、Ax[标签]en-us.ald以及C: 阅读全文
posted @ 2019-06-09 10:37 学习是进步的阶梯 阅读(302) 评论(0) 推荐(0) 编辑
摘要: AX2012加载配置数据库后启动AOS报错: Object Server 01: Fatal SQL condition during login. Error message: "The internal time zone version number stored in the databas 阅读全文
posted @ 2019-06-09 10:36 学习是进步的阶梯 阅读(224) 评论(0) 推荐(0) 编辑