[09:23:46] -------------------------------------------------------------
CODE:N0923462
Error:16_515_2_-2146232060
SQL:insert into [RB_Procurement_ReceiptAndStorage]([CustomerId],[WarehouseId],[P_Code],[ListNo],[SKU],[SingleDetailID],[NeedToPackType],[Single_NO],[IsSHJF],[CourierNum],[ReceiptTimeType],[ReceiptTime],[ReceiptAdminId],[ReceiptUserNmae],[AddTime],[AddAdminId],[AddUserName]) values (@CustomerId,@WarehouseId,@P_Code,@ListNo,@SKU,@SingleDetailID,@NeedToPackType,@Single_NO,@IsSHJF,@CourierNum,@ReceiptTimeType,@ReceiptTime,@ReceiptAdminId,@ReceiptUserNmae,@AddTime,@AddAdminId,@AddUserName) ;select @@IDENTITY
PARAMS:@CustomerId = 1 ,@WarehouseId = 333 ,@P_Code = 20007250122 ,@ListNo = 20007250122-1 ,@SKU = 5613158 ,@SingleDetailID = 10614278 ,@NeedToPackType = 0 ,@Single_NO = 9805429 ,@IsSHJF = False ,@CourierNum = 78646989273252 ,@ReceiptTimeType = 1 ,@ReceiptTime = 2023/1/2 10:11:45 ,@ReceiptAdminId = -1 ,@ReceiptUserNmae = null ,@AddTime = 2023/1/3 9:23:46 ,@AddAdminId = 7192 ,@AddUserName = 李德华 ,
MESSAGE:Cannot insert the value NULL into column 'ReceiptUserNmae', table 'irobotbox.dbo.RB_Procurement_ReceiptAndStorage'; column does not allow nulls. INSERT fails.
The statement has been terminated.
TRACE: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
在 System.Data.SqlClient.SqlCommand.ExecuteScalar()
在 RB.DAL.DBOperator.GetSingle(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)
在 RB.DAL.DBOperator.GetSingle(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)
在 RB.DAL.RB_Procurement_ReceiptAndStorage.Add(RB_Procurement_ReceiptAndStorage model)
在 PandaBuy.ERP.Web.IrobotBox.ProcurementV2.Procurement.ProcurmentBuyDeatil.Submit()
在 PandaBuy.ERP.Web.IrobotBox.ProcurementV2.Procurement.ProcurmentBuyDeatil.Page_Load(Object sender, EventArgs e)
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
在 System.Web.UI.Page.ProcessRequest()
在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
在 System.Web.UI.Page.ProcessRequest(HttpContext context)
在 ASP.irobotbox_procurementv2_procurement_procurmentbuydeatil_aspx.ProcessRequest(HttpContext context)
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
在 System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
在 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
在 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
重现步骤
