The
editnote function displays the note entry dialog box for adding or changing the note for a field or other dictionary symbol. You can use this function to force the collection of note text. The operator can always create or edit a note manually by pressing
Ctrl+N (on desktop CSEntry) or by clicking on the Notes button on mobile CSEntry.
If no arguments are supplied, the note for the current field is displayed for editing. The optional argument
dictionary_symbol allows you to edit the note for a dictionary item, record, or level. If using the dictionary name, the case note is edited. Another optional string argument,
operator_id, allows you to edit the note for a particular
operator. If no operator ID is supplied, then the note for the current operator will be edited.
The function returns a string containing the note text. If there is no note, the length of the string will be 0.