存货核算关账时 报错!如图
金蝶云社区-一米134
一米134
0人赞赏了该文章 1,254次浏览 未经作者许可,禁止转载编辑于2016年08月17日 21:58:13

版本:K3CloudV6.1补丁:PT105859(2016-07-22)
数据库:sql2008r2
系统:win2008r2
联系电话:13459197966 QQ:251336603
问题:存货核算关账时 报错!如图异步任务执行失败System.AggregateException: One or more errors occurred. ---> System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse(String s, IFormatProvider provider)
at System.Convert.ToDateTime(String value, IFormatProvider provider)
at Kingdee.K3.SCM.App.Core.StockCloseService.InitOwnerInvBalTmpTable(Context ctx, List`1 owners, DateTime endDate, String& tableName)
at Kingdee.K3.SCM.App.Core.StockCloseService.GetDateInvBalByOwner(Context ctx, List`1 owners, DateTime endDate, String tempTableName, Boolean checkMinus, Boolean checkStkCountBillAudit)
at Kingdee.K3.FIN.HS.App.Core.AccountOpenCloseService.OpenCloseAccount(AccountClosePara accountPara)
at Kingdee.K3.FIN.HS.ServiceHelper.AccountOpenCloseServiceHelper.OpenCloseAccount(AccountClosePara accountPara)
at Kingdee.K3.FIN.HS.Business.PlugIn.AccountOpenClose.BatchOpenCloseAccount()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse(String s, IFormatProvider provider)
at System.Convert.ToDateTime(String value, IFormatProvider provider)
at Kingdee.K3.SCM.App.Core.StockCloseService.InitOwnerInvBalTmpTable(Context ctx, List`1 owners, DateTime endDate, String& tableName)
at Kingdee.K3.SCM.App.Core.StockCloseService.GetDateInvBalByOwner(Context ctx, List`1 owners, DateTime endDate, String tempTableName, Boolean checkMinus, Boolean checkStkCountBillAudit)
at Kingdee.K3.FIN.HS.App.Core.AccountOpenCloseService.OpenCloseAccount(AccountClosePara accountPara)
at Kingdee.K3.FIN.HS.ServiceHelper.AccountOpenCloseServiceHelper.OpenCloseAccount(AccountClosePara accountPara)
at Kingdee.K3.FIN.HS.Business.PlugIn.AccountOpenClose.BatchOpenCloseAccount()
at System.Threading.Tasks.Task.Execute()<---