Business rule financial data spc0018 type of instrument

Card of business rule financial data spc0018 type of instrument

Name

financial data spc0018 type of instrument

Code

spc0018

Comment

The type of instrument of the instrument of the financial data must correspond to the subtype that is used.

Rule Type

Constraint


Server expression of the business rule financial data spc0018 type of instrument

If 'instrument'.'type of instrument' = "revolving credit other than overdrafts and credit card debt"
Then
'financial data'.'reporting agent identifier' = 'revolving credit other than overdrafts and credit card debt'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'revolving credit other than overdrafts and credit card debt'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'revolving credit other than overdrafts and credit card debt'.'reporting reference date' and
'financial data'.'contract identifier' = 'revolving credit other than overdrafts and credit card debt'.'contract identifier' and
'financial data'.'instrument identifier' = 'revolving credit other than overdrafts and credit card debt'.'instrument identifier'

If 'instrument'.'type of instrument' = "reverse repurchase agreements"
Then
'financial data'.'reporting agent identifier' = 'reverse repurchase agreements'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'reverse repurchase agreements'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'reverse repurchase agreements'.'reporting reference date' and
'financial data'.'contract identifier' = 'reverse repurchase agreements'.'contract identifier' and
'financial data'.'instrument identifier' = 'reverse repurchase agreements'.'instrument identifier'

If 'instrument'.'type of instrument' = "financial leases"
Then
'financial data'.'reporting agent identifier' = 'financial leases'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'financial leases'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'financial leases'.'reporting reference date' and
'financial data'.'contract identifier' = 'financial leases'.'contract identifier' and
'financial data'.'instrument identifier' = 'financial leases'.'instrument identifier'

If 'instrument'.'type of instrument' = "overdraft"
Then
'financial data'.'reporting agent identifier' = 'overdraft'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'overdraft'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'overdraft'.'reporting reference date' and
'financial data'.'contract identifier' = 'overdraft'.'contract identifier' and
'financial data'.'instrument identifier' = 'overdraft'.'instrument identifier'

If 'instrument'.'type of instrument' = "other loans"
Then
'financial data'.'reporting agent identifier' = 'other loans'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'other loans'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'other loans'.'reporting reference date' and
'financial data'.'contract identifier' = 'other loans'.'contract identifier' and
'financial data'.'instrument identifier' = 'other loans'.'instrument identifier'

If 'instrument'.'type of instrument' = "trade receivables"
Then
'financial data'.'reporting agent identifier' = 'trade receivables'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'trade receivables'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'trade receivables'.'reporting reference date' and
'financial data'.'contract identifier' = 'trade receivables'.'contract identifier' and
'financial data'.'instrument identifier' = 'trade receivables'.'instrument identifier'

If 'instrument'.'type of instrument' = "credit lines other than revolving credit instrument"
Then
'financial data'.'reporting agent identifier' = 'credit lines other than revolving credit instrument'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'credit lines other than revolving credit instrument'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'credit lines other than revolving credit instrument'.'reporting reference date' and
'financial data'.'contract identifier' = 'credit lines other than revolving credit instrument'.'contract identifier' and
'financial data'.'instrument identifier' = 'credit lines other than revolving credit instrument'.'instrument identifier'

If 'instrument'.'type of instrument' = "credit card debt"
Then
'financial data'.'reporting agent identifier' = 'credit card debt'.'reporting agent identifier' and
'financial data'.'observed agent identifier' = 'credit card debt'.'observed agent identifier' and
'financial data'.'reporting reference date' = 'credit card debt'.'reporting reference date' and
'financial data'.'contract identifier' = 'credit card debt'.'contract identifier' and
'financial data'.'instrument identifier' = 'credit card debt'.'instrument identifier'

If 'instrument'.'type of instrument' is null
Then
instrument not in any of the subtypes


List of extended attributes of the business rule financial data spc0018 type of instrument

Name

Data Type

Value

Target Name

business rule classification

(String)

specialisation model constraint

Local Extensions

business rule scope

(String)

Checked within the data delivery

Local Extensions

severity

(String)

blocking

Local Extensions


List of attached objects of the business rule financial data spc0018 type of instrument

Short Description

Inheritance 'type of instrument'