计划方案运算异常及物料供需汇总表运算异常
金蝶云社区-云社区用户69401234
云社区用户69401234
0人赞赏了该文章 665次浏览 未经作者许可,禁止转载编辑于2016年12月19日 23:53:18

cloud版本:5.0_425.1.10
生产中心生产产品及原材料采购,营销中心接收销售订单,按销售订单及组织间需求单运算MRP, 物料A设置营销中心计划安全库存200,生产中心计划的安全库存为100, 销售订单货主为营销中心,供应组织为生产中心,计划模式为集中计划;
问题如下:
1.计划运算考虑安全库存及预计库存,即时库存时,计划运算向导选择销售订单运算时都会提示“计划运算出错, 请查看日志”,但是看运算日志都没有错误消息这是怎么回事呢?
2.运算出来的组织间需求单,需求组织及供应组织,均为营销中心,如何设置才能使运算出来的为生产中心呢?,或者直接跳过组织间需求单产生下游单据?
3.物料供需汇总表查询时报错,这是怎么回事呢?
提示以下错误:
查询出现异常。System.ArgumentException: An item with the same key has already been added.
Server stack trace:
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at Kingdee.K3.MFG.PLN.App.ReportPlugIn.SupplyDemand.MtrlSupplyDemandRpt.BuilderReportSqlAndTempTable(IRptParams filter, String tableName)
at Kingdee.BOS.Core.Report.PlugIn.AbstractSysReportServicePlugIn.CreateTempTable(IRptParams filter, String tablename)
at Kingdee.BOS.Core.Report.PlugIn.AbstractSysReportServicePlugIn.GetDataForVirtual(IRptParams filter)
at Kingdee.BOS.Core.Report.PlugIn.AbstractSysReportServicePlugIn.GetData(IRptParams filter)
at Kingdee.BOS.App.Core.PlugInProxy.SysReportServicePlugInProxy.GetReportData(ReportServiceParameter parameter)
at Kingdee.BOS.App.Core.SysReportService.GetReportData(ReportServiceParameter parameter)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Kingdee.BOS.Contracts.ISysReportService.GetReportData(ReportServiceParameter parameter)
at Kingdee.BOS.ServiceHelper.SysReportServiceHelper.GetReportData(ReportServiceParameter parameter)
at Kingdee.BOS.Model.Report.SysReportModel.GetData(Int32 start, Int32 rows)
at Kingdee.BOS.Web.Report.SysReportView.GetListData()
at Kingdee.BOS.Web.Report.SysReportView.<>c__DisplayClass3d.b__39()