PRODCTLG_LS2_VW(SQL View) |
Index Back |
---|---|
Prod Ctlg Order Prod List |
SELECT DISTINCT CP.SETID_CUSTOMER , CP.CUST_ID , PC.PRODUCT_ID , PI.DESCR , PI.MODEL_NBR , PI.PRODUCT_KIT_FLAG , PI.EFF_STATUS , PI.INV_ITEM_ID FROM PS_PROD_ITEM PI , PS_PRODCTLG_PLST PC , PS_PRODCTLG_CSTLST CP WHERE PI.SETID = PC.SETID_PRODUCT AND PI.PRODUCT_ID = PC.PRODUCT_ID AND PC.EFFDT = CP.EFFDT AND PC.SETID = CP.SETID AND PC.CATALOG_NBR = CP.CATALOG_NBR 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | MODEL_NBR | Character(18) | VARCHAR2(18) NOT NULL | Model Number |
6 | PRODUCT_KIT_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Product Kit |
7 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
8 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |