打了最新补丁通过WEBAPI传递凭证数据报错
金蝶云社区-深蓝
深蓝
0人赞赏了该文章 400次浏览 未经作者许可,禁止转载编辑于2017年12月21日 16:49:33
打了最新补丁后,通过API传数据报错“未将对象引用设置到对象的实例”,没打补丁前是正常的,joson串没有修改过
{"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[{"FieldName":"未将对象引用设置到对象的实例。","Message":"\r\nServer stack trace: \r\n 在 Kingdee.K3.FIN.GL.App.ServicePlugIn.GLVoucher.SaveValidator.CheckFlexOrgPermission()\r\n 在 Kingdee.K3.FIN.GL.App.ServicePlugIn.GLVoucher.SaveValidator.CheckVoucherEntry()\r\n 在 Kingdee.K3.FIN.GL.App.ServicePlugIn.GLVoucher.SaveValidator.Validate(ExtendedDataEntity[] dataEntities, ValidateContext validateContext, Context ctx)\r\n 在 Kingdee.BOS.App.Core.Validation.ValidationService.Validate(IEnumerable`1 dataEntities, ValidateContext validateContext, AbstractValidator[] validators)\r\n 在 Kingdee.BOS.App.Core.Validation.ValidationService.TryValidate(IEnumerable`1 dataEntities, ValidateContext validateContext, List`1& errorInfo)\r\n 在 Kingdee.BOS.App.Core.AbstractOprerationService.TryValidate()\r\n 在 Kingdee.BOS.App.Core.AbstractOprerationService.Validate()\r\n 在 Kingdee.BOS.App.Core.AbstractSave.Validate()\r\n 在 Kingdee.BOS.App.Core.AbstractOprerationService.DoExcete()\r\n 在 Kingdee.BOS.App.Core.AbstractOprerationService.Excute(DynamicObject[] dataEntities)\r\n 在 Kingdee.BOS.App.Core.SaveService.Save(Context ctx, BusinessInfo info, DynamicObject[] dataEntities, OperateOption option, String operationNumber)\r\n\r\nException rethrown at [0]: \r\n 在 Kingdee.BOS.ServiceHelper.BusinessDataServiceHelper.Save(Context ctx, BusinessInfo businessInfo, DynamicObject dataObject, OperateOption option, String operationNumber)\r\n 在 Kingdee.BOS.Model.Bill.BillModel.Save(OperateOption option)\r\n 在 Kingdee.BOS.WebApi.FormService.Save.Execute()\r\n 在 Kingdee.BOS.WebApi.FormService.BillOperationService.ExecuteOperation(FormOperation op, String data)","DIndex":0}],"SuccessEntitys":[],"SuccessMessages":[],"MsgCode":0}}}