SELECT
ApprovalRequest.approvalRequestID,
ApprovalRequest.versionNo,
ApprovalRequest.requestedDate,
ApprovalRequest.requestedByUser,
ApprovalRequest.approvalDecisionDate,
ApprovalRequest.approvalDecisionByUser,
ApprovalRequest.documentRefNo,
ApprovalRequest.approverTypeCode,
ApprovalRequest.methodCode,
ApprovalRequest.automaticallyApprovedInd,
ApprovalRequest.status,
ApprovalRequest.rejectionReason,
ApprovalRequest.rejectionComments
INTO
:approvalRequestID,
:versionNo,
:requestedDate,
:requestedByUser,
:approvalDecisionDate,
:approvalDecisionByUser,
:documentRefNo,
:approverTypeCode,
:methodCode,
:automaticallyApprovedInd,
:status,
:rejectionReason,
:rejectionComments
FROM
EDApprovalRequest,
ApprovalRequest
WHERE EDApprovalRequest.evidenceDescriptorID = :evidenceDescriptorID
AND EDApprovalRequest.currentRequestInd = :currentRequestInd
AND ApprovalRequest.approvalRequestID = EDApprovalRequest.approvalRequestID
|