Business rule instrument spc0017 interest rate type

Card of business rule instrument spc0017 interest rate type

Name

instrument spc0017 interest rate type

Code

spc0017

Comment

Interest rate type must correspond to the subtype that is used.

Rule Type

Constraint


Server expression of the business rule instrument spc0017 interest rate type

if ('instrument'.'interest rate type' = "fixed")
then ('instrument'.'reporting agent identifier' = 'fixed interest instrument'.'reporting agent identifier' and
'instrument'.'observed agent identifier' = 'fixed interest instrument'.'observed agent identifier' and
'instrument'.'reporting reference date' = 'fixed interest instrument'.'reporting reference date' and
'instrument'.'contract identifier' = 'fixed interest instrument'.'contract identifier' and
'instrument'.'instrument identifier' = 'fixed interest instrument'.'instrument identifier')

if ('instrument'.'interest rate type' = "variable" )
then ('instrument'.'reporting agent identifier' = 'non-fixed interest instrument'.'reporting agent identifier' and
'instrument'.'observed agent identifier' = 'non-fixed interest instrument'.'observed agent identifier' and
'instrument'.'reporting reference date' = 'non-fixed interest instrument'.'reporting reference date' and
'instrument'.'contract identifier' = 'non-fixed interest instrument'.'contract identifier' and
'instrument'.'instrument identifier' = 'non-fixed interest instrument'.'instrument identifier')

if ('instrument'.'interest rate type' = "mixed")
then ('instrument'.'reporting agent identifier' = 'non-fixed interest instrument'.'reporting agent identifier' and
'instrument'.'observed agent identifier' = 'non-fixed interest instrument'.'observed agent identifier' and
'instrument'.'reporting reference date' = 'non-fixed interest instrument'.'reporting reference date' and
'instrument'.'contract identifier' = 'non-fixed interest instrument'.'contract identifier' and
'instrument'.'instrument identifier' = 'non-fixed interest instrument'.'instrument identifier')
or ('instrument'.'reporting agent identifier' = 'fixed interest instrument'.'reporting agent identifier' and
'instrument'.'observed agent identifier' = 'fixed interest instrument'.'observed agent identifier' and
'instrument'.'reporting reference date' = 'fixed interest instrument'.'reporting reference date' and
'instrument'.'contract identifier' = 'fixed interest instrument'.'contract identifier' and
'instrument'.'instrument identifier' = 'fixed interest instrument'.'instrument identifier')

if ('instrument'.'interest rate type' = "Non-applicable")
then there is no instance of 'fixed interest instrument', nor of 'non-fixed instrument' for this 'instrument'


List of extended attributes of the business rule instrument spc0017 interest rate type

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 instrument spc0017 interest rate type

Short Description

Inheritance 'interest rate type'