AR_CONVRSND_SCR(SQL View) |
Index Back |
---|
SELECT B.CUSTOMER_SETID , B.CUST_ID , A.CONTACT_ID , A.EFFDT , A.NAME1 , A.EMAILID FROM PS_CONTACT A , PS_CONTACT_CUST B WHERE A.SETID = B.SETID AND A.CONTACT_ID = B.CONTACT_ID AND A.EFFDT = B.EFFDT AND A.EFF_STATUS = B.EFF_STATUS AND A.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_CONTACT B1 WHERE B1.SETID = A.SETID AND B1.CONTACT_ID = A.CONTACT_ID AND B1.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 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations. |
3 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Contact Identifier for Treasury Contacts
Prompt Table:
CUST_CONTACT
|
4 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
6 | EMAILID | Character(70) | VARCHAR2(70) NOT NULL | A user's E-mail address |