EX_ACRL_FLDS_VW

(SQL View)
Index Back

Period End Accrl Field values


SELECT B.SETID , B.FIELDNAME , B.FIELDVALUE FROM PS_PE_ACCRL_OPTION A , PS_PE_ACCRL_FIELDS B WHERE A.ACCRL_PROD_ID = 'EX' AND A.ACCRL_DOC_TYPE = 'EXR' AND A.ACCRL_PROD_ID = B.ACCRL_PROD_ID AND A.ACCRL_DOC_TYPE = B.ACCRL_DOC_TYPE AND A.SETID = B.SETID AND A.EFFDT = B.EFFDT AND A.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_PE_ACCRL_FIELDS C WHERE B.SETID=C.SETID AND B.ACCRL_PROD_ID=C.ACCRL_PROD_ID AND B.ACCRL_DOC_TYPE=C.ACCRL_DOC_TYPE AND B.FIELDNAME=C.FIELDNAME AND B.FIELDVALUE=C.FIELDVALUE AND C.EFFDT<=%CurrentDateIn )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

2 FIELDNAME Character(18) VARCHAR2(18) NOT NULL Field Name (see PSDBFIELD).

Prompt Table: PE_ACCRL_FLD_VW

3 FIELDVALUE Character(4) VARCHAR2(4) NOT NULL Field Value

Prompt Table: XLATTABLE_VW