TRN_DIS_SRCH

(SQL View)
Index Back

Cost Detail Search Record

Cost Detail Search Record

SELECT DISTINCT SEC.OPRID , B.BUDGET_PERIOD ,B.BUSINESS_UNIT ,B.DEPTID ,A.DESCR ,B.SCENARIO FROM PS_TRN_SIMULATION B , PS_DEPT_TBL A , PS_DEPT_SEC_SRCH SEC WHERE SEC.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC SC WHERE SC.SETCNTRLVALUE = B.BUSINESS_UNIT AND SC.RECNAME = 'DEPT_TBL') AND B.DEPTID = SEC.DEPTID AND B.SCENARIO = 'BASE' AND B.DEPTID = A.DEPTID AND A.SETID = SEC.SETID AND (A.EFFDT>=%CurrentDateIn OR A.EFFDT= ( SELECT MAX(D.EFFDT) FROM PS_DEPT_TBL D WHERE D.DEPTID = A.DEPTID AND D.SETID = A.SETID AND D.EFFDT<=%CurrentDateIn))

  • Related Language Record: TRN_DISSRCH_LNG
  • # 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 BUDGET_PERIOD Character(10) VARCHAR2(10) NOT NULL Budget Period

    Prompt Table: BUDGET_PERIOD

    3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Prompt Table: BUDGET_BUS_UNIT

    4 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

    Prompt Table: DEPT_TBL

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 SCENARIO Character(10) VARCHAR2(10) NOT NULL Scenario