AR_CARD_SS_LVW(SQL View) |
Index Back |
---|
SELECT DISTINCT S.SETID , H.CUST_ID , C1.LANGUAGE_CD , C1.NAME1 FROM PS_ITEM H , PS_CUSTOMER C , PS_CUSTOMER_LANG C1 , PS_SET_CNTRL_REC S WHERE C.SETID = C1.SETID AND C.CUST_ID = C1.CUST_ID AND H.CUST_ID = C.CUST_ID AND H.ITEM_STATUS = 'O' AND H.PAYMENT_METHOD IN ('CC', 'CHK') AND S.RECNAME = 'CUSTOMER' AND S.SETCNTRLVALUE = H.BUSINESS_UNIT AND H.ITEM NOT IN ( SELECT X.ITEM FROM PS_ITEM X , PS_CCPAY_PEND_VW Y WHERE X.BUSINESS_UNIT = Y.BUSINESS_UNIT AND X.CUST_ID = Y.CUST_ID AND X.ITEM = Y.ITEM AND X.ITEM_LINE = Y.ITEM_LINE) |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |