ST_ISSUANCE_BRK(SQL View) |
Index Back |
---|---|
Broker Detail ViewSelf Service Broker and Branch View |
SELECT B.STOCK_ID , B.ST_BROKERAGE_ID , B.ST_BRANCH_ID , B.ADDRESS1 , B.ADDRESS2 , B.ADDRESS3 , B.ADDRESS4 , B.CITY , B.STATE , B.POSTAL , B.CONTACT_NAME , B.PHONE , B.EMAIL_ADDR , B.FAX FROM PS_ST_BRANCH_CNTCT B WHERE B.ST_CONTACT_TYPE IN ('B','Z') AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_ST_BRANCH_CNTCT WHERE STOCK_ID = B.STOCK_ID AND ST_BROKERAGE_ID = B.ST_BROKERAGE_ID AND ST_BRANCH_ID = B.ST_BRANCH_ID AND EFFDT <=%CurrentDateIn AND ST_CONTACT_TYPE = B.ST_CONTACT_TYPE) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | STOCK_ID | Character(10) | VARCHAR2(10) NOT NULL | Stock ID |
2 | ST_BROKERAGE_ID | Character(10) | VARCHAR2(10) NOT NULL | Brokerage ID |
3 | ST_BRANCH_ID | Character(10) | VARCHAR2(10) NOT NULL | Branch Identification |
4 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
5 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
6 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
7 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
8 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
9 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
10 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
11 | CONTACT_NAME | Character(50) | VARCHAR2(50) NOT NULL | Contact Name |
12 | PHONE | Character(24) | VARCHAR2(24) NOT NULL | Telephone |
13 | EMAIL_ADDR | Character(70) | VARCHAR2(70) NOT NULL | Email Address |
14 | FAX | Character(24) | VARCHAR2(24) NOT NULL | Fax Number |