WM_PRIMARY_SHOP

(SQL View)
Index Back

SELECT W.BUSINESS_UNIT , W.SHOP_ID , R.EMPLID ,W.OPRID FROM PS_OPR_DEF_TBL_WM W , PSOPRDEFN R WHERE R.OPRID = W.OPRID AND W.SHOP_ID = ( SELECT O.SHOP_ID FROM PS_OPR_DEF_TBL_WM O WHERE O.OPRID = OPRID AND O.BUSINESS_UNIT = BUSINESS_UNIT AND OPRID = %OperatorId)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 SHOP_ID Character(10) VARCHAR2(10) NOT NULL Shop Identification
3 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).