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. R开发环境搭建

    1.准备集成开发环境(IDE) R语言在一个好的IDE工具上应用才能更好的发挥它的作用,目前使用的最多的R语言集成开发环境是R STUDIO,下载地址为:https://www.rstudio.com ...

  2. sqlserver2012 数据库差异备份恢复 记录

    sqlserver2012恢复过程: 先恢复全备份,再恢复差异,注意:勾选NoRecovery选项. 恢复完成后,出现: Sqlserver数据库 一直显示“正在还原…” 的状态. 引用:http:/ ...

  3. 使用 nodeJs 开发微信公众号(设置自动回复消息)

    微信向第三方服务器发送请求时会降 signature .timestamp. nonce . openid(用户标识),发送内容会以 xml 的形式附加在请求中 回复消息前提我们得拿到用户id , 用 ...

  4. Spring Security 理解小记

    JWT 框架图如下, 来自博客https://blog.csdn.net/shehun1/article/details/45394405 个人觉得还不错.. 在开发中Spring boot 启用 加 ...

  5. vChart

    vue+echarts工具:    https://v-charts.js.org

  6. 接口--Comparable接口【哈夫曼树】

    我们在字符串中见到过CompareTo方法,知道这个方法是用于比较字符串顺序的,根据字典顺序进行排序.Java中很多类也都有CompareTo方法,甚至于排序算法的底层组成也是依赖于比较的,而这个比较 ...

  7. elk报警监控之sentinl 钉钉+邮件告警

    注:我的elk sentinl版本都是6.5.1 前期知识 es的查询语法.es watcher使用方法. https://www.cnblogs.com/pilihaotian/p/5830754. ...

  8. 不用安装Oracle客户端

    1 pl/sql developer 1.1 下载解压instantclient-basic-nt-12.1.0.2.0. 1.2 在其目录下新建Network/ADMIN/tnsnames.ora文 ...

  9. .net core 2.2 修改IdentityUser主键标识类型

    .net core2.2,生成WebApi或者MVC项目后,Identity 1.增加ApplicationUser.cs文件,内容如下 public class ApplicationUser : ...

  10. Java框架spring 学习笔记(七):Spring相关概念

    Spring是开源.轻量级.一站式框架. Spring核心主要两部分 aop:面向切面编程,扩展功能不是修改源代码实现. ioc:控制反转,把对象的创建交给Spring进行配置,比如一个类,在类里面有 ...