SET_REQUIRED

Resource: Property, Field : YearBuilt

Description

When property type is residential, residential income, residential lease and manufactured in park, YearBuilt is required.

Error Messages

1) ERROR, the property type is 'residential', 'residential income', 'residential lease', or 'manufactured in park', indicate that the field is required.

Fields referenced within this rule

PropertyType 

StandardStatus 

YearBuilt 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'residential', 'residential income', 'residential lease', or 'manufactured in park', indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE]
// The grandfather clause is met or...
(/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.
// the property type is 'residential', 'residential income', 'residential lease', or 'manufactured in park' and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Resi','Rinc','Rlse','Manu')).AND.(.ENTRY. = .EMPTY.))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.((PropertyType.IN.('Resi','Rinc','Rlse','Manu')).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

7ca36129-1090-4a82-ba89-e8844e49e0d8

Rule Number

216