AddComments

Syntax

AddComments(&username, &rec, &comments)

Description

Use this method to add comments in the approval process.

Parameters

Parameter Description

&username

The user name for the current user, as string.

&rec

The record defined for the approval processes in the Transaction Approval Levels in the Transaction Registry, as record.

&comments

Comments for the approval transaction, as string.

Returns

None.

Example

&approvalMgr.AddComments(getUserName(%OperatorId),⇒
 &reqRecord, PV_REQ_APPPG_WK.COMMENTS_2000);