动态表单服务调用报错
912次浏览
编辑于2017年09月08日 10:53:00
现在项目需要做个开发,由第三方系统调用动态表单服务生成直接调拨单、销售出库单,我按照要求配置了后,调用一直有问题,就是一条分录的时候可以,如果是多于一条分录就报错,提示:索引超出范围。必须为非负值并小于集合大小。参数名: index
错误信息: 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 在 System.Collections.Generic.List`1.get_Item(Int32 index)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapCollectionProperty(DynamicObject parentObject, DTOCollectionProperty prop, IList sourceRows, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapComplexProperty(DTOType dTOType, Object sourceObj, DynamicObject targetObj, Int32 rowIndex, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapCollectionProperty(DynamicObject parentObject, DTOCollectionProperty prop, IList sourceRows, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapComplexProperty(DTOType dTOType, Object sourceObj, DynamicObject targetObj, Int32 rowIndex, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.Save.Execute() 在 Kingdee.BOS.Web.Bill.BillWebService.ExcuteOperation(DynamicServiceModel model, String opNumber, Object request)
错误信息: 在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 在 System.Collections.Generic.List`1.get_Item(Int32 index)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapCollectionProperty(DynamicObject parentObject, DTOCollectionProperty prop, IList sourceRows, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapComplexProperty(DTOType dTOType, Object sourceObj, DynamicObject targetObj, Int32 rowIndex, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapCollectionProperty(DynamicObject parentObject, DTOCollectionProperty prop, IList sourceRows, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapComplexProperty(DTOType dTOType, Object sourceObj, DynamicObject targetObj, Int32 rowIndex, HashSet`1 NeedUpDateFields)
在 Kingdee.BOS.Business.Bill.OperationService.Save.Execute() 在 Kingdee.BOS.Web.Bill.BillWebService.ExcuteOperation(DynamicServiceModel model, String opNumber, Object request)
Cloud日志.zip(5.19KB)
TestWebapi.zip(12.95MB)
推荐阅读