GM_EC_IN_A_ADDR

(SQL View)
Index Back

EDI ORG ADDR INFO


SELECT 'PROP-AWD', 0, 'O', A.SETID, A.INSTID, B.ADDRESS1, B.ADDRESS2, B.ADDRESS3, B.ADDRESS4, B.CITY, B.COUNTRY, B.COUNTY, B.IN_CITY_LIMIT, B.POSTAL, B.STATE FROM PS_LOCATION_TBL B, PS_GM_IN_ADDRESS A WHERE A.EFFDT=(SELECT MAX(D.EFFDT) FROM PS_GM_IN_ADDRESS D WHERE D.SETID=A.SETID AND D.INSTID=A.INSTID AND D.EFFDT<=%CURRENTDATEIN ) AND A.AWARD_FLAG ='Y' AND B.SETID=A.SETID AND B.LOCATION=A.LOCATION AND B.EFFDT=(SELECT MAX(C.EFFDT) FROM PS_LOCATION_TBL C WHERE C.SETID=B.SETID AND C.LOCATION=B.LOCATION AND C.EFFDT<=%CURRENTDATEIN )

# 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 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
7 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
8 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
9 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
10 CITY Character(30) VARCHAR2(30) NOT NULL City
11 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
12 COUNTY Character(30) VARCHAR2(30) NOT NULL County
13 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit
14 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
15 STATE Character(6) VARCHAR2(6) NOT NULL State