Summary

Bank Aqua Dev - Testing
Exception ID 639151135343794375
Sequence 0
Item Number 0
ISN 0
User Harry

Exception Description

The multi-part identifier "a.ISN" could not be bound. The multi-part identifier "a.SequenceNumber" could not be bound. The multi-part identifier "a.InOut" could not be bound. The multi-part identifier "a.InOut" could not be bound. The column prefix 'a' does not match with a table name or alias name used in the query. The multi-part identifier "a.PageNumber" could not be bound.

Business Description

Query execution error for screen - 'LiquidityManagementMatching' Query - ' SELECT a.* FROM LMPositionsHeader h LEFT JOIN MessageHeader mh ON a.ISN = mh.ISN AND a.SequenceNumber = mh.SequenceNumber AND mh.InOut = 'O' AND mh.MessageStatus IN ('F','PA','S','T') WHERE h.[LiquidityInitialId] = '445255161579766' AND h.[ValueDate] BETWEEN '2026-03-31' AND '2026-04-01' AND (a.InOut = 'I'OR (a.InOut = 'O' AND mh.ISN IS NOT NULL)) ORDER BY a.[PageNumber] DESC OFFSET 0 ROWS FETCH NEXT 200 ROWS ONLY;'

Exception Data

{"HelpLink.ProdName":"Microsoft SQL Server","HelpLink.ProdVer":"12.00.9114","HelpLink.EvtSrc":"MSSQLServer","HelpLink.EvtID":"4104","HelpLink.BaseHelpUrl":"https://go.microsoft.com/fwlink","HelpLink.LinkId":"20476"}

Stack Trace

   at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData()
   at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)
   at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader()
   at Aquila.AgGrid.AgGridTableCreationMethods.GetServerSideGridData(AgGridFilteringParms inParms) in C:\Users\Harry\source\repos\Aquila\Aquila\AgGrid\AgGridTableCreationMethods.cs:line 273