成本计算过程中,报如下错误:
不能将值 NULL 插入列 'FOrderNumber',表 'AIS20131015175448.dbo.TMP0AC2877C582C11E486545CF3FC5';列不允许有 Null 值。INSERT 失败。
语句已终止。 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.HS.App.Core.OutStockAcctg.Object.StockBillData.InsertBillData(Context ctx, OutStockAcctgParameters acctgParameters, List`1 configs)
at Kingdee.K3.FIN.HS.App.Core.OutStockAcctg.Object.StockBillData.GetStockBillData(Context ctx, OutStockAcctgParameters acctgParameters, List`1 configs)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.GetOutInStockAcctgData(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.GetBillData(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.HS.App.Core.OutStcokCostAcctg.BeforeOutStockAcctg(Context ctx, OutStockAcctgParameters acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AbstractAcctgService.BeforeExecution[T](Context ctx, T acctgParameters)
at Kingdee.K3.FIN.App.Core.OutAcctg.AcctgStencil.AcctgBefore[T,K](Context ctx, T acctgParameters, Dictionary`2 services, CostCalType calType)
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)
版本:cloud3.0 已安装9月28日补丁
推荐阅读