USG_CONSUMER_VW

(SQL View)
Index Back

Consumer Usage - Consumer Prom

Consumer Usage Maintenance - Consumer Prompt Table

SELECT DISTINCT A.BUSINESS_UNIT , A.LOCATION , A.CONSUMER_ID , B.CONSUMER_NAME FROM PS_USAGE_INV A , PS_CONSUMER_INV B WHERE A.CONSUMER_ID = B.CONSUMER_ID AND B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC C WHERE C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.RECNAME = 'MASTER_ITEM_TBL')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
3 CONSUMER_ID Character(20) VARCHAR2(20) NOT NULL A unique identifier for an individual that consumes or uses materials.
4 CONSUMER_NAME Character(48) VARCHAR2(48) NOT NULL The legal name of the consumer.