VENDOR_AR_VW3(SQL View) |
Index Back |
---|---|
PS/AR Supplier ViewUsed as a search record for several supplier related panel groups |
SELECT A.SETID , A.VENDOR_ID , A.NAME1 , A.VENDOR_NAME_SHORT , A.CUST_SETID , A.CUST_ID , A.VNDR_AFFILIATE FROM PS_VENDOR A , PS_VENDOR_PAY B WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.VENDOR_STATUS = 'A' AND A.VENDOR_PERSISTENCE = 'S' AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_VENDOR_PAY WHERE SETID = B.SETID AND VENDOR_ID = B.VENDOR_ID AND VNDR_LOC = B.VNDR_LOC AND SEQ_NUM = B.SEQ_NUM AND EFF_STATUS = 'A' AND EFFDT <= %CurrentDateIn AND PYMNT_METHOD = 'EFT') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Vendor SetID
Prompt Table: SP_SETID_NONVW |
2 | EFT_VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
3 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
4 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
5 | CUST_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Customer SetID
Prompt Table: SP_SETID_NONVW |
6 | 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.
Prompt Table: CUST_VNDR_AR_VW |
7 | VNDR_AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL | Vendor Affiliate |