(已经解决)二开单据配置更新即时库存报错
金蝶云社区-广西尚贤李勇
广西尚贤李勇
0人赞赏了该文章 1,182次浏览 未经作者许可,禁止转载编辑于2015年08月30日 23:19:46


在审核操作中配置的更新即时库存如上,单据提交审核后报错如下:
[{"operation":"BAM_SCM_GoodRelease.MBIClick.tbSplitApprove"}]
发生时间:23:15:25
错误来源: Kingdee.BOS.ServiceHelper
错误信息:Specified cast is not valid.
===================================================
调用堆栈:

Server stack trace:
at Kingdee.K3.SCM.App.Core.AppBusinessService.UpdateStockService.BuildUpdateStockRowData(BusinessInfo billInfo, DynamicObject rowData, Boolean chargeOff, Boolean useModifyInfo, DynamicObject billData, EntityFieldValueReader dataReader, DataTable& dtTmpTable, DataTable& flagTmpTable, Boolean& headChanged)
at Kingdee.K3.SCM.App.Core.AppBusinessService.UpdateStockService.BuildUpdateStockTmpData(BusinessInfo billInfo, DynamicObject billData, Boolean chargeOff, EntityFieldValueReader dataReader, DataTable& dtTmpTable, DataTable& flagTmpTable)
at Kingdee.K3.SCM.App.Core.AppBusinessService.UpdateStockService.GetBillEntityData(BusinessInfo billInfo, String servicePreCondition, Boolean chargeOff, DynamicObject entity, EntityFieldValueReader dataReader, DataTable& dataTable, DataTable& flagTable)
at Kingdee.K3.SCM.App.Core.AppBusinessService.UpdateStockService.DoActionBatch(AppBusinessServiceArgs e)
at Kingdee.BOS.App.Core.AbstractOprerationService.ExecuteFormBusinessService(IAppFormBusinessService iBusiness, ExtendedDataEntity[] dataEntities, FormBusinessService service)
at Kingdee.BOS.App.Core.AbstractOprerationService.InvokeFormBusiness(DynamicObject[] objs, Int32 iActionPoint)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(Object[] ids)
at Kingdee.BOS.App.Core.SetStatusService.SetBillStatus(Context ctx, BusinessInfo businessInfo, List`1 pkEntryIds, List`1 paras, String operationNumber, OperateOption option)

Exception rethrown at [0]:
at Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.SetBillStatus(Context ctx, BusinessInfo businessInfo, List`1 pkEntryIds, List`1 paras, String operationNumber, OperateOption option)
at Kingdee.BOS.Business.Bill.Operation.AbstractStatusConvert.ExecuteBillOperation(List`1 paras, OperateOption option)
at Kingdee.BOS.Business.Bill.Operation.AbstractStatusConvert.ExecuteStatusConvert(List`1 paras)
at Kingdee.BOS.Business.Bill.Operation.Audit.AuditIdeaPrompt()
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Operation(CallBackWfAfterOperation callbackwf, IOperationResult result)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormOperation.Execute(InvokeFormOperation4WfParam param, CallBackWfAfterOperation callbackwf)
at Kingdee.BOS.Web.DynamicForm.OperationCaller.InvokeFormOperation(String operationNumber)
at Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
at Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.InvokeServices(IDynamicFormView view, Object source, IEnumerable`1 services, Int32 actionType, String activeEntity, DynamicObject activeRow, Int32 rowIndex)
at Kingdee.BOS.Web.DynamicForm.BusinessServiceCaller.InvokeFormBusiness(IDynamicFormView view, Object source, List`1 formBusinessServices, Int32 actionType, String entityKey, Int32 row)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.BarItemClick(String parentKey, String barItemKey, BarDataManager bar, Int32 bartype)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.MainBarItemClick(String barItemKey)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.MainBarItemClick(String itemKey, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal