TRX_MAP_COMM_VW(SQL View) |
Index Back |
---|---|
Deal Comments Map ApprovalTreasury Deal Approval Comments for Map Approvals |
SELECT C.EOAWTHREAD_ID , C.EOAWPRCS_ID , C.EOAW_SEQ_NBR , C.STAGE_NBR , C.EOAW_OPRID , C.ORIGINATORID , C.EOAWDTTM_MODIFIED , X.BUSINESS_UNIT , X.TREAS_HEADER_ID , X.INSTRUMENT_TYPE , C.COMMENTS FROM PS_EOAW_COMMENTS C , PS_TRX_AF_XREF X WHERE C.EOAWTHREAD_ID = X.EOAWTHREAD_ID AND C.EOAWPRCS_ID = X.EOAWPRCS_ID AND C.EOAWPRCS_ID = 'TreasuryDealApproval' AND C.EOAW_SEQ_NBR = ( SELECT MAX(V.EOAW_SEQ_NBR) FROM PS_EOAW_COMMENTS V WHERE V.EOAWTHREAD_ID = C.EOAWTHREAD_ID AND V.EOAWPRCS_ID = C.EOAWPRCS_ID AND V.STAGE_NBR = C.STAGE_NBR AND V.EOAWDTTM_MODIFIED <= %CurrentDateTimeIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EOAWTHREAD_ID | Number(15,0) | DECIMAL(15) NOT NULL | Approval Framework Thread ID |
2 | EOAWPRCS_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Process ID |
3 | EOAW_SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | EOAW comment sequence number |
4 | STAGE_NBR | Number(3,0) | SMALLINT NOT NULL | Stage Number |
5 | EOAW_OPRID | Character(30) | VARCHAR2(30) NOT NULL | Operator ID |
6 | ORIGINATORID | Character(30) | VARCHAR2(30) NOT NULL | Originator Identifier |
7 | EOAWDTTM_MODIFIED | DateTime(26) | TIMESTAMP | Datetime modified |
8 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
9 | TREAS_HEADER_ID | Character(12) | VARCHAR2(12) NOT NULL |
The unique key identifier for a given deal transaction.
Prompt Table: TRX_HEADER_TR |
10 | INSTRUMENT_TYPE | Character(10) | VARCHAR2(10) NOT NULL | Instrument type |
11 | COMMENTS | Long Character | CLOB | Comment |