PRD_PTSF_UPCLVW(SQL View) |
Index Back |
---|---|
Customer Product by UPC |
SELECT PI.SETID , IT.UPC_ID , PI.INV_ITEM_ID , PI.PRODUCT_ID , PIL.LANGUAGE_CD , PIL.DESCR FROM PS_PROD_ITEM_LNG PIL , PS_PROD_ITEM PI , PS_INV_ITEMS IT , PS_SET_CNTRL_REC SC WHERE SC.SETCNTRLVALUE = IT.SETID AND SC.RECNAME = 'PROD_ITEM' AND PI.SETID = SC.SETID AND PI.INV_ITEM_ID = IT.INV_ITEM_ID AND PI.PRODUCT_USE <> '2' AND IT.UPC_ID <> ' ' AND PI.EFF_STATUS = 'A' AND %EffdtCheck(INV_ITEMS IT2, IT, %CurrentDateIn) AND %Join(COMMON_KEYS, PROD_ITEM_LNG PIL, PROD_ITEM PI) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | UPC_ID | Character(18) | VARCHAR2(18) NOT NULL | Uniform Product Code ID |
3 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
4 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |