CNTRCT_MFG_VW

(SQL View)
Index Back

Mfg Cntrct Relationship VW

PO002 Manufacturer Contract, Manufactuer contract list view.

SELECT A.SETID , A.CNTRCT_ID_DST , B.VERSION_NBR , A.CNTRCT_ID , D.DESCR60 , C.MFG_ID , C.CNTRCT_BEGIN_DT , C.CNTRCT_EXPIRE_DT , C.CNTRCT_STATUS , A.VERSION_NBR , C.VERSION_STATUS , ( SELECT SUM(AMT_LINE_RELEASED) FROM PS_CNTRCT_LIN_RLS WHERE SETID = A.SETID AND CNTRCT_ID = A.CNTRCT_ID ) , C.CURRENCY_CD , A.RELTN_STATUS , A.CNTRCT_MARKUP , C.CONTROL_TYPE FROM PS_CNTRCT_MFG_DST A , PS_CNTRCT_HDR B , PS_CNTRCT_HDR C , PS_MANUFACTURER D WHERE A.SETID = B.SETID AND A.CNTRCT_ID_DST = B.CNTRCT_ID AND A.SETID = C.SETID AND A.CNTRCT_ID = C.CNTRCT_ID AND A.VERSION_NBR = C.VERSION_NBR AND C.SETID_MFG = D.SETID AND C.MFG_ID = D.MFG_ID

# 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 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number
4 CNTRCT_ID_MFG Character(25) VARCHAR2(25) NOT NULL Contract ID To
5 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
6 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
7 CNTRCT_BEGIN_DT Date(10) DATE NOT NULL Contract Begin Date
8 CNTRCT_EXPIRE_DT Date(10) DATE Expire Date
9 CNTRCT_STATUS Character(1) VARCHAR2(1) NOT NULL Contract Status
A=Approved
C=Closed
H=On-Hold
O=Open
P=Pre-Approved
X=Canceled
10 VERSION_NBR_MFG Number(5,0) INTEGER NOT NULL Contract Version number
11 VERSION_STATUS Character(1) VARCHAR2(1) NOT NULL Contract version status
C=Current
D=Draft
H=History
12 TOTAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Amount
13 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Prompt Table: CURRENCY_CD_TBL

14 RELTN_STATUS Character(1) VARCHAR2(1) NOT NULL Relationship Status
A=Active
I=Inactive
15 CNTRCT_MARKUP Signed Number(10,4) DECIMAL(8,4) NOT NULL PO002
16 CONTROL_TYPE Character(4) VARCHAR2(4) NOT NULL PO002 Manufacturer Contract
BU=Business Unit
CDOM=Contract Domain
SHIP=Ship To
X=Not Used