gpt4 book ai didi

axapta - 斧头 2009 : TaxReporting report make AOS crash

转载 作者:行者123 更新时间:2023-12-02 02:14:47 25 4
gpt4 key购买 nike

TaxReporting报表中,有一个方法叫做printUndeclaredTaxPeriods,代码如下:

/// <summary>
/// This method will retrieve if there are any transactions that happened outside
/// the date range specified for the report.
/// </summary>
void printUndeclaredTaxPeriods()
{

TaxReportPeriod taxReportPeriod;
TaxTrans taxTrans_local;
;

while select taxReportPeriod
where taxReportPeriod.FromDate < fromDate
exists join taxTrans_local
where taxTrans_local.TransDate >= taxReportPeriod.FromDate
&& taxTrans_local.TransDate <= taxReportPeriod.ToDate
&& taxTrans_local.TaxPeriod == taxReportPeriod.TaxPeriod
&& taxTrans_local.TaxRepCounter == taxReportPeriod.VersionNum
{
//element.send(taxReportPeriod);
}
}

每次运行此报告时,AOS 都会崩溃。

当我调试时,我发现我注释的那一行导致崩溃。

我怎样才能避免这个过程或者对这种情况的任何解释,以便我知道我应该为 AOS 崩溃做些什么?

最佳答案

The issue is solved in hotfix rollup 2 for AX 2009, or in the independent knowledge base article KB 969478.  

Changing the menu item \Menu Items\Output\TaxReporting to run on client rather than server is a workaround.

引自 here .

关于axapta - 斧头 2009 : TaxReporting report make AOS crash,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11133183/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com