for (custInvoiceJourLocal = custInvoiceJour_ds.getFirst(true) ? custInvoiceJour_ds.getFirst(true) : custInvoiceJour; 
     custInvoiceJourLocal; 
     custInvoiceJourLocal = custInvoiceJour_ds.getNext()) 

    info(custInvoiceJourLocal.recid); 
custInvoiceJourLocal.reread();  

custInvoiceJour_ds.reread();
custInvoiceJour_ds.refresh(); /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
 
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().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 = ;intDsCount<= formRun.dataSourceCount();intDsCount++) 

    i++; 
    if(formRun.dataSource(intDsCount).name() == tableStr(QuotLine)) 
    { 
        fdsSalesQuotationLine = formRun.dataSource(intDsCount); 
        fdsSalesQuotationLine.executeQuery(); 
    } 
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

AX_DataSource的更多相关文章

随机推荐

  1. SSM的搭建

    1.首先是工具的准备. eclipse jdk1.7 maven 3.5.4 tomcat 8.5 2.工具环境的搭建 首先,new建立选择maven project工程,勾选simple proje ...

  2. 深入理解Java虚拟机读书笔记6----早期(编译期)优化

    六 早期(编译期)优化   1 “编译期”的含义     · 可能是指一个前端编译器把*.java文件转变成*.class文件的过程,前端编译器如:Sun的Javac.Eclipse JDT中的增量式 ...

  3. win10基础上安装linux系统,添加双系统启动项

    1. 本机安装Centos7mini(注意点:进入安装界面先修改下面的内容,修改为U盘名称) 2. 配置文件/boot/grub2/grub.cfg,完成双系统启动设置. 3. 配置ip地址 nmcl ...

  4. PHP SoapClient 调用与鉴权,以及对Java和C# 的webservice的兼容处理

    SoapClient使用注意事项: 第一要加上 cache_wsdl参数,以防服务器调用的是缓存的wsdl文件 然后是参数传递,如果是使用PHP自己写的WebService,参数传递按正常方式即可 1 ...

  5. RocketMQ入门(生产者)_2

    从 RocketMQ环境搭建_1 我们已经建立了MQ的Server,接下来就是简单的生产和消费的过程. 1. rocketMQ的源码中有个示例代码example  ,我们从Apache官网中可以下载源 ...

  6. Android 7.0 通过FileProvider共享文件

    一.概述 Android 7.0后,提供了很多新特性,其中最主要的是禁止了通过file://URI直接在文件操作共享文件(该操作会触发FileUriExposedException),而是通过cont ...

  7. Pycharm--flake8的配置使用

    前言:Flake8 是由Python官方发布的一款辅助检测Python代码是否规范的工具.Flake8检查规则灵活,支持集成额外插件,扩展性强. 一.安装flake8 进入虚拟环境: pip inst ...

  8. 区间修改区间求和cdq分治

    https://www.luogu.org/problemnew/show/P3372 #include<bits/stdc++.h> #define fi first #define s ...

  9. []、()、None的区别

    def product(*numbers): if numbers == (): raise TypeError for x in numbers: if not isinstance (x, (in ...

  10. jmeter入门案例(二)

    jmeter入门简介(一)下载及元件介绍https://www.cnblogs.com/wish5714/p/9714930.html jmeter典型的http请求示例 业务场景 银行卡收单交易,模 ...