SET_REQUIRED

Resource: Property, Field : Longitude

Description

Longitude is required for all 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

Longitude 

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]*/.NOT.(PropertyType.IN.('Busop')).AND.(.ENTRY. = .EMPTY.))

Syntax only

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

Rule Unique ID

c3892c49-c273-431c-8e43-43d76069e8ee

Rule Number

129