CUST_PTSFSL_LVW(SQL View) |
Index Back |
---|---|
Customer Search Vw Related LngCustomer Search Vw Related Lng Date Init. Issue # Description 011107 JJM 1166712000 Added NAME2 for enhanced search |
SELECT A.SETID , A.CUST_ID , C.ADDRESS_SEQ_NUM , A.LANGUAGE_CD , A.NAME1 FROM PS_CUSTOMER_LANG A , PS_CUSTOMER CUST , PS_CUST_ADDRESS C WHERE A.SETID = C.SETID AND A.CUST_ID = C.CUST_ID AND %EffdtCheck(cust_address,C,%currentdatein) AND C.eff_status='A' AND CUST.SETID = A.SETID AND CUST.CUST_ID = A.CUST_ID AND CUST.CUST_STATUS = 'A' AND CUST.EXP_PENDING = 'N' AND CUST.SOLD_TO_FLG = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | 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 | ADDRESS_SEQ_SOLD | Number(5,0) | INTEGER NOT NULL | Primary Address - Sold To |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |