GM_CNTCT_SH_VW(SQL View) |
Index Back |
---|---|
Grants Contact Ship ToThis is a copy of CUST_CNCT_SH_VW |
select a.setid, a.cust_id, a.cntct_seq_num, a.effdt, a.eff_status, A.NAME1 from PS_CUST_CONTACT a where a.eff_status = 'A' and a.effdt = (select max(b.effdt) from PS_CUST_CONTACT b where b.setid = a.setid and b.cust_id = a.cust_id and b.cntct_seq_num = a.cntct_seq_num and b.effdt <= %currentdatein) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID |
2 | AWARD_SPONSOR_ID | Character(15) | VARCHAR2(15) NOT NULL | Awarding Sponsor |
3 | CNTCT_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Contact Sequence Number |
4 | EFFDT | Date(10) | DATE | Effective Date |
5 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |