AX_DataSource
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的更多相关文章
随机推荐
- [python爬虫] Selenium常见元素定位方法和操作的学习介绍
这篇文章主要Selenium+Python自动测试或爬虫中的常见定位方法.鼠标操作.键盘操作介绍,希望该篇基础性文章对你有所帮助,如果有错误或不足之处,请海涵~同时CSDN总是屏蔽这篇文章,再加上最近 ...
- ArcGIS API for JS 测量线长(各折线段)
这里测量长度主要分为两个方面,一个是在绘制长折线段时,不仅需要显示总线段的长度,还要在各线段的中间显示各折线段的长度:另一个则是在绘制多边形时,不仅需要显示多边形的面积,还需要在各边的中间显示线段长. ...
- python算法之插入排序
插入排序非常类似于整扑克牌.在开始摸牌时,左手是空的,牌面朝下放在桌上.接着,一次从桌上摸起一张牌,并将它插入到左手一把牌中的正确位置上.为了找到这张牌的正确位置,要将它与手中已有的牌从右到左地进行比 ...
- 10Linux_firewalld-Linux就该这么学
firewalld: runtime:当前生效,重启后失效(默认) permanent:当前不生效,重启后永久生效. A:重启,B:执行firewall-cmd --reload 数据链路层:ipta ...
- mysql 定时计划任务 wish 按照id分组定时循环启动
SELECT count(*) FROM wish_sellers_in;UPDATE wish_sellers_in SET act_status =0 WHERE id >=1 AND ...
- cmake安装
下载之后 1.解压 root@zsh-linux:/opt#tar -zxvf cmake-2.8.4.tar.gz 2.然后 cd 到cmake-2.8.4目录下 安装 root@zsh-lin ...
- vue组件is属性详解
查看官网对is属性的讲解,请移步:vue.js 本文参考资料 在vue.js组件教程的一开始提及到了is特性 下面是官网对is属性使用的说明: 组件功能是vue项目的一大特色.组件可以扩展html元素 ...
- 模仿input闪烁光标
模仿闪烁的光标 <span class="cursor-blink"> </span> 样式代码: .cursor-blink { display: inl ...
- mac 下直接给docker容器加映射 mysql 为例
如果你是下面这种情况,本文可能回给你一些帮助 os是Mac,docker中已有mysql容器,并且已经有数据,但是没有设置映射,想要从主机连接docker 中的mysql,以便更好的查看,增加,删除数 ...
- django的内置分页
本节内容 自定义一个简单的内置分页 Django内置分页 Django内置分页扩展(继承) 自定义内置组件 自定义一个简单的内置分页 先用django自己自定制一个简单的内置分页,大概掌握内置分页的底 ...