重现步骤

[步骤]

出单产品—操作—基本信息页面点击查看历史采购记录报小黄鸡

[结果]

 CODE:N1346421
Error:11_-2_0_-2146232060
SQL:SELECT wh.WareHouseName, SUM(l.ProductNum + l.ProductNumUpdate - ISNULL(p.PutNum, 0) - LockNum) ProductNum,
                                     SUM( p.SingleNum-ISNULL(p.PutNum,0) ) AS PurchaseingNum
FROM    RB_OrderInfo o WITH ( NOLOCK )
        LEFT JOIN RB_OrderSource s WITH ( NOLOCK ) ON o.OrderSourceID = s.ID
                                                      AND o.CustomerID = s.CustomerID
        LEFT JOIN RB_OrderList l WITH ( NOLOCK ) ON o.OrderCode = l.OrderCode
                                                    AND o.CustomerID = l.CustomerID
        LEFT JOIN RB_Procurement_Order_PositionCode p WITH ( NOLOCK ) ON l.ID = p.OrderListID
                                                              AND l.CustomerID = p.CustomerID
                                                              AND p.P_Code <> ''
                                                              AND p.P_Code IS NOT NULL
        LEFT JOIN RB_Procurement_List pl WITH ( NOLOCK ) ON p.P_Code = pl.P_Code
                                                            AND p.CustomerID = pl.CustomerID
                                                            AND pl.P_Code <> ''
                                                            LEFT JOIN  dbo.RB_WareHouse (NOLOCK) wh ON wh.ID=o.WareHouseID AND o.CustomerID=wh.CustomerID
WHERE  o.CustomerID=@CustomerID
        AND s.OrderSourceType = @OrderSourceType
        AND o.OrderStatus = 0  --正常
        AND ISNULL(pl.FinishStatus, 0) <> @FinishStatus
        AND l.PurchaseType < @PurchaseType
        AND l.SKU = @SKU
        AND ( l.PurchaseType IN ( 0, 1 )
              OR pl.ID IS NOT NULL
            )
GROUP BY wh.WareHouseName ,
        l.SKU ,
        o.CustomerID;
PARAMS:@OrderSourceType = 20 ,@FinishStatus = 1 ,@PurchaseType = 6 ,@CustomerID = 1 ,@SKU =  ,
MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。
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.ExecuteReader(CommandBehavior behavior, String method)
   在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
   在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)   在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)
   在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)
   在 RB.DALExtend.RB_Procurement_DetailExtend.GetProcurementingWarehouseNum(Int32 customerID, String sku)
   在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.BindProductSkuInfo(Int32 whouctid)
   在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.Page_Load(Object sender, EventArgs e)
   在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   在 System.EventHandler.Invoke(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_order_purchasehistory_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)
   在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)
   在 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)

-------------------------------------------------------------

   

[期望]

不报小黄鸡
历史记录  
  1. 2022-10-12 13:59:53, 由 夏宇 创建。
  2. 2022-10-12 14:00:50, 由 夏宇 编辑。
    修改了 重现步骤,区别为:
    006- CODE:N1346421Error:11_-2_0_-2146232060SQL:SELECT wh.WareHouseName, SUM(l.ProductNum + l.ProductNumUpdate - ISNULL(p.PutNum, 0) - LockNum) ProductNum, SUM( p.SingleNum-ISNULL(p.PutNum,0) ) AS PurchaseingNumFROM RB_OrderInfo o WITH ( NOLOCK ) LEFT JOIN RB_OrderSource s WITH ( NOLOCK ) ON o.OrderSourceID = s.ID AND o.CustomerID = s.CustomerID LEFT JOIN RB_OrderList l WITH ( NOLOCK ) ON o.OrderCode = l.OrderCode AND o.CustomerID = l.CustomerID LEFT JOIN RB_Procurement_Order_PositionCode p WITH ( NOLOCK ) ON l.ID = p.OrderListID AND l.CustomerID = p.CustomerID AND p.P_Code &lt;&gt; '' AND p.P_Code IS NOT NULL LEFT JOIN RB_Procurement_List pl WITH ( NOLOCK ) ON p.P_Code = pl.P_Code AND p.CustomerID = pl.CustomerID AND pl.P_Code &lt;&gt; '' LEFT JOIN dbo.RB_WareHouse (NOLOCK) wh ON wh.ID=o.WareHouseID AND o.CustomerID=wh.CustomerIDWHERE o.CustomerID=@CustomerID AND s.OrderSourceType = @OrderSourceType AND o.OrderStatus = 0 --正常 AND ISNULL(pl.FinishStatus, 0) &lt;&gt; @FinishStatus AND l.PurchaseType &lt; @PurchaseType AND l.SKU = @SKU AND ( l.PurchaseType IN ( 0, 1 ) OR pl.ID IS NOT NULL )GROUP BY wh.WareHouseName , l.SKU , o.CustomerID;PARAMS:@OrderSourceType = 20 ,@FinishStatus = 1 ,@PurchaseType = 6 ,@CustomerID = 1 ,@SKU = ,MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 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&amp; 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&amp; 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&amp; task, Boolean&amp; usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms) 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DALExtend.RB_Procurement_DetailExtend.GetProcurementingWarehouseNum(Int32 customerID, String sku) 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.BindProductSkuInfo(Int32 whouctid) 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.Page_Load(Object sender, EventArgs e) 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 在 System.EventHandler.Invoke(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_order_purchasehistory_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&amp; 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) 在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus&amp; notificationStatus) 在 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)-------------------------------------------------------------
    006+ CODE:N1346421Error:11_-2_0_-2146232060SQL:SELECT wh.WareHouseName, SUM(l.ProductNum + l.ProductNumUpdate - ISNULL(p.PutNum, 0) - LockNum) ProductNum, SUM( p.SingleNum-ISNULL(p.PutNum,0) ) AS PurchaseingNumFROM RB_OrderInfo o WITH ( NOLOCK ) LEFT JOIN RB_OrderSource s WITH ( NOLOCK ) ON o.OrderSourceID = s.ID AND o.CustomerID = s.CustomerID LEFT JOIN RB_OrderList l WITH ( NOLOCK ) ON o.OrderCode = l.OrderCode AND o.CustomerID = l.CustomerID LEFT JOIN RB_Procurement_Order_PositionCode p WITH ( NOLOCK ) ON l.ID = p.OrderListID AND l.CustomerID = p.CustomerID AND p.P_Code &lt;&gt; '' AND p.P_Code IS NOT NULL LEFT JOIN RB_Procurement_List pl WITH ( NOLOCK ) ON p.P_Code = pl.P_Code AND p.CustomerID = pl.CustomerID AND pl.P_Code &lt;&gt; '' LEFT JOIN dbo.RB_WareHouse (NOLOCK) wh ON wh.ID=o.WareHouseID AND o.CustomerID=wh.CustomerIDWHERE o.CustomerID=@CustomerID AND s.OrderSourceType = @OrderSourceType AND o.OrderStatus = 0 --正常 AND ISNULL(pl.FinishStatus, 0) &lt;&gt; @FinishStatus AND l.PurchaseType &lt; @PurchaseType AND l.SKU = @SKU AND ( l.PurchaseType IN ( 0, 1 ) OR pl.ID IS NOT NULL )GROUP BY wh.WareHouseName , l.SKU , o.CustomerID;PARAMS:@OrderSourceType = 20 ,@FinishStatus = 1 ,@PurchaseType = 6 ,@CustomerID = 1 ,@SKU = ,MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 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&amp; 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&amp; 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&amp; task, Boolean&amp; usedCache, Boolean asyncWrite, Boolean inRetry) 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms) 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DALExtend.RB_Procurement_DetailExtend.GetProcurementingWarehouseNum(Int32 customerID, String sku) 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.BindProductSkuInfo(Int32 whouctid) 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.Page_Load(Object sender, EventArgs e) 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 在 System.EventHandler.Invoke(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_order_purchasehistory_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&amp; 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) 在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus&amp; notificationStatus) 在 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)-------------------------------------------------------------
    006- <p>CODE:N1346421<br />Error:11_-2_0_-2146232060<br />SQL:SELECT wh.WareHouseName, SUM(l.ProductNum + l.ProductNumUpdate - ISNULL(p.PutNum, 0) - LockNum) ProductNum,<br /> SUM( p.SingleNum-ISNULL(p.PutNum,0) ) AS PurchaseingNum<br />FROM RB_OrderInfo o WITH ( NOLOCK )<br /> LEFT JOIN RB_OrderSource s WITH ( NOLOCK ) ON o.OrderSourceID = s.ID<br /> AND o.CustomerID = s.CustomerID<br /> LEFT JOIN RB_OrderList l WITH ( NOLOCK ) ON o.OrderCode = l.OrderCode<br /> AND o.CustomerID = l.CustomerID<br /> LEFT JOIN RB_Procurement_Order_PositionCode p WITH ( NOLOCK ) ON l.ID = p.OrderListID<br /> AND l.CustomerID = p.CustomerID<br /> AND p.P_Code &lt;&gt; ''<br /> AND p.P_Code IS NOT NULL<br /> LEFT JOIN RB_Procurement_List pl WITH ( NOLOCK ) ON p.P_Code = pl.P_Code<br /> AND p.CustomerID = pl.CustomerID<br /> AND pl.P_Code &lt;&gt; ''<br /> LEFT JOIN dbo.RB_WareHouse (NOLOCK) wh ON wh.ID=o.WareHouseID AND o.CustomerID=wh.CustomerID<br />WHERE o.CustomerID=@CustomerID<br /> AND s.OrderSourceType = @OrderSourceType<br /> AND o.OrderStatus = 0 --正常<br /> AND ISNULL(pl.FinishStatus, 0) &lt;&gt; @FinishStatus<br /> AND l.PurchaseType &lt; @PurchaseType<br /> AND l.SKU = @SKU<br /> AND ( l.PurchaseType IN ( 0, 1 )<br /> OR pl.ID IS NOT NULL<br /> )<br />GROUP BY wh.WareHouseName ,<br /> l.SKU ,<br /> o.CustomerID;<br />PARAMS:@OrderSourceType = 20 ,@FinishStatus = 1 ,@PurchaseType = 6 ,@CustomerID = 1 ,@SKU = ,<br />MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 <br />TRACE: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)<br /> 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)<br /> 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)<br /> 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)<br /> 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()<br /> 在 System.Data.SqlClient.SqlDataReader.get_MetaData()<br /> 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)<br /> 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp; task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)<br /> 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp; task, Boolean&amp; usedCache, Boolean asyncWrite, Boolean inRetry)<br /> 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)<br /> 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)<br /> 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)<br /> 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)<br /> 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br /> 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br /> 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)<br /> 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)<br /> 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)<br /> 在 RB.DALExtend.RB_Procurement_DetailExtend.GetProcurementingWarehouseNum(Int32 customerID, String sku)<br /> 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.BindProductSkuInfo(Int32 whouctid)<br /> 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.Page_Load(Object sender, EventArgs e)<br /> 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)<br /> 在 System.EventHandler.Invoke(Object sender, EventArgs e)<br /> 在 System.Web.UI.Control.OnLoad(EventArgs e)<br /> 在 System.Web.UI.Control.LoadRecursive()<br /> 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<br /> 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<br /> 在 System.Web.UI.Page.ProcessRequest()<br /> 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)<br /> 在 System.Web.UI.Page.ProcessRequest(HttpContext context)<br /> 在 ASP.irobotbox_order_purchasehistory_aspx.ProcessRequest(HttpContext context)<br /> 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()<br /> 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)<br /> 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)<br /> 在 System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)<br /> 在 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)<br /> 在 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /> 在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus&amp; notificationStatus)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /><br />-------------------------------------------------------------<br /><br /> <br /></p>
    006+ <p>CODE:N1346421<br />Error:11_-2_0_-2146232060<br />SQL:SELECT wh.WareHouseName, SUM(l.ProductNum + l.ProductNumUpdate - ISNULL(p.PutNum, 0) - LockNum) ProductNum,<br /> SUM( p.SingleNum-ISNULL(p.PutNum,0) ) AS PurchaseingNum<br />FROM RB_OrderInfo o WITH ( NOLOCK )<br /> LEFT JOIN RB_OrderSource s WITH ( NOLOCK ) ON o.OrderSourceID = s.ID<br /> AND o.CustomerID = s.CustomerID<br /> LEFT JOIN RB_OrderList l WITH ( NOLOCK ) ON o.OrderCode = l.OrderCode<br /> AND o.CustomerID = l.CustomerID<br /> LEFT JOIN RB_Procurement_Order_PositionCode p WITH ( NOLOCK ) ON l.ID = p.OrderListID<br /> AND l.CustomerID = p.CustomerID<br /> AND p.P_Code &lt;&gt; ''<br /> AND p.P_Code IS NOT NULL<br /> LEFT JOIN RB_Procurement_List pl WITH ( NOLOCK ) ON p.P_Code = pl.P_Code<br /> AND p.CustomerID = pl.CustomerID<br /> AND pl.P_Code &lt;&gt; ''<br /> LEFT JOIN dbo.RB_WareHouse (NOLOCK) wh ON wh.ID=o.WareHouseID AND o.CustomerID=wh.CustomerID<br />WHERE o.CustomerID=@CustomerID<br /> AND s.OrderSourceType = @OrderSourceType<br /> AND o.OrderStatus = 0 --正常<br /> AND ISNULL(pl.FinishStatus, 0) &lt;&gt; @FinishStatus<br /> AND l.PurchaseType &lt; @PurchaseType<br /> AND l.SKU = @SKU<br /> AND ( l.PurchaseType IN ( 0, 1 )<br /> OR pl.ID IS NOT NULL<br /> )<br />GROUP BY wh.WareHouseName ,<br /> l.SKU ,<br /> o.CustomerID;<br />PARAMS:@OrderSourceType = 20 ,@FinishStatus = 1 ,@PurchaseType = 6 ,@CustomerID = 1 ,@SKU = ,<br />MESSAGE:执行超时已过期。完成操作之前已超时或服务器未响应。 <br />TRACE: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)<br /> 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)<br /> 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)<br /> 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&amp; dataReady)<br /> 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()<br /> 在 System.Data.SqlClient.SqlDataReader.get_MetaData()<br /> 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)<br /> 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task&amp; task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)<br /> 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task&amp; task, Boolean&amp; usedCache, Boolean asyncWrite, Boolean inRetry)<br /> 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)<br /> 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)<br /> 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)<br /> 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)<br /> 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br /> 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br /> 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)<br /> 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB) 在 RB.DAL.DBOperator.toCommonTipException(SqlException ex, String sql, SqlParameter[] cmdParms)<br /> 在 RB.DAL.DBOperator.Query(String SQLString, SqlCommand cmd, Int32 Times, SqlParameter[] cmdParms, Boolean IsWriteDB)<br /> 在 RB.DALExtend.RB_Procurement_DetailExtend.GetProcurementingWarehouseNum(Int32 customerID, String sku)<br /> 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.BindProductSkuInfo(Int32 whouctid)<br /> 在 PandaBuy.ERP.Web.IrobotBox.Order.PurchaseHistory.Page_Load(Object sender, EventArgs e)<br /> 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)<br /> 在 System.EventHandler.Invoke(Object sender, EventArgs e)<br /> 在 System.Web.UI.Control.OnLoad(EventArgs e)<br /> 在 System.Web.UI.Control.LoadRecursive()<br /> 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<br /> 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<br /> 在 System.Web.UI.Page.ProcessRequest()<br /> 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)<br /> 在 System.Web.UI.Page.ProcessRequest(HttpContext context)<br /> 在 ASP.irobotbox_order_purchasehistory_aspx.ProcessRequest(HttpContext context)<br /> 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()<br /> 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)<br /> 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)<br /> 在 System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)<br /> 在 System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)<br /> 在 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /> 在 System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus&amp; notificationStatus)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /> 在 System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)<br /><br />-------------------------------------------------------------<br /><br /></p>

  3. 2022-10-13 12:03:39, 由 何建宝 指派给 liangfengming。
    修改了 指派给,旧值为 "hejianbao",新值为 "liangfengming"。
    出一个需求调整一下原有逻辑,未生成系统SKU的提示没有历史采购记录
  4. 2022-10-14 17:05:03, 由 liangfengming 指派给 夏宇。
    修改了 指派给,旧值为 "liangfengming",新值为 "xiayu"。
    相关需求:12374 产品库问题优化
  5. 2022-10-17 09:15:19, 由 liangfengming 解决,方案为 产品需求缺陷 。
    修改了 解决方案,旧值为 "",新值为 "byPuduct"。
    修改了 解决日期,旧值为 "",新值为 "2022-10-17 09:14:27"。
    修改了 Bug状态 ,旧值为 "active",新值为 "resolved"。
    修改了 是否确认,旧值为 "0",新值为 "1"。
    修改了 解决者 ,旧值为 "",新值为 "liangfengming"。
  6. 2022-10-18 10:24:31, 由 夏宇 关闭。
    修改了 Bug状态 ,旧值为 "resolved",新值为 "closed"。
    修改了 指派给 ,旧值为 "xiayu",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "xiayu"。
    修改了 关闭日期,旧值为 "",新值为 "2022-10-18 10:24:31"。
    需求优化
所属项目 技术中心-需求池
所属模块 /
所属计划
所属迭代 技术研发中心 10月第1版本(2022年)
Bug类型
严重程度 提示
优先级 P2
Bug状态 已关闭
业务部门
影响功能
开发责任人
测试责任人
解决时效 0
激活次数 0
激活日期
是否确认 是
当前指派 Closed 于 2022-10-18 10:24:31
截止日期 0000-00-00
上线时间
上线时效
操作系统
浏览器
关键词
抄送给
所属迭代 技术研发中心 10月第1版本(2022年)
相关需求
相关任务
由谁创建 夏宇 于 2022-10-12 13:59:53
影响环境 628
由谁解决 liangfengming 于 2022-10-17 09:14:27
解决版本
解决方案 产品需求缺陷
由谁关闭 夏宇 于 2022-10-18 10:24:31
最后修改 夏宇 于 2022-10-18 10:24:31
相关Bug