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. mount命令和自动挂载实例

    前言 介绍mount命令和一个实例. mount命令 作用 作用:挂载linux系统外的文件 命令格式 mount [-hV] mount -a [-fFnrsvw] [-t vfstype] mou ...

  2. C语言语法

    1.函数指针类型定义,然后指针结构体类型定义,最后的调用形式为aaa.bbb();(aaa为结构体变量)或者 aaa->bbb();(aaa为结构体指针),函数指针最好用结构体封装起来变成指针结 ...

  3. webpack 4.0配置2

    上个博客记录了webpack 的基本配置今天主要是css-loader的介绍,包括单独提出css,压缩css.js文件 这里使用的插件npm 地址:https://www.npmjs.com/pack ...

  4. flex-grow,flex-shrink,flex-basis及flex

    flex-grow:默认值0:分配剩余空间的扩张比例: flex-basis:默认值auto:倘若设置了此属性,那么计算剩余空间之前要优先减去此属性,且它的层级比width高,会将width覆盖. 有 ...

  5. 定点CORDIC算法求所有三角函数及向量模的原理分析、硬件实现(FPGA)

    一.CORDIC算法 CORDIC(Coordinate Rotation DIgital Computer)是一种通过迭代对多种数学函数求值的方法,它可以对三角函数.双曲函数和平面旋转问题进行求解. ...

  6. 远程过程调用(RPC)

    在第二篇教程中我们介绍了如何使用工作队列(work queue)在多个工作者(woker)中间分发耗时的任务. 可是如果我们需要将一个函数运行在远程计算机上并且等待从那儿获取结果时,该怎么办呢?这就是 ...

  7. oracle 按表数据新增一行

    在功能实现时,能尽量用一个sql语句直接实现业务逻辑的话,就不要去写C#代码,便于维护. 以下sql的逻辑是:给明细表新增一条数据,前提是传入的债券代码存在与债券表,否则不新增.此sql返回受影响行数 ...

  8. Oracle中number(5,-2)数据类型

    举个例子,1234.345 如果为number(5,-2),那么结果为 1200, 如果为number(5,2),那么结果为 1234.35 如果为number(5),那么结果为 1234 说明: N ...

  9. SUBMIT WITHOUT ALV

    data:seltab type table of rsparams, seltab_wa like line of seltab. define add_seltab. if &1 is n ...

  10. python入门day01

      一.编程和编程语言 电脑的基本原理: #计算机通过高低电流表示二进制数的1和0,所以计算机识别的是电压的高低,准确地说是用电压表示的各种数据,即数字信号;其他的物理量必须通过传感器等设备转换成数字 ...