(if ( 'debtor'.'reporting agent identifier' = 'debtor-instrument data'.'reporting agent identifier'
and 'debtor'.'counterparty identifier' = 'debtor-instrument data'.'counterparty identifier'
and 'debtor'.'counterparty role' = 'debtor-instrument data'.'counterparty role'
and 'debtor-instrument data'.'reporting agent identifier' = 'recognised instrument'.'reporting agent identifier'
and 'debtor-instrument data'.'observed agent identifier' = 'recognised instrument'.'observed agent identifier'
and 'debtor-instrument data'.'contract identifier' = 'recognized instrument'.'contract identifier'
and 'debtor-instrument data'.'instrument identifier' = 'recognized instrument'.'instrument identifier'
and 'recognised instrument'.'reporting reference date' = current reporting reference date )
then ( 'debtor'.'reporting agent identifier' = 'debtor data'.'reporting agent identifier'
and 'debtor'.'counterparty identifier' = 'debtor data'.'counterparty identifier'
and 'debtor'.'counterparty role' = 'debtor data'.'counterparty role'
and 'debtor-instrument data'.'reporting agent identifier' = 'debtor data'.'reporting agent identifier'
and 'debtor-instrument data'.'observed agent identifier' = 'debtor data'.'observed agent identifier'
and 'debtor data'.'reporting reference date' = current reporting reference date
and 'debtor data'.'default status' not is null
and 'debtor data'.'default status' <> "Unknown"
and 'debtor data'.'date of the default status of the counterparty' not is null
and 'debtor data'.'date of the default status of the counterparty' <> "Unknown")
else ( 'debtor data'.'default status' is null
and 'debtor data'.'date of the default status of the counterparty' is null))
|