GS1_BU_ITM_LT_V

(SQL View)
Index Back

Item Business Unit Prompt View


SELECT DISTINCT A.BUSINESS_UNIT , A.INV_ITEM_ID , B.DESCR , B.INV_ITEM_GROUP , B.INV_PROD_FAM_CD , B1.ITM_ID_VNDR ,C1.CATEGORY_CD , E1.MFG_ID ,E1.MFG_ITM_ID ,F1.UPN_ID , B.SERIAL_CONTROL , B.LOT_CONTROL FROM PS_BU_ITEMS_INV A , PS_SET_CNTRL_REC C , PS_MASTER_ITEM_TBL B LEFT OUTER JOIN PS_ITM_VENDOR B1 ON (B.SETID =B1.SETID AND B.INV_ITEM_ID = B1.INV_ITEM_ID) LEFT OUTER JOIN PS_ITM_CAT_VW C1 ON (B.SETID =C1.SETID AND B.CATEGORY_ID = C1.CATEGORY_ID ) LEFT OUTER JOIN PS_ITEM_MFG E1 ON (B.SETID = E1.SETID AND B.INV_ITEM_ID = E1.INV_ITEM_ID ) LEFT OUTER JOIN PS_ITEM_MFG_UPN_FS F1 ON (E1.SETID = F1.SETID AND E1.INV_ITEM_ID = F1.INV_ITEM_ID AND E1.MFG_ID =F1.MFG_ID AND E1.MFG_ITM_ID = F1.MFG_ITM_ID AND F1.UPN_TYPE_CD = 'GTIN') 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.ITM_STATUS_CURRENT IN ('1','3') AND A.INVENTORY_ITEM = 'Y' AND B.LOT_CONTROL = 'Y'

  • Related Language Record: BU_ITM_LOT_LVW
  • # 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

    Prompt Table: BU_ITM_INV_VW2

    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