修改配送出库单分录时,报错。
金蝶云社区-云小爱
云小爱
0人赞赏了该文章 587次浏览 未经作者许可,禁止转载编辑于2015年03月22日 23:38:02

由要货申请汇总单下推的配送出库单,在修改分录的实发数量或仓库时报错。如果是手工新增的配送出库单,修改没有问题。
错误信息如下:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

发生时间:23:33:54
错误来源: mscorlib
错误信息:Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
===================================================
调用堆栈:
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Kingdee.K3.DE.CentralKitchen.Business.PlugIn.StockRefPriceExt.SetCurrentInStockPrice(AbstractBillPlugIn plugIn, String headStockOrgKey, String detailEntryKey, String detailEntryORM, String materialKey, String priceListKey, String dateKey, String ownerKey, String stockKey, String lotKey, String detailBaseUnitQtyKey, String detailQtyKey, String detailReferencePrice, Int32 rowIndex, Action`1 changeHandler)
at Kingdee.K3.DE.CentralDistribution.Business.PlugIn.DistributionOutStock.DataChanged(DataChangedEventArgs e)
at Kingdee.BOS.Core.DynamicForm.PlugIn.DynamicFormModelPlugInProxy.FireDataChanged(DataChangedEventArgs e)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.UpdateFieldValue(Field field, DynamicObject obj, Object value, Int32 row)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.UpdateField(Field field, DynamicObject activeRow, Object value, Int32 rowIndex, Object oldValue)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.SetValue(Field field, DynamicObject activeRow, Object value, Int32 rowIndex)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.SetValue(Field field, Object value, Int32 row)
at Kingdee.BOS.Core.DynamicForm.AbstractDynamicFormModel.SetValue(String key, Object value, Int32 row)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormView.UpdateValue(String key, Int32 row, Object value)
at Kingdee.BOS.Web.Bill.BillView.UpdateValue(String key, Int32 row, Object value)
at Kingdee.BOS.Web.DynamicForm.DynamicWebFormController.UpdateValue(String key, Object value, Int32 row, JSONArray postDatas)
错误数据: System.Collections.ListDictionaryInternal