GM_EC_IN_INFO

(SQL View)
Index Back

EDI Organization ID


SELECT DISTINCT 'PROP-AWD' , 0 , 'O' , B.SETID , B.INSTID , C.ORG_LEG_NAME , B.FEDERAL_EIN_GM FROM PS_GM_AWARD A , PS_GM_IN_INFO B , PS_GM_INSTITUTION C WHERE B.SETID=( SELECT SETID FROM PS_SET_CNTRL_REC G WHERE G.SETCNTRLVALUE=A.BUSINESS_UNIT AND G.RECNAME='GM_IN_INFO') AND B.EFFDT=( SELECT MAX(E.EFFDT) FROM PS_GM_IN_INFO E WHERE E.SETID = B.SETID AND E.INSTID = B.INSTID AND E.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND C.SETID=B.SETID AND C.INSTID=B.INSTID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 ECTRANSID Character(15) VARCHAR2(15) NOT NULL Electronic Commerce Transaction ID. Used in EDI Manager. One of three(3) Key Fields(ECTRANSID, ECTRANSINOUTSW, ECQUEUEINSTANCE) used in Electronic Commerce(EC) Staging Tables. ECTRANSID in EDI Manager identifies a transaction type(like "PO" for Purchase Orders)
2 ECQUEUEINSTANCE Number(9,0) DECIMAL(9) NOT NULL Electronic Commerce Queue Instance ID. Used in EDI Manager. One of three(3) Key Fields(ECTRANSID, ECTRANSINOUTSW, ECQUEUEINSTANCE) used in Electronic Commerce(EC) Staging Tables.
3 ECTRANSINOUTSW Character(1) VARCHAR2(1) NOT NULL Electronic Commerce Inbound/Outbound Switch. Used in EDI Manager. One of three(3) Key Fields(ECTRANSID, ECTRANSINOUTSW, ECQUEUEINSTANCE) used in Electronic Commerce(EC) Staging Tables. The field value is "I" for Inbound Transactions, and "O" for Outbound.
I=Inbound
O=Outbound
4 SETID Character(5) VARCHAR2(5) NOT NULL SetID
5 INSTID Character(5) VARCHAR2(5) NOT NULL Institution ID
6 ORG_LEG_NAME Character(60) VARCHAR2(60) NOT NULL Organization Legal Name
7 FEDERAL_EIN_GM Character(30) VARCHAR2(30) NOT NULL Federal EIN