Dump - ITSA views
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user