Business rule immovable property spc0015 country is domestic

Card of business rule immovable property spc0015 country is domestic

Name

immovable property spc0015 country is domestic

Code

spc0015

Comment

Country must correspond to the subtype that is used. Immovable property in The Netherlands is domestic and immovable porperty not in The Netherlands is foreign.

Rule Type

Constraint


Server expression of the business rule immovable property spc0015 country is domestic

If 'immovable property'.'country' = "NL"
Then
'immovable property'.'protection identifier' = 'domestic immovable property'.'reporting agent identifier' and
'immovable property'.'reporting agent identifier' = 'domestic immovable property'.'protection identifier' and
'immovable property'.'reporting reference date' = 'domestic immovable property'.'reporting reference date'


If 'immovable property'.'country' <> "NL"
Then
'immovable property'.'protection identifier' = 'foreign immovable property'.'reporting agent identifier' and
'immovable property'.'reporting agent identifier' = 'foreign immovable property'.'protection identifier' and
'immovable property'.'reporting reference date' = 'foreign immovable property'.'reporting reference date'



List of extended attributes of the business rule immovable property spc0015 country is domestic

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 immovable property spc0015 country is domestic

Short Description

Inheritance 'country'