标签:work tor ble rod span lct eai bsp ++
for (custInvoiceJourLocal = custInvoiceJour_ds.getFirst(true) ? custInvoiceJour_ds.getFirst(true) : custInvoiceJour; custInvoiceJourLocal; custInvoiceJourLocal = custInvoiceJour_ds.getNext()) { info(custInvoiceJourLocal.recid); } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// AifService service = element.args().record(); aifAction_DS.query().dataSourceTable(tablenum(AifAction)).addRange(fieldnum(AifAction,ClassId)).value(int2str(service.ClassId)); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// assetBookTable_ds.object(fieldnum(AssetBookTable, WorkingDays_IN)).visible(false); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if (element.args().dataset() != tablenum(BankCodaTrans)) { throw error("@SYS22996"); } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Init methods Query q = new Query(); QueryBuildDataSource qB; ; qB = q.addDataSource(tablenum(BOMCalcTable)); qB.addRange(fieldnum(BOMCalcTable,ItemId)).value(queryValue(bomDesignerBOMCalc.parmItemId())); this.query(q); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// this.query().dataSourceNo(1).addSortField(fieldnum(BOMCalcTable,PriceCalcId),SortOrder::Ascending); this.query().dataSourceTable(tablenum(ExciseRG23ARegister_IN)).addSelectionField(fieldnum(ExciseRG23ARegister_IN, rg23aRecoverable), SelectionField::Sum); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// custInvoiceJourLocal object fieldNameRef; ; fieldNumRef = tableName_ds.object(fieldNum(tableName,fieldName)); fieldNumRef.methodName(); THK_InventAFormLine.dataSource().reread(); THK_InventAFormLine.dataSource().refresh(); THK_InventAFormLine.dataSource().active(); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// multiselectionHelper _multiselectionHelper; THK_InventAFormLine inventAFormLine; ; _multiselectionHelper = multiselectionHelper::createFromCaller(element); for(inventAFormLine = _multiselectionHelper.getFirst(); inventAFormLine; inventAFormLine = _multiselectionHelper.getNext()) { tmpAFLineTable.clear(); tmpAFLineTable.THK_InventAFormId = inventAFormLine.THK_InventAFormId; tmpAFLineTable.LineNum = inventAFormLine.LineNum; tmpAFLineTable.insert(); } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// THK_ProdPMCInquiryDataUpdate_new THK_ProdPMCInquiryUpate = new THK_ProdPMCInquiryDataUpdate_new(); Queryrun localQueryrun; THK_PMCInquiryTable_Prod localPMCInquiryTable_Prod; ProdTable localProdTable; ; super(); //THK_ProdPMCInquiryUpate.refreshProdTable(THK_PMCInquiryTable_Prod_ds.queryRun().query()); localQueryrun = new SysQueryRun(THK_PMCInquiryTable_Prod_ds.queryRun().query()); while (localQueryrun.next()) { if (localQueryrun.changed(tableNum(THK_PMCInquiryTable_Prod))) { localPMCInquiryTable_Prod = localQueryrun.get(tableNum(THK_PMCInquiryTable_Prod)); //localProdTable = ProdTable::find(localPMCInquiryTable_Prod.ProdTable_ProdId); // <junwa> VAR-Modification on 23 四月 2013 at 11:06:58 by KTL junwa - Begin changecompany(localPMCInquiryTable_Prod.SourceDataAreaId) { localProdTable = ProdTable::find(localPMCInquiryTable_Prod.ProdTable_ProdId); THK_ProdPMCInquiryUpate.updateProdTable(localProdTable); } // </junwa> VAR-Modification on 23 四月 2013 at 11:06:58 by KTL junwa - End } } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// THK_PMCInquiryTable_Prod_ds.research(); THK_PMCInquiryTable_Prod_ds.refresh(); THK_PMCInquiryTable_Prod_ds.active(); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// formRun = element.args().caller(); for(intDsCount =1 ;intDsCount<= formRun.dataSourceCount();intDsCount++) { i++; if(formRun.dataSource(intDsCount).name() == tableStr(QuotLine)) { fdsSalesQuotationLine = formRun.dataSource(intDsCount); fdsSalesQuotationLine.executeQuery(); } }
标签:work tor ble rod span lct eai bsp ++
原文地址:http://www.cnblogs.com/zoao/p/6762259.html