BI_INV_DLVRY_VW(SQL View) |
Index Back |
---|---|
Contacts setup for inv dlvry.Customer/Contacts setup for invoice delivery. |
SELECT CD.SETID ,CD.CONTACT_ID ,CD.CUSTOMER_SETID ,CD.CUST_ID ,CD.EFFDT ,CD.COMM_METHOD FROM PS_CONTACT A , PS_CONTACT_CST_DOC CD WHERE A.SETID = CD.SETID AND A.CONTACT_ID = CD.CONTACT_ID AND A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_CONTACT A_ED WHERE A.SETID = A_ED.SETID AND A.CONTACT_ID = A_ED.CONTACT_ID AND A_ED.EFFDT <= %CurrentDateIn) AND CD.EFFDT = ( SELECT MAX(C_ED.EFFDT) FROM PS_CONTACT_CST_DOC C_ED WHERE CD.SETID = C_ED.SETID AND CD.CONTACT_ID = C_ED.CONTACT_ID AND C_ED.EFFDT <= A.EFFDT) AND CD.DOCUMENT_CD = 'INVC' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | CONTACT_ID | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
3 | CUSTOMER_SETID | Character(5) | VARCHAR2(5) NOT NULL | Customer SetID |
4 | 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. |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | COMM_METHOD | Character(1) | VARCHAR2(1) NOT NULL |
Preferred Communication
A=Email Invoice as Attachment C=Call E=Email only F=Fax I=XML only M=Standard Mail N=Email Notification P=Email & Print R=XML & Print |