关于费用应付单的问题
金蝶云社区-云小爱
云小爱
0人赞赏了该文章 1,056次浏览 未经作者许可,禁止转载编辑于2013年09月08日 16:28:24
费用应付单,当表体分录的入库单号不为空时,保存成功,但是提交审核时报错。
报错信息如下:
发生时间:16:28:24
错误来源: Kingdee.BOS.ServiceHelper
错误信息:Input string was not in a correct format.
===================================================
调用堆栈:
Server stack trace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
at System.Convert.ToInt32(Object value)
at Kingdee.K3.FIN.HS.App.Core.Hook.PurchaseExpenseHook.GetAutoAllocType()
at Kingdee.K3.FIN.HS.App.Core.Hook.PurchaseExpenseHook.GetAllocateData()
at Kingdee.K3.FIN.HS.App.Core.Hook.PurchaseExpenseHook.AutoHookCheck(Context ctx, JSONObject para)
at Kingdee.K3.FIN.HS.App.Core.HookService.AutoHookCheck(Context ctx, JSONObject hookObject, PurchaseHookBase hook)
at Kingdee.K3.FIN.HS.App.Core.HookService.PurchaseHook(Context ctx, JSONObject hookObject)
at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.HookInvoice(IEnumerable`1 lstInv)
at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.CalHook(IEnumerable`1 lstInv)
at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.PurHook(Int64 invoiceInterID)
at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.BatchPurHook(List`1 fids)
at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.BeginExcuteHS(BeginOperationTransactionArgs e)
at Kingdee.K3.FIN.AP.App.ServicePlugIn.PayableBill.ServiceAuditPlugIn.BeginOperationTransaction(BeginOperationTransactionArgs e)
at Kingdee.BOS.App.Core.PlugInProxy.OperationServicePlugInProxy.FireBeginOperationTransaction(BeginOperationTransactionArgs e)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperation(DynamicObject[]& objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.CallOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.SetStatus.CallOperatinTransaction(DynamicObject[] objs)
at Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()
at Kingdee.BOS.App.Core.AbstractOprerationService.Excute(Object[] ids)
at Kingdee.BOS.App.Core.AbstractSetStatus.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.Business.Bill.Operation.Audit.ExecuteOperation()
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.Core.DynamicForm.AbstractFormOperation.Execute()
at Kingdee.BOS.Web.DynamicForm.OperationCaller.InvokeFormOperation(String operationNumber)
at Kingdee.BOS.Web.DynamicForm.AbstractDynamicWebFormView.InvokeFormOperation(String operationNumber)
at Kingdee.BOS.Business.DynamicForm.BusinessService.ExcuteOperation.DoAction(FormBusinessServiceArgs e)
at Kingdee.BOS.Core.DynamicForm.FormBusinessServiceUtil.DoAction(IDynamicFormView view, 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