GM_SUBAWD_DES_V(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT ,A.PROPOSAL_ID ,A.VERSION_ID ,A.NAME_PREFIX ,A.NAME_SUFFIX ,A.NAME ,A.FIRST_NAME ,A.LAST_NAME ,A.MIDDLE_NAME ,%Substring(A.CONGRESSIONAL_DIST, 1, 6) ,A.ADDRESS1 ,A.ADDRESS2 ,A.ADDRESS3 ,A.ADDRESS4 ,A.CITY ,A.STATE ,A.COUNTRY ,A.COUNTY ,A.POSTAL ,A.GM_TIER ,A.ORG_LEG_NAME ,P.STATE_FORMAT ,P.COUNTRY_FORMAT FROM PS_GM_DISC_SUB_AWD A , PS_GM_XML_PROPOSAL B , PS_GM_STATE_CTRY_V P WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROPOSAL_ID = B.PROPOSAL_ID AND A.VERSION_ID = B.VERSION_ID AND P.STATE = A.STATE AND P.COUNTRY = A.COUNTRY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PROPOSAL_ID | Character(25) | VARCHAR2(25) NOT NULL | Proposal ID |
3 | VERSION_ID | Character(7) | VARCHAR2(7) NOT NULL | Version ID |
4 | NAME_PREFIX | Character(4) | VARCHAR2(4) NOT NULL |
Name Prefix
1=Mr. 2=Mrs. 3=Ms. |
5 | NAME_SUFFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Suffix |
6 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
7 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
8 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
9 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Middle Name |
10 | CONGRESSIONAL_DIST | Character(40) | VARCHAR2(40) NOT NULL | Congressional District |
11 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
12 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
13 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
14 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
15 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
16 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
17 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
18 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
19 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
20 | GM_TIER | Number(2,0) | SMALLINT NOT NULL | Tier |
21 | ORG_LEG_NAME | Character(60) | VARCHAR2(60) NOT NULL | Organization Legal Name |
22 | STATE_FORMAT | Character(40) | VARCHAR2(40) NOT NULL | STATE FORMAT |
23 | COUNTRY_FORMAT | Character(40) | VARCHAR2(40) NOT NULL | COUNTRY FORMAT |