900-APPEND-CMT
900-APPEND-CMT-<FileName> routine appends the text in the variable to the comment attachment for the current record.
Using the API in a Program
To preserve spacing within the comment, you can set the CMT-<Prefix>-EXT-TEXT-SZ
variable to the
size of the text being appended to the comment.
A value of zero in the CMT-<Prefix>-EXT-TEXT-SZ
variable tells the API to trim
trailing spaces. Lawson recommends using a value of zero for this
variable when the end of the comment is being appended.
Programming Example
This example appends data in CMTCOM-EXT-TEXT
to a comment attached to a record in the COMPANY file.
|