GM_EC_PERF_LOC2

(SQL View)
Index Back

EDI Prim Project Location INFO

It is for primary project performance site info. It is used by form PHS398 BB.

SELECT '001', A.BUSINESS_UNIT, A.PROPOSAL_ID, A.SUB_PROP_NBR, E.SETID, A.LOCATION, A.DESCR, A.VERSION_ID FROM PS_GM_PROP_J_LOC A, PS_GM_PROP_PROJ C, PS_SET_CNTRL_REC E WHERE C.BUSINESS_UNIT=A.BUSINESS_UNIT AND C.PROPOSAL_ID = A.PROPOSAL_ID AND C.VERSION_ID=A.VERSION_ID AND C.SUB_PROP_NBR = A.SUB_PROP_NBR AND C.PRIMARY_FLAG='Y' AND E.SETCNTRLVALUE=A.BUSINESS_UNIT AND E.RECNAME='LOCATION_TBL' AND E.SETID=(SELECT SETID FROM PS_SET_CNTRL_REC G WHERE G.SETCNTRLVALUE=A.BUSINESS_UNIT AND G.RECNAME='LOCATION_TBL')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 RECORD_ID Character(3) VARCHAR2(3) NOT NULL Record ID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 PROPOSAL_ID Character(25) VARCHAR2(25) NOT NULL Proposal ID
4 SUB_PROP_NBR Character(15) VARCHAR2(15) NOT NULL SUB_PROP_NBR
5 SETID Character(5) VARCHAR2(5) NOT NULL SetID
6 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
8 VERSION_ID Character(7) VARCHAR2(7) NOT NULL Version ID