MRP计算报错
金蝶云社区-zdg
zdg
0人赞赏了该文章 565次浏览 未经作者许可,禁止转载编辑于2017年10月13日 13:54:23

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


[tr][td=72]source:mscorlib
[tr][td]message:尝试除以零。
[tr][td]stacktrace: 在 System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
[tr][td] 在 System.Decimal.op_Division(Decimal d1, Decimal d2)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetParentExpandNeedQty(Context ctx, MrpDemandContext mrpDemandContext, MrpGlobalDataContext mrpGlobalDataContext, SupplyRowInfo demandLinkData, Decimal dFixScrapQty)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetOrUpdateExistReserveLink(Context ctx, MrpDemandContext mrpDemandContext, IExtendServiceProvider serviceProvider, OperateOption reserveDicOption, List`1& parentBillReserveInfo, Decimal& dSurplusQty)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetOrCreateReserveLinkData(Context ctx, MrpDemandContext mrpDemandContext, OperateOption reserveDicOption, IExtendServiceProvider serviceProvider)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.Core.ReserveLinkService.GetMrpReserveLinkData(Context ctx, MrpDemandContext mrpDemandContext, OperateOption reserveDicOption, IExtendServiceProvider serviceProvider)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.InitializeMrpNetCalcContext(DynamicObject demandRow, DynamicObject materialRow)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.ProcessDemandGroupByMtrl(Dictionary`2& dctDemandInfoGroupByMtrlMasterId, List`1& lstSubsDemandRows)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.MrpModel.PolicyImpl.NetCalc.DemandQueue.DemandQueueBuilder.Execute()
[tr][td] 在 Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.NetCalcLogicUnit.DoComputeLogicByLLC(Decimal dLevelProgress, AbstractDSQueueBuilder demandQueueBuilder, Int64 i)
[tr][td] 在 Kingdee.K3.MFG.PLN.App.MrpModel.LogicUnitImpl.Mrp.NetCalcLogicUnit.OnExecuteLogicUnit()
[tr][td] 在 Kingdee.K3.MFG.PLN.App.MrpModel.AbstractMrpLogicUnit.Execute()
[tr][td] 在 Kingdee.K3.MFG.PLN.App.Core.MrpComputeService.RunMrp(Context ctx, DynamicObject mrpDataObject, OperateOption option)

[/indent]