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. ArcGIS API for JS 测量线长(各折线段)

    这里测量长度主要分为两个方面,一个是在绘制长折线段时,不仅需要显示总线段的长度,还要在各线段的中间显示各折线段的长度:另一个则是在绘制多边形时,不仅需要显示多边形的面积,还需要在各边的中间显示线段长. ...

  2. python web编程之网络基础

    1.TCP/IP协议 1)分层 应用层,传输层,网络层,接口层 2)Ip地址 3)域名 4)URL统一资源定位符 格式:    [协议]://[主机]:[端口]/[路径]?[参数] 协议是HTTP,F ...

  3. url跳转漏洞(1)

    转载 https://landgrey.me/open-redirect-bypass/ 0x00:漏洞场景 URL跳转漏洞的出现场景还是很杂的,出现漏洞的原因大概有以下5个: 1. 写代码时没有考虑 ...

  4. 开源小程序CMS网站, JeeWx-App-CMS 1.1 版本升级发布,持续更新!

    JeeWx-App-CMS开源小程序CMS网站,持续更新ing~ JeeWx-App-CMS 是jeewx开发的小程序网站开源项目,基于小程序wepy语言,具备cms网站的基本功能,能够打造简单易用的 ...

  5. html:布局class名和其他class名个人整理总结

    一:app 二:header 三:main 四:footer 1:中横杠:布局(main-top.main-left等) 2:下横杠:状态(item-active:选中等)

  6. web中ios移动端软键盘收起后,页面内容留白不下滑

    微信里面打开web页面,在ios软键盘收起时,页面键盘位置的内容留白,如下图 这个问题纠结了很久,然后请教了老大(威哥),看到页面老大给出的方案就是代码改变滚动条的位置. 这里就监听键盘收起的事件,来 ...

  7. 简易机器学习代码(LR,Kmeans,NN,RNN)

    Logistic Regression 特别需要注意的是 exp 和 log 的使用. sigmoid 原始表达式为 1 / (1+exp(-z)),但如果直接使用 z=-710,会显示 overfl ...

  8. 跑步“无核心,不PB”

    核心力量不管是在跑步中,还是在生活中都有着重要的作用,核心能让你的身体机能更加强劲. 1.什么是核心肌群? 核心肌群就是指我们所说的躯干,包括脊柱.骨盆.及周围肌群. 核心肌群由腹直肌.腹横肌.腹斜肌 ...

  9. 云笔记项目-MyBatis返回自增类型&堆栈对象补充理解

    在云笔记项目中,讲到了MySql的自增,MyBatis查询到自增类型数据后可以设置返回到参数属性,其中学习了MySql的自增写法,堆栈对象等知识. MySql数据类型自增 建立一张Person表,其中 ...

  10. step_by_step_Angularjs-UI-Grid使用简介

    了解 Angularjs UI-Grid 起因:项目需要一个可以固定列和表头的表格,因为表格要显示很多列,当水平滚动条拉至后边时可能无法看到前边的某些信息. 以前在angularjs 1.x 中一直都 ...