AR_CUST_AL2_VW(SQL View) |
Index Back |
---|---|
AR All CustomersActive or Inactive Status Customers |
SELECT DISTINCT C.SETID , C.CUST_ID , A.CITY , C.NAME1 , B.CR_ANALYST , B.COLLECTOR , A.STATE FROM PS_CUSTOMER C , PS_CUST_OPTION B , PS_CUST_ADDRESS A WHERE C.CUST_STATUS = 'A' AND C.SETID = B.SETID AND C.CUST_ID = B.CUST_ID AND %EffdtCheck(CUST_OPTION, B, %CURRENTDATEIN) AND B.EFF_STATUS='A' AND C.SETID = A.SETID AND C.CUST_ID = A.CUST_ID AND %EffdtCheck(CUST_ADDRESS, A, %CURRENTDATEIN) AND A.EFF_STATUS='A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SP_SETID_NONVW |
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 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
5 | CR_ANALYST | Character(8) | VARCHAR2(8) NOT NULL | Specifies the personnel code for the person who works with a customer to establish credit limits and payment terms. This field is required for a bill-to customer. |
6 | COLLECTOR | Character(8) | VARCHAR2(8) NOT NULL | Specifies the personnel code for the person who works with a customer to collect overdue payments. |
7 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |