GS1_ITM_STCK_VW

(SQL View)
Index Back

Item Master Prompt View

SetId item promt view that will bring back all Items 12/19/07 MM 1650774001 Modified Code so that Maintain Parlocation page will not allow to add Non Stockable item when Replenishment option selected as Stock.

SELECT DISTINCT M.SETID , M.INV_ITEM_ID , M.DESCR , M.INV_ITEM_GROUP , M.INV_PROD_FAM_CD ,D.ITM_ID_VNDR ,G.CATEGORY_CD ,E.MFG_ID ,E.MFG_ITM_ID , F.UPN_ID , M.SERIAL_CONTROL , M.LOT_CONTROL FROM PS_MASTER_ITEM_TBL M LEFT OUTER JOIN PS_ITM_VENDOR D ON (M.SETID =D.SETID AND M.INV_ITEM_ID = D.INV_ITEM_ID) LEFT OUTER JOIN PS_ITM_CAT_VW G ON (M.SETID =G.SETID AND M.CATEGORY_ID = G.CATEGORY_ID ) LEFT OUTER JOIN PS_ITEM_MFG E ON (M.SETID = E.SETID AND M.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_BU_ITEMS_INV B , PS_SET_CNTRL_REC S WHERE M.ITM_STATUS_CURRENT IN ('1','2','3','4') AND M.INV_ITEM_ID = B.INV_ITEM_ID AND S.SETCNTRLVALUE = B.BUSINESS_UNIT AND S.RECNAME = 'MASTER_ITEM_TBL' AND S.SETID = M.SETID AND M.INVENTORY_ITEM = 'Y'

  • Related Language Record: MST_ITM_STK_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

    Prompt Table: MST_ITM_VW4

    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

    11 SERIAL_CONTROL Character(1) VARCHAR2(1) NOT NULL Serial Control
    N=N
    Y=Y
    12 LOT_CONTROL Character(1) VARCHAR2(1) NOT NULL Lot Control
    N=N
    Y=Y