MRP运算出错,运算日志查询提示,请问是什么原因 ?
很急,请求帮助解决
联络QQ:527944726
source:mscorlib
message:Attempted to divide by zero.
stacktrace: at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
at System.Decimal.op_Division(Decimal d1, Decimal d2)
at Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetParentExpandNeedQty(Context ctx, MrpDemandContext mrpDemandContext, MrpGlobalDataContext mrpGlobalDataContext, SupplyRowInfo demandLinkData, Decimal dFixScrapQty, MrpReserveLinkView mrpReserveLinkView)
at Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.CreateNewReserveLinkByParentInfo(Context ctx, IExtendServiceProvider serviceProvider, MrpDemandContext mrpDemandContext, List`1 parentBillReserveInfo, Decimal& dSurplusQty)
at Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.ReserveLinkCreateOrDecorate(Context ctx, MrpDemandContext mrpDemandContext, DemandData demandRowView, List`1 parentBillReserveInfo, Decimal& dSurplusQty, IExtendServiceProvider serviceProvider)
at Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetOrCreateReserveLinkData(Context ctx, MrpDemandContext mrpDemandContext, OperateOption reserveDicOption, IExtendServiceProvider serviceProvider)
at Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetMrpReserveLinkData(Context ctx, MrpDemandContext mrpDemandContext, OperateOption reserveDicOption, IExtendServiceProvider serviceProvider)
at Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.InitializeMrpNetCalcContext(DynamicObject demandRow, DynamicObject materialRow)
at Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.ProcessDemandGroupByMtrl(Dictionary`2& dctDemandInfoGroupByMtrlMasterId, List`1& lstSubsDemandRows)
at Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.Execute()
at Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.NetCalcLogicUnit.DoComputeLogicByLLC(Decimal dLevelProgress, AbstractDSQueueBuilder demandQueueBuilder, Int64 i)
at Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.Ne