SET_REQUIRED

Resource: Property, Field : Latitude

Description

Latitude is required except for business opportunity.

Error Messages

1) ERROR, the property type is not 'business opportunity', indicate that the field is required.

Fields referenced within this rule

Latitude 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is not 'business opportunity', indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE]
// The grandfather clause is met and...
(/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.
// the property type is not 'business opportunity' and the entry is empty.
(/*[LogicBlk2]*/(PropertyType != ('Busop')).AND.(.ENTRY. = .EMPTY.))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.((PropertyType != ('Busop')).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

6a0acff6-9ea7-4e45-9698-a751b73f9b21

Rule Number

101