SET_REQUIRED

Resource: Property, Field : AttachedGarageYN

Description

When GarageSpaces is greater then 1, AttachedGarageYN is required for Residential, Residential Lease and Manufacutured in Park.

Error Messages

1) ERROR, the property type is 'residential', 'residential lease', or 'manfactured in park' and the number of garage spaces is greater than or equal to 1, indicate that the field is required.

Fields referenced within this rule

AttachedGarageYN 

GarageSpaces 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'residential', 'residential lease', or 'manfactured in park' and the number of garage spaces is greater than or equal to 1, indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE]
// Grandfather clause - Entry or old entry value is not empty or the last standand status was empty or has transitioned from 'incomplete' to 'active' and...
(/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.
// Property Type is 'residential', 'residential lease', or 'manfactured in park' and the number of garage spaces is greater than or equal to 1 and the entry is empty.
(/*[LogicBlk2]*/PropertyType.IN.('Resi','Rlse','Manu').AND.GarageSpaces >= 1.0.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','Rlse','Manu').AND.GarageSpaces >= 1.0.AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

af533cf6-153b-4eb5-a23c-7e2b96af18a5

Rule Number

11