成本计算后,合法性检查报成本计算异常
金蝶云社区-云社区用户F1Q11234
云社区用户F1Q11234
0人赞赏了该文章 718次浏览 未经作者许可,禁止转载编辑于2015年11月03日 13:26:19

成本计算后,合法性检查报成本计算异常,具体错误如附件后示,错误提示的代码复制如下:
不能将值 NULL 插入列 'FPROORDERSTATUS',表 'tempdb.dbo.#TM_CB_WIPDATAENTRY_________________________________________________________________________________________________00000002521E';列不允许有 Null 值。UPDATE 失败。
语句已终止。 StackTrace : at Kingdee.BOS.App.Data.AbstractDatabase.ExecuteNonQuery(DbCommand command, IEnumerable`1 listParam)
at Kingdee.BOS.App.Data.DBUtils.ExecuteBatchWithTime(Context ctx, List`1 lstSqlObj, Int32 commandTimeout)
at Kingdee.K3.FIN.CB.App.Core.ProductingCountService.UpdateOrderRowStatus(Context ctx, CommonBillRptCondition condition, String tempTable)
at Kingdee.K3.FIN.CB.App.Core.ProductingCountService.GetAutoWipData(Context ctx, CommonBillRptCondition condition)
at Kingdee.K3.FIN.CB.App.Core.CostCal.AcctgBillData.GetWipCountQty(Context ctx, CostCalParameters parameters)
at Kingdee.K3.FIN.CB.App.Core.CostCal.Cal.ProductCostAcctgService.BeforeCostAcctgOnlyCalOnce(Context ctx, CostCalParameters parameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.BeforeExecution[T](Context ctx, T acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.BeforeExecuteServiceForShedule[T,K](Context ctx, T acctgParameters, CostAcctgServiceObject`1 service)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionBatchServiceObject[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType, List`1 checkAttrs, Boolean isLast)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.LevelCaling(CostCalParameters acctgParameters, Context bosctx, Dictionary`2 calservice)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.ExecutionCostCal(CostCalParameters acctgParameters, Context bosctx, Dictionary`2 checkservices, Dictionary`2 calservice)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.CostCal(ComputeContext ctx, CostCalParameters acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencilService.CostAcctg(ComputeContext ctx, OutStockAcctgParameters acctgParameters)