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的更多相关文章
随机推荐
- 基础Gan代码解析
initializer总结: #f.constant_initializer(value) 将变量初始化为给定的常量,初始化一切所提供的值. #tf.random_normal_initializer ...
- 深度原理与框架-图像超分辨重构-tensorlayer
图像超分辨重构的原理,输入一张像素点少,像素较低的图像, 输出一张像素点多,像素较高的图像 而在作者的文章中,作者使用downsample_up, 使用imresize(img, []) 将图像的像素 ...
- activiti官网实例项目activiti-explorer实操详情
参考链接:https://www.xuchuruo.cn/Activiti-modeler%E6%95%B4%E5%90%88%E5%88%B0Spring.html 按照链接文章提示操作完成之后,启 ...
- 缓存:前端页面缓存、服务器缓存(依赖SQL)MVC3
缓存依赖数据库 第一步 1通过vs里面带的命令提示窗口. 2或者.NET Framework 版本 4(64 位系统)条件,%windir%\Microsoft.NET\Framework64\v4. ...
- [RUNOOB]C++继承
REF: http://www.runoob.com/cplusplus/cpp-inheritance.html 一.基类和派生类 程序: #include "stdafx.h" ...
- install virtual enviroment on windows
H:\>pip install virtualenv --install virtualenvCollecting virtualenv Downloading https://files.p ...
- vue中less文件全局引用
1.先安装sass-resources-loader npm install sass-resources-loader 2.然后在build->utils.js修改less配置 在less ...
- VirtualBox 休眠恢复后无法联网解决办法
环境:lubuntu 首先ifconfig查看网卡名,我这里是enp0s3. 接着: sudo ifconfig enp0s3 down sudo ifconfig enp0s3 up sudo dh ...
- selenium java 浏览器操作
环境搭建 selenium 2.53 selenium-java-2.53.0.jar selenium-java-2.53.0-srcs.jar 原代码包 拷贝的工程lib下,做build path ...
- sv函数中返回队列
如果想从函数中,返回队列或者动态数组,我们应该怎么做呢? 答案就是自己用typedef定义一个类型. typedef int queue_of_int[$]; function queue_of_in ...