Store CNAO XML adjustment periods

CNAO_XML_ADJPRD

(SQL View)
Index Back

SELECT DISTINCT PM.OPRID , PM.RUN_CNTL_ID ,PM.business_unit , pm.fiscal_year , xa.accounting_period , al.begin_dt , al.end_dt FROM PS_CNAO_XMLG_PARM PM ,PS_CNAO_XMLG_ADJP XA , PS_LED_GRP_LED_TBL LG , PS_SET_CNTRL_REC SC ,PS_CNAO_ADJ_PER_L AL WHERE xa.oprid= pm.oprid AND xa.run_cntl_id = pm.run_cntl_id AND xa.accounting_period = al.accounting_period AND AL.business_unit= pm.business_unit AND AL.ledger_group= lg.ledger_group AND AL.fiscal_year=PM.fiscal_year AND lg.ledger = pm.ledger AND lg.setid=( SELECT SC1.setid FROM PS_SET_CNTRL_REC SC1 WHERE sc1.setcntrlvalue= pm.business_unit AND sc1.recname='LED_GRP_LED_TBL')

# 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 RUN_CNTL_ID Character(30) VARCHAR2(30) NOT NULL Run Control ID
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
5 ACCOUNTING_PERIOD Number(3,0) SMALLINT NOT NULL Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table.
6 BEGIN_DT Date(10) DATE Begin Date
7 END_DT Date(10) DATE End Date