K3Cloud简单生产入库单下推简单生产领料单报错
金蝶云社区-景玉兰轩
景玉兰轩
0人赞赏了该文章 1,133次浏览 未经作者许可,禁止转载编辑于2017年08月08日 15:43:14


版本:K3Cloud v6.2
补丁版本:PT113514

麻烦总部老师帮忙解决下:
联系方式:
TEL:18306513680
QQ:729308216

详细报错提示:
[{"operation":"BOS_ConvertOpForm.ButtonClick"}]
发生时间: 15:42:48
错误编号: 6d301412b1924a4b8b495370d3cace1d
错误信息: There are no records in the SqlDataRecord enumeration. To send a table-valued parameter with no rows, use a null reference for the value instead.
===================================================
调用堆栈:
Server stack trace:
at System.Data.SqlClient.TdsParser.TdsExecuteRPC(SqlCommand cmd, _SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc, Boolean sync, TaskCompletionSource`1 completion, Int32 startRpc, Int32 startParam)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
at Kingdee.BOS.App.Data.DBUtils.Execute(Context ctx, String strSQL, IEnumerable`1 paramList, Boolean needTranslate)
at Kingdee.BOS.App.Data.DBUtils.Execute(Context ctx, String strSQL, IEnumerable`1 paramList)
at Kingdee.K3.SCM.App.Stock.ServicePlugIn.BomExpand2SpPickMtrlItemConvert.InsertIntoTmpData(Context ctx, String TmpTabName, List`1 Ids)
at Kingdee.K3.SCM.App.Stock.ServicePlugIn.BomExpand2SpPickMtrlItemConvert.OnInSelectedRow(InSelectedRowEventArgs e)
at Kingdee.BOS.Core.Metadata.ConvertElement.PlugIn.ConvertPlugInProxy.FireOnInSelectedRow(InSelectedRowEventArgs e)
at Kingdee.BOS.App.Core.Convertible.DefaultPolicy.InSelectedRowAction.Do()
at Kingdee.BOS.Core.BusinessPolicyModel.BusinessPolicyEngine.Do(OperateOption context)
at Kingdee.BOS.App.Core.Convertible.ConvertEngine.OnCreating(PushArgs pushArgs, OperateOption option)
at Kingdee.BOS.App.Core.ConvertService.Push(Context ctx, PushArgs serviceArgs, OperateOption option, Boolean validPermission)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.IConvertService.Push(Context ctx, PushArgs serviceArgs, OperateOption option, Boolean validPermission)
at Kingdee.BOS.ServiceHelper.ConvertServiceHelper.Push(Context ctx, PushArgs serviceArgs, OperateOption option)
at Kingdee.BOS.Business.Bill.Operation.Push.DoPush(OpFormReturnInfo retInfo, ListSelectedRow[] thisViewSelectedRows, ListSelectedRow[] selectedRows)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.DoCallBackAction(Object returnData, Action`1 action)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.FormClosedCallBack(String id, Boolean isSyncCall)
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.CloseWindow()
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.OnClose()
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.Close()
at Kingdee.BOS.Business.DynamicForm.ConvertPlugIn.ConvertOpFormEdit.ButtonClick(ButtonClickEventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormViewPlugInProxy.FireButtonClick(ButtonClickEventArgs e)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.ButtonClick(String key, String menuKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.ButtonClick(String buttonKey, String menuKey, JSONArray postDatas)

错误.png(46.08KB)