GM_CUST_ADD2_VW(SQL View) |
Index Back |
---|---|
Grants Cust Bill Addr |
select a.setid, a.cust_id, a.address_seq_num, a.descr from ps_cust_addr_seq a, PS_CUST_ADDRESS b where a.setid = b.setid and a.cust_id= b.cust_id and a.address_seq_num = b.address_seq_num and b.effdt = (select max(effdt) from PS_CUST_ADDRESS where setid=b.setid and cust_id=b.cust_id and address_seq_num=b.address_seq_num and effdt <= %currentdatein) and b.eff_status='A' |
# | 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 Prompt Table: SP_SETID_NONVW |
2 | SPONSOR_ID | Character(15) | VARCHAR2(15) NOT NULL | SPONSOR_ID |
3 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |