LaunchManager

Syntax

LaunchManager(&awprcs_id, &hdr_ , &requester_)

Description

Launches the Approval Framework process.

Parameters

Parameter Description

&awprcs_id

The approval Process ID that has been defined in the Transaction Registry, as string.

&hdr_

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

&requester_

The Operator ID of the user initiating the approval process, as string.

Returns

None.

Example

This is an example to launch Approval Framework for VoucherApproval.

import EOAW_CORE:*;
Component EOAW_CORE:LaunchManager &launchMgr;

If VOUCHER.VCHR_APPRVL_FLG = "W" Then
   &vchrRecord = CreateRecord(Record.VCHR_AF_HDR_VW);⇒
   GetLevel0()(1).GetRecord(Record.VOUCHER).CopyFieldsTo(&vchrRecord);
   &launchMgr = create EOAW_CORE:LaunchManager("VoucherApproval", &vchrRecord,⇒
 %OperatorId);