Dump - ITSA views

This commit is contained in:
AzureAD\SylvainDUVERNAY
2026-06-14 11:05:54 +02:00
parent 3a3e715336
commit af63a53372
27 changed files with 708 additions and 140 deletions

View File

@@ -628,7 +628,7 @@ WHERE 1=1
AND D.Status <> 'Cancelled'
AND D.BuyOrSell = 1 -- Purchase contracts
AND ISNULL(D.OtherReference, '') NOT LIKE '%ACCT Matching%'
AND B.Description LIKE '%2026%'
AND ( B.Description LIKE '%2026%' )-- OR B.Description LIKE '%2025%' )
ORDER BY 3,1
@@ -831,7 +831,7 @@ WHERE 1=1
AND D.Status <> 'Cancelled'
AND D.BuyOrSell = -1 -- Sale contracts
AND ISNULL(D.OtherReference, '') NOT LIKE '%ACCT Matching%'
AND (B.Description LIKE '%2026%')
AND (B.Description LIKE '%2026%' OR B.Description LIKE '%2025%')
ORDER BY 3,1
@@ -874,7 +874,7 @@ WHERE 1=1
AND D.Status <> 'Cancelled'
AND D.BuyOrSell = 1 -- Purchase contracts
AND ISNULL(D.OtherReference, '') NOT LIKE '%ACCT Matching%'
AND (B.Description LIKE '%2026%')
AND (B.Description LIKE '%2026%' OR B.Description LIKE '%2025%')
AND ER.FormulaGroup NOT IN (1,2) -- Not Price or MtM
ORDER BY 1
@@ -948,7 +948,7 @@ WHERE 1=1
AND D.Status <> 'Cancelled'
AND D.BuyOrSell <> 1 -- Sale contracts
AND ISNULL(D.OtherReference, '') NOT LIKE '%ACCT Matching%'
AND (B.Description LIKE '%2026%')
AND (B.Description LIKE '%2026%' OR B.Description LIKE '%2025%' )
AND ER.FormulaGroup NOT IN (1,2) -- Not Price or MtM
ORDER BY 1