DoDeny

Syntax

DoDeny(&rec)

Description

Use this method to deny approval on a record instance. If the record is a header record, then the approval process ends. If the record is a line-level record, that particular line's processing ends, while the other records in that transaction continue.

Parameters

Parameter Description

&rec

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

Returns

None.

Example

&approvalMgr.DoDeny(&reqRecord);