INV_TMS_CAR_VW

(SQL View)
Index Back

TMS Carrier Prompt View


SELECT DISTINCT D.BUSINESS_UNIT , D.CARRIER_ID FROM PS_IN_DEMAND D , PS_CARRIER_ID CR , PS_SET_CNTRL_REC C WHERE D.CARRIER_ID <> ' ' AND D.ROUTE_CD = ' ' AND D.IN_FULFILL_STATE BETWEEN '30' AND '50' AND D.BUSINESS_UNIT = C.SETCNTRLVALUE AND C.RECNAME = 'CARRIER_ID' AND(CR.SETID = C.SETID AND D.CARRIER_ID=CR.CARRIER_ID AND CR.EFF_STATUS = 'A' AND %EffdtCheck(CARRIER_ID,CR,%CurrentDateIn) AND CR.TMS_EXCLUDE_FLG = 'N')

# 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 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID