SET_REQUIRED

Resource: Property, Field : NumberOfUnitsInCommunity

Description

When property type is residential lease or residential income, NumberOfUnitsInCommunity is required.

Error Messages

1) ERROR, the property type is 'residential lease' or 'residential income' and the property sub-type is 'condominium', 'townhouse', 'apartment', 'stock cooperative', or 'own your own' and the permission access is not of type administrator, indicate that the field is required.

Fields referenced within this rule

NumberOfUnitsInCommunity 

PropertySubType 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'residential lease' or 'residential income' and the property sub-type is 'condominium', 'townhouse', 'apartment', 'stock cooperative', or 'own your own' and the permission access is not of type administrator, 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 lease' or 'residential income' and the property sub-type is 'condominium', 'townhouse', 'apartment', 'stock cooperative', or 'own your own' and the permission access is not of type administrator and the entry is empty.
(/*[LogicBlk2]*/((PropertyType.IN.('Rlse','Resi')).AND.(PropertySubType.IN.('CONDO','TWNHS','APT','COOP','OYO'))).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(.ENTRY. = .EMPTY.))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.(((PropertyType.IN.('Rlse','Resi')).AND.(PropertySubType.IN.('CONDO','TWNHS','APT','COOP','OYO'))).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

ec877cb6-ac90-4c8f-bf37-716f5b428c1a

Rule Number

152