INV_RESVR_LN_VW

(SQL View)
Index Back

Item Business Unit Prompt View

Item Business Unit Prompt View for Online Reservations

SELECT A.BUSINESS_UNIT , A.INV_ITEM_ID , L.LANGUAGE_CD , L.DESCR FROM PS_BU_ITEMS_INV A , PS_MASTER_ITEM_TBL B , PS_SET_CNTRL_REC C , PS_DF_SETUP_INV DI , PS_MASTER_ITM_LANG L WHERE A.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'MASTER_ITEM_TBL' AND B.SETID = C.SETID AND B.SETID = L.SETID AND L.SETID = C.SETID AND B.INV_ITEM_ID = L.INV_ITEM_ID AND A.INV_ITEM_ID = B.INV_ITEM_ID AND A.ITM_STATUS_CURRENT IN ('1','3') AND((DI.SOFT_ALLOC_FLG = 'Y' AND NOT EXISTS( SELECT 'X' FROM PS_DF_SETUP_IT_INV DFI WHERE DFI.BUSINESS_UNIT = DI.BUSINESS_UNIT AND DFI.INV_ITEM_ID = B.INV_ITEM_ID AND DFI.SOFT_ALLOC_FLG = 'N')) OR (DI.SOFT_ALLOC_FLG = 'N' AND EXISTS( SELECT 'X' FROM PS_DF_SETUP_IT_INV DFX WHERE DFX.BUSINESS_UNIT = DI.BUSINESS_UNIT AND DFX.INV_ITEM_ID = B.INV_ITEM_ID AND DFX.SOFT_ALLOC_FLG = 'Y'))) AND DI.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.INV_ITEM_ID = A.INV_ITEM_ID

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

    3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description