>Why not? A bussines rule can be composed for a lot of sub-rules. For example, if you have a bussines rule validator for a client, this rules must met:
>
>1- ID must exist
>2- ID Must have this format...
>3- Birthdate must be in this format...
>4- Must create a credit account only if the age is 18+
>5- Etc...
>
>And maybe specific validator for each common rule (empty/no empty, regular expresion match, type validator and pure bussines validator) must run and return true to the main bussines rule validator...
What about returning strings like "M" or "N", if I have a rule that needs to identify what the "type" of a record should be, is it ok for the rule to return that, ie:
If ThisRecordIsAType
RETURN "A"
ELSE
RETURN "B"
ENDIF
Thanks
Kev