OM_PWC_LCRUN_VW

(SQL View)
Index Back

SELECT BUSINESS_UNIT_OM , OPRID , RUN_CNTL_ID , SETID , CURRENCY_CD , DATE_SEL_DT , RT_TYPE , CUR_EFFDT , PROCESS_INSTANCE , LASTEXECDTTM FROM PS_OM_PWCLC_RUNHIS A WHERE EXISTS ( SELECT 'X' FROM PS_OM_PWCLC_RUNHIS B WHERE A.BUSINESS_UNIT_OM = B.BUSINESS_UNIT_OM AND A.LASTEXECDTTM = ( SELECT MAX(LASTEXECDTTM) FROM PS_OM_PWCLC_RUNHIS C WHERE A.BUSINESS_UNIT_OM = C.BUSINESS_UNIT_OM))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_OM Character(5) VARCHAR2(5) NOT NULL Order Management Business Unit

Prompt Table: SP_BU_OM_NONVW

2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 RUN_CNTL_ID Character(30) VARCHAR2(30) NOT NULL Run Control ID
4 SETID Character(5) VARCHAR2(5) NOT NULL SetID
5 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
6 DATE_SEL_DT Date(10) DATE NOT NULL 03/23/2004 SFC Added PROD_COST_EFF_DT label

Default Value: %date

7 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.

Prompt Table: RT_TYPE_TBL

8 CUR_EFFDT Date(10) DATE NOT NULL Specifies the effective date associated with the currency used as the base currency for the Business Unit on the Journal Entry Header.

Default Value: %date

9 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
10 LASTEXECDTTM DateTime(26) TIMESTAMP DateTime of Last Execution.