在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崩溃做些什么?