GM_MAX_ROUT_SEQ

(SQL View)
Index Back

Max Routign Seq Num


SELECT BUSINESS_UNIT , GM_TRANS_TYPE , GM_ELEMENTS , GM_ELEMENT_VALUE , MAX(SEQ_NUM) FROM PS_GM_WF_ROUTING WHERE GM_TRANS_TYPE = 'PG' AND GM_ELEMENTS = 'C' AND GM_REQ_APPER = 'Y' GROUP BY BUSINESS_UNIT , GM_TRANS_TYPE , GM_ELEMENTS , GM_ELEMENT_VALUE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 GM_TRANS_TYPE Character(2) VARCHAR2(2) NOT NULL Transaction Type
PB=Protocol Batch Notification
PG=Proposal Component Approval
PM=Milestone Notfication
PN=Protocol Notification
PP=Proposal Notification
PT=Protocol Approval
3 GM_ELEMENTS Character(1) VARCHAR2(1) NOT NULL Element
A=Protocol Approval
B=Protocol Batch Notification
C=Proposal Components
M=Award Milestone
N=Protocol Notification
S=Proposal Status
4 COMPONENT_ID_GR Character(18) VARCHAR2(18) NOT NULL Component ID
5 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence