PRODCTLG_LS2_LN(SQL View) |
Index Back |
---|---|
Related Language RecordRelated Language Record for PRODCTLG_LS2_VW |
SELECT DISTINCT CP.SETID_CUSTOMER , CP.CUST_ID , PC.PRODUCT_ID , OP.LANGUAGE_CD , PI.DESCR FROM PS_PROD_ITEM PI , PS_PRODCTLG_PLST PC , PS_PRODCTLG_CSTLST CP , PS_PROD_ITEM_LNG OP WHERE PI.SETID = PC.SETID_PRODUCT AND PI.PRODUCT_ID = PC.PRODUCT_ID AND PC.EFFDT = CP.EFFDT AND PI.SETID = OP.SETID AND PI.PRODUCT_ID = OP.PRODUCT_ID AND PC.EFF_STATUS_GRP = 'A' AND PC.EFFDT_PROD_GRP = ( SELECT MAX(EFFDT_PROD_GRP) FROM PS_PRODCTLG_PLST PC3 WHERE PC3.SETID = PC.SETID AND PC3.CATALOG_NBR = PC.CATALOG_NBR AND PC3.EFFDT = PC.EFFDT AND PC3.PRODUCT_ID = PC.PRODUCT_ID AND PC3.EFFDT_PROD_GRP <= %CurrentDateIn) |
# | 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 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |