zoaoo

博客园 首页 新随笔 联系 订阅 管理

2017年4月25日 #

摘要: sysTableBrowser sysTableBrowser = new sysTableBrowser(); ; sysTableBrowser.setAllowEdit(true); sysTableBrowser.setAllowDelete(true); sysTableBrowser.Run(tableName2Id("InventTable")); 阅读全文
posted @ 2017-04-25 15:17 zoaoo 阅读(96) 评论(0) 推荐(0) 编辑

摘要: Session xSession = new xSession(); ; xSession.userId(); 阅读全文
posted @ 2017-04-25 15:16 zoaoo 阅读(115) 评论(0) 推荐(0) 编辑

摘要: UnitConvert::qty(_deliverNow, salesLine.SalesUnit, salesLine.inventTable().inventUnitId(), salesLine.ItemId); 阅读全文
posted @ 2017-04-25 15:16 zoaoo 阅读(99) 评论(0) 推荐(0) 编辑

摘要: static void example(Args _args) { SysQueryRun queryRun = new SysQueryRun(querystr(KTL_SalesData)); InventTable inventTable; ; if(queryRun.prompt()) { while ... 阅读全文
posted @ 2017-04-25 15:14 zoaoo 阅读(151) 评论(0) 推荐(0) 编辑

摘要: for (custInvoiceJourLocal = custInvoiceJour_ds.getFirst(true) ? custInvoiceJour_ds.getFirst(true) : custInvoiceJour; custInvoiceJourLocal; custInvoiceJourLocal = custInvoiceJour_ds.getNex... 阅读全文
posted @ 2017-04-25 15:14 zoaoo 阅读(339) 评论(0) 推荐(0) 编辑

摘要: static void Job649(Args _args) { ItemId ItemId = "000XA00612R1"; InventDimId InventDimId = "K00811600"; InventQty qty ... 阅读全文
posted @ 2017-04-25 15:13 zoaoo 阅读(174) 评论(0) 推荐(0) 编辑

摘要: HelpGenerator helpGenerator; ; helpGenerator = infolog.helpGenerator(); helpGenerator.showURL("ApplDoc://Forms/ChangeRouteTable"); 阅读全文
posted @ 2017-04-25 15:12 zoaoo 阅读(118) 评论(0) 推荐(0) 编辑

摘要: UserInfoHelp::userInUserGroup(curuserid(), "Admin") EmplTable::userId2EmplId(curuserid()); EmplTable::EmplId2Name(EmplId); System.Environment::get_UserName() WinAPI::getUserName() 阅读全文
posted @ 2017-04-25 15:12 zoaoo 阅读(109) 评论(0) 推荐(0) 编辑

摘要: Dialog dialog = new Dialog("@SYS1052"); DialogField dialogFileName; ; dialogFileName = dialog.addField(typeid(FilenameOpen),"@SYS16423"); if (dialog.run()) ... 阅读全文
posted @ 2017-04-25 15:11 zoaoo 阅读(286) 评论(0) 推荐(0) 编辑

摘要: void KTL_CPeng_ImportCustStamp() { str file; FileNameFilter filter = ["@SYS57521",'*.xlsx', "@SYS101541",'*.xls']; COMVariant COMVariant1; SysExcelA... 阅读全文
posted @ 2017-04-25 15:10 zoaoo 阅读(185) 评论(0) 推荐(0) 编辑

摘要: List list = new List(Types::Class); CustTable custTable; while select custTable { list.addEnd(Tutorial_Comparable::newCustTable(custTable)); } return list; List li... 阅读全文
posted @ 2017-04-25 15:09 zoaoo 阅读(164) 评论(0) 推荐(0) 编辑

摘要: Currency::curAmount(9.23,"HKD"); Currency::curAmount2CurAmount(9.23,"RMB","HKD",systemdateget()); Currency::mstAmount(9.23,"RMB"); Currency::exchRate("HKD"); Companyinfo::standardCurrency(); 阅读全文
posted @ 2017-04-25 15:05 zoaoo 阅读(172) 评论(0) 推荐(0) 编辑

摘要: formrun.owner().GetItemId() if (fr.name() == formstr(inventTransEditDimensions) || fr.name() == formstr(inventTrans)) callerForm.doFindRecord(); else callerForm.doResearch(); QBDSInve... 阅读全文
posted @ 2017-04-25 15:04 zoaoo 阅读(437) 评论(0) 推荐(0) 编辑

摘要: static void Job1(Args _args) { ; info(InventDim::find("D00000001").preFix()); } public void write() { super(); inventDim.data(InventDim::find(KTL_MaterialDetect.InventDimId))... 阅读全文
posted @ 2017-04-25 15:00 zoaoo 阅读(163) 评论(0) 推荐(0) 编辑

摘要: static void KTL_DBSynchronize(Args _args) { Dictionary dict; int idx, lastIdx, totalTables; TableId tableId; Application application; SysOperationProgress progress; Sta... 阅读全文
posted @ 2017-04-25 14:13 zoaoo 阅读(166) 评论(0) 推荐(0) 编辑

摘要: NumberSeq::newGetNum(NumberSeqReference::findReference(typeId2ExtendedTypeId(typeid(InventTransId)))).num(); NumberSeq::newGetNum(CompanyInfo::numRefParmId()).num(); NumberSeq::newGetNum(Invent... 阅读全文
posted @ 2017-04-25 14:11 zoaoo 阅读(189) 评论(0) 推荐(0) 编辑