Could not find prepared statement with handle 96.
declare @p1 int
set @p1=96
exec sp_prepexec @p1 output
,N'@0 nvarchar(20)'
,N'SELECT TOP (50) /G_L Account/./timestamp/ AS /timestamp/
,/G_L Account/./No_/ AS /No_/
,/G_L Account/./Name/ AS /Name/
,/G_L Account/./Search Name/ AS /Search Name/
,/G_L Account/./Account Type/ AS /Account Type/
,/G_L Account/./Global Dimension 1 Code/ AS /Global Dimension 1 Code/
,/G_L Account/./Global Dimension 2 Code/ AS /Global Dimension 2 Code/
,/G_L Account/./Account Category/ AS /Account Category/
,/G_L Account/./Income_Balance/ AS /Income_Balance/
,/G_L Account/./Debit_Credit/ AS /Debit_Credit/
,/G_L Account/./No_ 2/ AS /No_ 2/
,/G_L Account/./Blocked/ AS /Blocked/
,/G_L Account/./Direct Posting/ AS /Direct Posting/
,/G_L Account/./Reconciliation Account/ AS /Reconciliation Account/
,/G_L Account/./New Page/ AS /New Page/
,/G_L Account/./No_ of Blank Lines/ AS /No_ of Blank Lines/
,/G_L Account/./Indentation/ AS /Indentation/
,/G_L Account/./Last Modified Date Time/ AS /Last Modified Date Time/
,/G_L Account/./Last Date Modified/ AS /Last Date Modified/
,/G_L Account/./Totaling/ AS /Totaling/
,/G_L Account/./Consol_ Translation Method/ AS /Consol_ Translation Method/
,/G_L Account/./Consol_ Debit Acc_/ AS /Consol_ Debit Acc_/
,/G_L Account/./Consol_ Credit Acc_/ AS /Consol_ Credit Acc_/
,/G_L Account/./Gen_ Posting Type/ AS /Gen_ Posting Type/
,/G_L Account/./Gen_ Bus_ Posting Group/ AS /Gen_ Bus_ Posting Group/
,/G_L Account/./Gen_ Prod_ Posting Group/ AS /Gen_ Prod_ Posting Group/
,DATALENGTH(/G_L Account/./Picture/) AS /Picture/
,/G_L Account/./Automatic Ext_ Texts/ AS /Automatic Ext_ Texts/
,/G_L Account/./Tax Area Code/ AS /Tax Area Code/
,/G_L Account/./Tax Liable/ AS /Tax Liable/
,/G_L Account/./Tax Group Code/ AS /Tax Group Code/
,/G_L Account/./VAT Bus_ Posting Group/ AS /VAT Bus_ Posting Group/
,/G_L Account/./VAT Prod_ Posting Group/ AS /VAT Prod_ Posting Group/
,/G_L Account/./Exchange Rate Adjustment/ AS /Exchange Rate Adjustment/
,/G_L Account/./Default IC Partner G_L Acc_ No/ AS /Default IC Partner G_L Acc_ No/
,/G_L Account/./Omit Default Descr_ in Jnl_/ AS /Omit Default Descr_ in Jnl_/
,/G_L Account/./Account Subcategory Entry No_/ AS /Account Subcategory Entry No_/
,/G_L Account/./Cost Type No_/ AS /Cost Type No_/
,/G_L Account/./Default Deferral Template Code/ AS /Default Deferral Template Code/
,/G_L Account/./Id/ AS /Id/
,/G_L Account/./API Account Type/ AS /API Account Type/
,/G_L Account/./$systemId/ AS /$systemId/
,/G_L Account/./$systemCreatedAt/ AS /SystemCreatedAt/
,/G_L Account/./$systemCreatedBy/ AS /SystemCreatedBy/
,/G_L Account/./$systemModifiedAt/ AS /SystemModifiedAt/
,/G_L Account/./$systemModifiedBy/ AS /SystemModifiedBy/
,ISNULL(/SUB$Net Change/./Net Change$G_L Entry$SUM$Amount/,0.0) AS /Net Change/
,ISNULL(/SUB$Balance/./Balance$G_L Entry$SUM$Amount/,0.0) AS /Balance/
,ISNULL(/SUB$Account Subcategory Descript_/./Account Subcategory Descript_$G_L Account Category$LOOKUP$Description/
,N'''') AS /Account Subcategory Descript_/
,ISNULL(/SUB$Debit Amount/./Debit Amount$G_L Entry$SUM$Debit Amount/,0.0) AS /Debit Amount/
,ISNULL(/SUB$Credit Amount/./Credit Amount$G_L Entry$SUM$Credit Amount/,0.0) AS /Credit Amount/
,ISNULL(/SUB$Balance at Date/./Balance at Date$G_L Entry$SUM$Amount/,0.0) AS /Balance at Date/
,ISNULL(/SUB$Additional-Currency Net Change/./Additional-Currency Net Change$G_L Entry$SUM$Additional-Currency Amount/,0.0) AS /Additional-Currency Net Change/
,ISNULL(/SUB$Add_-Currency Balance at Date/./Add_-Currency Balance at Date$G_L Entry$SUM$Additional-Currency Amount/,0.0) AS /Add_-Currency Balance at Date/
,ISNULL(/SUB$Additional-Currency Balance/./Additional-Currency Balance$G_L Entry$SUM$Additional-Currency Amount/,0.0) AS /Additional-Currency Balance/
SELECT TOP (1) SUM(/Net Change$G_L Entry/./SUM$Amount/) AS /Net Change$G_L Entry$SUM$Amount/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Net Change$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Net Change$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Net Change/
SELECT TOP (1) SUM(/Balance$G_L Entry/./SUM$Amount/) AS /Balance$G_L Entry$SUM$Amount/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Balance$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Balance$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Balance/
SELECT TOP (1) /Account Subcategory Descript_$G_L Account Category/./Description/ AS /Account Subcategory Descript_$G_L Account Category$LOOKUP$Description/
,/Account Subcategory Descript_$G_L Account Category/./Entry No_/ AS /Account Subcategory Descript_$G_L Account Category$Entry No_/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Account Category$437dbf0e-84ff-417a-965d-ed2bb9650972/ AS /Account Subcategory Descript_$G_L Account Category/ WITH(READUNCOMMITTED)
WHERE (/Account Subcategory Descript_$G_L Account Category/./Entry No_/=/G_L Account/./Account Subcategory Entry No_/)
ORDER BY /Account Subcategory Descript_$G_L Account Category$Entry No_/ ASC) AS /SUB$Account Subcategory Descript_/
SELECT TOP (1) SUM(/Debit Amount$G_L Entry/./SUM$Debit Amount/) AS /Debit Amount$G_L Entry$SUM$Debit Amount/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Debit Amount$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Debit Amount$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Debit Amount/
SELECT TOP (1) SUM(/Credit Amount$G_L Entry/./SUM$Credit Amount/) AS /Credit Amount$G_L Entry$SUM$Credit Amount/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Credit Amount$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Credit Amount$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Credit Amount/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Balance at Date$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Balance at Date$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Balance at Date/
SELECT TOP (1) SUM(/Additional-Currency Net Change$G_L Entry/./SUM$Additional-Currency Amount/) AS /Additional-Currency Net Change$G_L Entry$SUM$Additional-Currency Amount/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Additional-Currency Net Change$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Additional-Currency Net Change$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Additional-Currency Net Change/
SELECT TOP (1) SUM(/Add_-Currency Balance at Date$G_L Entry/./SUM$Additional-Currency Amount/) AS /Add_-Currency Balance at Date$G_L Entry$SUM$Additional-Currency Amount/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Add_-Currency Balance at Date$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Add_-Currency Balance at Date$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Add_-Currency Balance at Date/
FROM /Demo Database BC (21-0)/.dbo./CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972$VSIFT$Key2/ AS /Additional-Currency Balance$G_L Entry/ WITH(READUNCOMMITTED,NOEXPAND)
WHERE (/Additional-Currency Balance$G_L Entry/./G_L Account No_/=/G_L Account/./No_/)) AS /SUB$Additional-Currency Balance/ WHERE (/G_L Account/./No_/>@0) ORDER BY /No_/ ASC OPTION(FAST 50)',@0=N'1000'