CNTRCT_EPO_VW

(SQL View)
Index Back

Contract PO Release Events


select A.SETID, A.CNTRCT_ID, B.BUSINESS_UNIT, B.PO_ID, A.RELEASE_NBR, 'PO', A.EVENT_STATUS, B.CURRENCY_CD, SUM(B.AMT_ORDERED) from PS_CNTRCT_EVT_PO A, PS_PO_LN_ORDER_VW B where A.BUSINESS_UNIT = B.BUSINESS_UNIT and A.PO_ID = B.PO_ID and A.LINE_NBR = B.LINE_NBR group by A.SETID, A.CNTRCT_ID, B.BUSINESS_UNIT, B.PO_ID, A.RELEASE_NBR, A.EVENT_STATUS, B.CURRENCY_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 TRANSACTION_ID Character(10) VARCHAR2(10) NOT NULL Transaction ID
5 RELEASE_NBR Number(5,0) INTEGER NOT NULL Release Number
6 CNTRCT_EVENT_TYPE Character(2) VARCHAR2(2) NOT NULL Event Type
PO=PO Release
RC=Receipt
RQ=Requisition
VC=Voucher
7 EVENT_STATUS Character(2) VARCHAR2(2) NOT NULL Event Status
A=Active
C=Closed
I=Ineligible
X=Canceled
8 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
9 TTL_MERCH_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amount