Operation Details |
Description: | Reads the last Appeal stage on an Issue. |
Sterotype: | ns |
SQL |
SELECT appealStageConfID INTO :appealStageConfID FROM AppealStageConfiguration WHERE AppealProcessID = :appealProcessID AND appealStageConfID NOT IN ( SELECT parentStageConfID FROM AppealStageConfiguration WHERE AppealProcessID = :appealProcessID AND parentStageConfID IS NOT NULL ) |