MRP计算报错,提示如下:
source:mscorlib
message:尝试除以零。
stacktrace: 在 System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
在 System.Decimal.op_Division(Decimal d1, Decimal d2)
在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetParentExpandNeedQty(Context ctx, MrpDemandContext mrpDemandContext, MrpGlobalDataContext mrpGlobalDataContext, SupplyRowInfo demandLinkData, Decimal dFixScrapQty)
在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetOrUpdateExistReserveLink(Context ctx, MrpDemandContext mrpDemandContext, IExtendServiceProvider serviceProvider, OperateOption reserveDicOption, List`1& parentBillReserveInfo, Decimal& dSurplusQty)
在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetOrCreateReserveLinkData(Context ctx, MrpDemandContext mrpDemandContext, OperateOption reserveDicOption, IExtendServiceProvider serviceProvider)
在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetMrpReserveLinkData(Context ctx, MrpDemandContext mrpDemandContext, OperateOption reserveDicOption, IExtendServiceProvider serviceProvider)
在 Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.InitializeMrpNetCalcContext(DynamicObject demandRow, DynamicObject materialRow)
在 Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.ProcessDemandGroupByMtrl(Dictionary`2& dctDemandInfoGroupByMtrlMasterId, List`1& lstSubsDemandRows)
在 Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.Execute()
在 Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.NetCalcLogicUnit.DoComputeLogicByLLC(Decimal dLevelProgress, AbstractDSQueueBuilder demandQueueBuilder, Int64 i)
在 Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.NetCalcLogicUnit.OnExecuteLogicUnit()
在 Kingdee.K3.MFG.PLN.App.MrpModel.AbstractMrpLogicUnit.Execute()
在 Kingdee.K3.MFG.PLN.App.Core.MrpComputeService.RunMrp(Context ctx, DynamicObject mrpDataObject, OperateOption option)
[hr]
Edmund Ho(何爱民)
[indent]
发件人: Edmund Ho(何爱民)
发送时间: 2017-10-13 11:49
收件人: 曾达光
主题: wenti
[/indent]
推荐阅读