Plaintiff() Function

Plaintiff() first searches for a matter note with a note type of PLAINTS, then returns the entire contents of that note (presumably containing a multi-line caption for the plaintiffs for a court form). If no such note is found, the function searches for a name linked to the matter with a link type of PLAINT and returns the Label1 value for that record.