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

View File

@@ -20,14 +20,14 @@ PRICE_INDEXES_CSV = 'Reference Data\python_project\loaders\Price_Indexes.csv'
# XML-RPC Configuration (for Proteus interaction)
HTTPS = 'https://'
SERVER_URL = 'itsa.open-squared.tech'
SERVER_URL = 'prod.open-squared.tech'
DATABASE_NAME = 'tradon'
USERNAME = 'admin'
PASSWORD = 'dsproject'
# PostgreSQL Configuration (for direct database access if needed)
DB_HOST = '72.61.163.139'
DB_PORT = 5433
DB_HOST = '62.72.36.116'
DB_PORT = 5432
DB_USER = 'postgres'
DB_PASSWORD = 'dsproject'