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. 移动端常用UI框架

    作为一个前端人员来说,总结几款相对来说不错的用于移动端开发的UI框架是非常必要的,以下几种移动端UI框架就能基本满足工作中开发需要,根据项目需求,选用合适的框架搭建项目,更能容易提高开发效率. 一.M ...

  2. python的str.format方法

    format方法被用于字符串的格式化输出. print('{0}+{1}={2}'.format(1,2,1+2)) #in 1+2=3 #out 可见字符串中大括号内的数字分别对应着format的几 ...

  3. stm32 HAL库笔记(零)

    最近在设计四旋翼飞行器,用stm32f407,有三种开发方式可以选择:一.寄存器开发.二:库函数开发.三:HAL库开发,考虑了一下,选择了HAL库,原因如下: 1. 寄存器开发相对较慢,寄存器很多,配 ...

  4. (转)flutter 新状态管理方案 Provide (一)-使用

    flutter 新状态管理方案 Provide (一)-使用     版权声明:本文为博主原创文章,基于CC4.0协议,首发于https://kikt.top ,同步发于csdn,转载必须注明出处! ...

  5. angular的符号

    1.括号 {{模板标签}}: 模板标签中的内容会被当作一个表达式展开. [传入名] = ”接收变量名“: 可以把一个值传入组件.输入. (事件名) = “处理函数()”: 响应事件.输出. #视图变量 ...

  6. Golang源码探索(三) GC的实现原理(转)

    Golang从1.5开始引入了三色GC, 经过多次改进, 当前的1.9版本的GC停顿时间已经可以做到极短.停顿时间的减少意味着"最大响应时间"的缩短, 这也让go更适合编写网络服务 ...

  7. docker使用flannel网络

    基础环境我们使用了两台centos 7系统 基础配置为: 两台机器IP为 172.17.3.10 172.17.3.62 hosts文件配置为 172.17.3.10 node1 172.17.3.6 ...

  8. centos7.4下的KVM虚拟机安装使用

    本来是用的vmware,不过后来想试下KVM,想着装个ZSTACK也行,结果zstack使用网络安装没搞明白,把物理机系统毁了,这下彻底完蛋了,只好还装个centos了,但是又不想用VMWARE就想起 ...

  9. Filter过滤器 不登陆无法访问其他页面

    package com.cscy.Filter; import java.io.IOException; import javax.servlet.Filter; import javax.servl ...

  10. java使用c3p0连接mysql,写中文数据乱码的问题

    此文说的乱码,是指所有中文的字符都变成了?. 首先,网上普遍搜索到的解决方案都是告诉你要在数据库连接字符串里面增加编码的定义,完整的连接字符串如下: url="jdbc:mysql://12 ...