GS_BU_ITM_IN_VW(SQL View) |
Index Back |
---|---|
Item Business Unit Prompt Viewdefault BU item promt view that will bring back all Items |
SELECT DISTINCT A.BUSINESS_UNIT , A.INV_ITEM_ID , B.DESCR , B.INV_ITEM_GROUP , B.INV_PROD_FAM_CD ,D.ITM_ID_VNDR ,G.CATEGORY_CD ,E.MFG_ID ,E.MFG_ITM_ID , F.UPN_ID FROM PS_BU_ITEMS_INV A , PS_MASTER_ITEM_TBL B LEFT OUTER JOIN PS_ITM_VENDOR D ON (B.SETID =D.SETID AND B.INV_ITEM_ID = D.INV_ITEM_ID) LEFT OUTER JOIN PS_ITM_CAT_VW G ON (B.SETID =G.SETID AND B.CATEGORY_ID = G.CATEGORY_ID ) LEFT OUTER JOIN PS_ITEM_MFG E ON (B.SETID = E.SETID AND B.INV_ITEM_ID = E.INV_ITEM_ID ) LEFT OUTER JOIN PS_ITEM_MFG_UPN_FS F ON (E.SETID = F.SETID AND E.INV_ITEM_ID = F.INV_ITEM_ID AND E.MFG_ID =F.MFG_ID AND E.MFG_ITM_ID = F.MFG_ITM_ID AND F.UPN_TYPE_CD = 'GTIN') , PS_SET_CNTRL_REC C WHERE A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'MASTER_ITEM_TBL' AND B.SETID = C.SETID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.INVENTORY_ITEM = 'Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUIN_NONVW |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | INV_ITEM_GROUP | Character(15) | VARCHAR2(15) NOT NULL |
Item Group
Prompt Table: INV_ITEM_GROUP |
5 | INV_PROD_FAM_CD | Character(10) | VARCHAR2(10) NOT NULL |
Family
Prompt Table: INV_ITEM_FAM |
6 | ITM_ID_VNDR | Character(50) | VARCHAR2(50) NOT NULL | Vendor Item ID |
7 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |
8 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL |
Manufacturer ID
Prompt Table: MFG_VW |
9 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL |
Manufacturer's Item ID
Prompt Table: ITEM_MFG_ID_VW |
10 | UPN_ID | Character(20) | VARCHAR2(20) NOT NULL |
Universal Product Number
Prompt Table: GS1_IN_UPN_VW |