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的更多相关文章
随机推荐
- Rsync备份功能总结
备份服务笔记====================================================================== Rsync是一款开源的.快速的.多功能的.可实 ...
- MySQL创建数据库时指定编码utf8mb4和添加用户
CREATE DATABASE `wordpress` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; CREATE DATABASE `wor ...
- Url的拦截问题
如果 在中没有, 就会去找欢迎页,先找/index,jsp,在webapp里并没有,就继续往下找/index.html, 是图中的拦截形式,就会被servlet拦截,对应于controller中的请求 ...
- Spring的回滚问题
再说下声明式事务和注解事务回滚的原理:当被切面切中或者是加了注解的方法中抛出了RuntimeException异常时,Spring会进行事务回滚.默认情况下是捕获到方法的RuntimeExceptio ...
- python_14 多态,封装
多态: 由不同的类实例化得到的对象,调用同一个方法,执行的逻辑不同. 多态的概念指出了对象如何通过他们的共同的属性和动作来操作及访问,而不需考虑他们的类. class H2O: def __init_ ...
- tomcat Server启动带profile文件
一般mvn如果配置有环境,直接在tomcat server中无法直接启动,需要在vm或者tomcat启动中添加profile启动. pom.xml中添加: 在<profile>中添加默认p ...
- 鱼骨时间轴案例(转自CSDN,原文链接附于文中)
$.fn.fishBone = function(data) { var colors = ['#F89782','#1A84CE']; /**入口*/ //1.创建dom $(this).child ...
- css第四天
四丶 补充:CSS Display(显示) 与 Visibility(可见性) display属性设置一个元素应如何显示,visibility属性指定一个元素应可见还是隐藏. 隐藏元素 - displ ...
- PHP拦截器之__set()与__get()的理解与使用方法
“一般来说,总是把类的属性定义为private,这更符合现实的逻辑. 但是,对属性的读取和赋值操作是非常频繁的,因此在PHP5中,预定义了两个函数“__get()”和“__set()”来获取和赋值 ...
- 了解一下SQL映射文件
1:SQL映射文件 MyBatis真正强大之处就在于SQL映射语句,相对于强大的功能,SQL映射文件的配置非常简单,与JDBC相比减少了50%的代码.下面是关于SQL映射文件的几个顶级元素配置 map ...