SP_BUINIT_OPRVW

(SQL View)
Index Back

BU_ITEMS_INV view with Setid


SELECT D.OPRID , B.SETID ,B.INV_ITEM_ID ,A.BUSINESS_UNIT ,C.DESCR FROM PS_BU_ITEMS_INV A , PS_MASTER_ITEM_TBL B , PS_BUS_UNIT_TBL_FS C , PS_SEC_BU_OPR D WHERE A.INV_ITEM_ID = B.INV_ITEM_ID AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'MASTER_ITEM_TBL') AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.BUSINESS_UNIT = D.BUSINESS_UNIT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

3 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_FS_NONVW

5 DESCR Character(30) VARCHAR2(30) NOT NULL Description