问题原因: |
数据库中存在数据,但无法显示; 可通过sql事件跟踪: 如销售出库单,进入时查询语句如下 Select max (Id) From KCSaleOutH Where cVouchType = '32' And isnull(bPuFirst,0)<> 1 and Isnull(bIaFirst,0)<>1 and Isnull(bIsSTQc,0)<>1 And datediff(day,isnull(dDate,'9999-12-31'),'2005-11-01')<=0 And datediff(day,isnull(dDate,'9999-12-31'),'2005-11-01')<=0 And isnull(bIsSTQc,0)<> 1 and Isnull(bIaFirst,0)<>1 其中对单据日期判断是否晚于2005-11-01,怀疑Accinformation中库存系统启用日期有误,正常年结后应为2005-01-01; 进入Accinformation数据表中查看, 【ST/143/dSTStartDate/库存系统启用日期/dDate/2005-11-01】,错误。 |