CM_INTRUNIT_LVW(SQL View) |
Index Back |
---|---|
InterUnit viewGMG: 02/1999 R-CJOHNS-0E8DU 06/06/00 ST Create rel lang vw for - CM_INTERUNIT_VW |
SELECT %Substring(D.SETCNTRLVALUE, 1, 5) , A.CUST_ID , A.EFFDT , B.LANGUAGE_CD , B.NAME1 FROM PS_CUST_OPTION A , PS_CUSTOMER_LANG B , PS_CUSTOMER C , PS_SET_CNTRL_REC D WHERE A.SETID = B.SETID AND A.CUST_ID = B.CUST_ID AND A.SETID = C.SETID AND A.CUST_ID = C.CUST_ID AND A.INTERUNIT_FLG = 'Y' AND C.SHIP_TO_FLG = 'Y' AND C.BILL_TO_FLG = 'Y' AND C.SETID = D.SETID AND D.RECNAME = 'CUSTOMER' AND C.CUST_STATUS IN ('A', 'I') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
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 | EFFDT | Date(10) | DATE | Effective Date |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |