设置复合分配标准后成本计算异常
金蝶云社区-云社区用户1lN01718
云社区用户1lN01718
0人赞赏了该文章 817次浏览 未经作者许可,禁止转载编辑于2018年03月20日 16:28:22

设置复合分配标准后成本计算报错:复合标准1:[期末在产品数量]*[精工标准工时定额] ,复合标准2:[完工入库数量]*[精工标准工时定额],标准工时定额是将标准工时按照定额因子维护的。
费用分配标准:标准1*0.5+标准2,设置完成后成本计算错如下,请问老师如何解决?

Message:表达式计算出错: 0.5*S896891 +S896901 ( unsupported operand type(s) for *: 'float' and 'WeightInfos' ) ;StackTrace: 在 Kingdee.BOS.Scripting.PyExpressionEvaluator.Run(Expression expression, ExpressionContext context)
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.GetWeightInfo.ComplexWeight.GetWeightInfos(AllocateStdSetArgs ccStdSet)
在 Kingdee.K3.FIN.CB.App.Core.CBAppCommFunction.GetWeightInfos(Context context, ExpenseAllocateParameters parameters, AllocateStdSetArgs ccStdSet)
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.Utils.WeightInfoUtil.GetStdGetWeightInfos(Context ctx, ExpenseAllocateParameters parameters, AllocateStdSetArgs ccStdSet)
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.ExpenseAllocateByStd.GetWeightInfos(AllocateStdSetArgs ccStdSet, AllocateExpenseSend sendInfo)
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.ExpenseAllocateByStd.CalInDirectExpenseAllocate(AllocateExpenseSend sendInfo, AllocateStdSetArgs ccStdSet)
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.ExpenseAllocateByStd.GetAllocatedRecs(List`1 allocateSendInfos)
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.AbstractAllocate`2.ExpenseAllocate()
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.AllocateExpense.ExpenseAllocate()
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.ExpenseAllocateEngine.TotalExpenseAllocate()
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.ExpenseAllocateEngine.ExpenseAllocate()
在 Kingdee.K3.FIN.CB.App.Core.ExpenseAllocate.ExpenseAllocateService.ExpenseAllocate(Context ctx, CostCalParameters parameters)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.Execution[T](Context ctx, T acctgParameters)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecuteServiceForShedule[T,K](Context ctx, T acctgParameters, CostAcctgServiceObject`1 service)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionBatchServiceObject[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType, List`1 checkAttrs, Boolean isLast)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionCostCal(CostCalGlobalContext costCalGlobalContext, Context bosctx, Dictionary`2 calservice)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.CostCal(ComputeContext ctx, CostCalGlobalContext costCalGlobalContext)
在 Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencilService.CostAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)