ACCEPT

Resource: Property, Field : PrivateRemarks

Description

PrivateRemarks must be under 1500 characters.

Error Messages

1) ERROR, 'private remarks' field must be less than 1,500 characters.

Fields referenced within this rule

PrivateRemarks 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, 'private remarks' field must be less than 1,500 characters.|LogicBlk1^FALSE|LogicBlk2^TRUE|LogicBlk3^FALSE]
// Grandfather rule... line below
(/*[LogicBlk1]*/(.ENTRY. = .OLDVALUE.).AND..NOT.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A','U','P')))).OR.
// If entry is not empty and entry date has changed...
IIF((/*[LogicBlk2]*/(.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),
// Then check that the string length is less than 1,500 characters.
(/*[LogicBlk3]*/(STRLEN(.ENTRY.) < 1500)),
// Else accept if entry is empty.
.ENTRY. = .EMPTY.) /  / (STRLEN(.ENTRY.) < 1500).OR.(.ENTRY. = .OLDVALUE.).AND..NOT.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus = 'I')).AND.(StandardStatus.IN.('A','U','P')))

Syntax only

((.ENTRY. = .OLDVALUE.).AND..NOT.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A','U','P')))).OR.IIF(((.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),((STRLEN(.ENTRY.) < 1500)),.ENTRY. = .EMPTY.) /  / (STRLEN(.ENTRY.) < 1500).OR.(.ENTRY. = .OLDVALUE.).AND..NOT.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus = 'I')).AND.(StandardStatus.IN.('A','U','P')))

Rule Unique ID

fe843539-3451-4fd4-8f53-44fd26bd6dbf

Rule Number

173