通过Cloud的Http+Json接口批量传销售订单,执行中部分销售订单保存报错。第一次测试:
同时保存相同内容的销售订单,单据编号流水号循环,保存订单量200张。199张成功保存,只有1张报错如下:
{"Message":"值不能为 null。\r\n参数名:activeRow","StackTrace":" 在Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapComplexProperty(DTOTypedTOType, Object sourceObj, DynamicObject targetObj, Int32 rowIndex, HashSet`1NeedUpDateFields)\r\n 在Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapCollectionProperty(DynamicObjectparentObject, DTOCollectionProperty prop, IList sourceRows, HashSet`1NeedUpDateFields)\r\n 在Kingdee.BOS.Business.Bill.OperationService.MapPropertyService.MapComplexProperty(DTOTypedTOType, Object sourceObj, DynamicObject targetObj, Int32 rowIndex, HashSet`1NeedUpDateFields)\r\n 在Kingdee.BOS.Business.Bill.OperationService.Save.Execute()\r\n 在 Kingdee.BOS.Web.Bill.BillWebService.ExcuteOperation(DynamicServiceModelmodel, String opNumber, Object request)","IsSuccess":false}}}
推荐阅读