在cloud版中发过提示错误信息上看是餐饮行业组件报的错。
领用出库单列表中以前的一笔领料发现错误需要修改,如图
需要将6瓶改为8瓶
审核状态下查询的即时库存数量为12
反审核后即时库存数量为18
修改数量保存时报错,继续保存可以保存成功
但是审核后查询即时库存,领料8瓶后即时库存应为10瓶,结果却为12瓶扣减错误
保存时报错信息为:
发生时间:13:59:07
错误来源: Kingdee.K3.DE.CentralKitchen.Business.PlugIn
错误信息:Object reference not set to an instance of an object.
===================================================
调用堆栈:
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.CentralKitchen.Business.PlugIn.StockRefPriceEdit.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
推荐阅读