Business rule quasi-corporation omc0119 number of employees mandatory

Card of business rule quasi-corporation omc0119 number of employees mandatory

Name

quasi-corporation omc0119 number of employees mandatory

Code

omc0119

Comment

Number of employees is only mandatory when the quasi corporation has one of the following roles:
* debtor
* protection provider
* immediate parent undertaking
* ultimate parent undertaking
* originator

Rule Type

Constraint


Server expression of the business rule quasi-corporation omc0119 number of employees mandatory

'quasi-corporation'.'number of employees' is mandatory when

there exists a counterparty role for which the following is true:
(( 'quasi-corporation'.'reporting agent identifier' = 'counterparty role'.'reporting agent identifier'
and 'quasi-corporation'.'counterparty identifier' = 'counterparty role'.'counterparty identifier'
and 'quasi-corporation'.'reporting reference date' = 'counterparty role'.'reporting reference date'
and 'counterparty role'.'counterparty role' in ("debtor", "originator"))
or
( 'quasi-corporation'.'reporting agent identifier' = 'counterparty'.'reporting agent identifier'
and 'quasi-corporation'.'counterparty identifier' = 'counterparty'.'counterparty identifier'
and 'quasi-corporation'.'reporting reference date' = 'counterparty'.'reporting reference date'
and 'counterparty'.'protection provider indicator' = "protection provider")
or
( 'quasi-corporation'.'reporting agent identifier' = 'debtor'.'reporting agent identifier'
and 'quasi-corporation'.'counterparty identifier' = 'debtor'.'immediate parent undertaking identifier'
and 'quasi-corporation'.'reporting reference date' = 'debtor'.'reporting reference date')
or
( 'quasi-corporation'.'reporting agent identifier' = 'debtor'.'reporting agent identifier'
and 'quasi-corporation'.'counterparty identifier' = 'debtor'.'ultimate parent undertaking identifier'
and 'quasi-corporation'.'reporting reference date' = 'debtor'.'reporting reference date')
or
( 'quasi-corporation'.'reporting agent identifier' = 'protection provider'.'reporting agent identifier'
and 'quasi-corporation'.'counterparty identifier' = 'protection provider'.'immediate parent undertaking identifier'
and 'quasi-corporation'.'reporting reference date' = 'protection provider'.'reporting reference date')
or
( 'quasi-corporation'.'reporting agent identifier' = 'protection provider'.'reporting agent identifier'
and 'quasi-corporation'.'counterparty identifier' = 'protection provider'.'ultimate parent undertaking identifier'
and 'quasi-corporation'.'reporting reference date' = 'protection provider'.'reporting reference date'))


List of extended attributes of the business rule quasi-corporation omc0119 number of employees mandatory

Name

Data Type

Value

Target Name

business rule classification

(String)

other model constraint

Local Extensions

business rule scope

(String)

Checked within the data delivery

Local Extensions

severity

(String)

signalling

Local Extensions


List of attached objects of the business rule quasi-corporation omc0119 number of employees mandatory

Short Description

Entity Attribute 'quasi-corporation.number of employees'