【已解决】基础资料自动分配计划出错
金蝶云社区-求春
求春
0人赞赏了该文章 1,432次浏览 未经作者许可,禁止转载编辑于2017年07月26日 12:41:03
版本6.2 QQ:18719270
基础资料自动分配计划出错,详细错误如下:


执行出错,出错时间:2017-07-26 12:04:48;
错误信息:SqlDataRecord 枚举中没有记录。要发送不包含行的 table-valued parameter,请对该值改用 null 引用。;
错误堆栈: 在 System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc, Boolean sync, TaskCompletionSource`1 completion, Int32 startRpc, Int32 startParam)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
在 Kingdee.BOS.App.Data.AbstractDatabase.DoExecuteReader(DbCommand command, CommandBehavior cmdBehavior)
在 Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior, Boolean bNewCn)
在 Kingdee.BOS.App.Data.AbstractDatabase.ExecuteReader(DbCommand command, IEnumerable`1 paramList, CommandBehavior cmdBehavior)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, CommandBehavior cmdBehavior, Boolean bNewCn)
在 Kingdee.BOS.App.Data.DBUtils.ExecuteReader(Context ctx, String strSQL, IEnumerable`1 paramList, CommandType cmdtype, Boolean bNewCn)
在 Kingdee.BOS.App.Core.OrganizationService.FilterOutAllocatedDatas(Context bosCtx, Entity rootEntity, BusinessInfo businessInfo, Form baseDataForm, String useOrgFieldName, Int64 createOrgId, Int64 allocateOrgID, List`1 pks)
在 Kingdee.BOS.App.Core.OrganizationService.AllocateSolution(ComputeContext ctx, String baseId, DynamicObject planDObj, DynamicObject solutionDObj, DynamicObjectCollection autoALLOCATINFOList, Context bosCtx, Boolean isAutoRuning)
在 Kingdee.BOS.App.Core.OrganizationService.AllocatePlan(ComputeContext ctx, DynamicObject planDObj, Context bosCtx, Boolean isAutoRuning)
在 Kingdee.BOS.App.Core.OrganizationService.Run(Context ctx, Schedule schedule)
在 Kingdee.BOS.App.Core.ScheduleService.ScheduleService.RunSchedule(Context ctx, Schedule schedule)