CA_MYCA_SLD_LVW(SQL View) |
Index Back |
---|---|
Sold To Customers |
SELECT DISTINCT CA.OPRID , CUST.CUST_ID , CUST.LANGUAGE_CD , CUST.NAME1 FROM PS_CA_CONTR_HDR HDR , PS_CA_OPRID_CONTR CA , PS_CUSTOMER_LANG CUST , PS_SET_CNTRL_REC REC WHERE CA.CONTRACT_NUM = HDR.CONTRACT_NUM AND HDR.SOLD_TO_CUST_ID = CUST.CUST_ID AND REC.SETCNTRLVALUE = HDR.BUSINESS_UNIT AND REC.RECNAME = 'CUSTOMER' AND REC.SETID = CUST.SETID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |