WM_WO_TLXLBR_VW

(SQL View)
Index Back

Travel and Exp. Distrib. Rows


SELECT LBR.BUSINESS_UNIT ,LBR.WO_ID , LBR.WO_TASK_ID , LBR.RES_LN_NBR , DST.DISTRIB_LINE_NUM , DST.BUSINESS_UNIT_GL , DEPTID , %subrec(CF16_AN_SBR, DST) , %subrec(PC_CF1_N_SBR, DST) , CHART_EDIT_STATUS , LBR.ACTL_DURATION , LBR.ACTL_END_DT , LBR.TIME_SHEET_ID , LBR.EMPLID , ' ' , 0 , 1 FROM %Table(WM_WO_SCHED_LBR) LBR , %Table(WM_WO_DIST_LBR) DST WHERE (%TrimSubstr(LBR.TIME_SHEET_ID,1,1) = ' ' OR LBR.TIME_SHEET_ID = ' ') AND DST.BUSINESS_UNIT = LBR.BUSINESS_UNIT AND DST.WO_ID = LBR.WO_ID AND DST.WO_TASK_ID = LBR.WO_TASK_ID AND DST.RES_LN_NBR = LBR.RES_LN_NBR AND ACTL_END_DT IS NOT NULL AND ACTL_START_DT IS NOT NULL AND ACTL_DURATION <> 0 AND ACTL_SOURCE_CD IN ('W','M','I')

# 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

2 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification
3 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number
4 RES_LN_NBR Number(5,0) INTEGER NOT NULL Resource Line No.

Default Value: 1

5 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line

Default Value: 1

6 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit

Default Value: BUS_UNIT_TBL_WM.BUSINESS_UNIT_GL

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

Prompt Table: DEPTID_BUGL_VW

8 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

9 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_BUGL_VW

10 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_BUGL_VW

11 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASSCF_BUGL_VW

12 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_BUGL_VW

13 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_BUGL_VW

14 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

15 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

16 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

17 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_BUGL_VW

18 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_BUGL_VW

19 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_BUGL_VW

20 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

Prompt Table: %EDIT_BU_PC

21 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

22 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: %EDIT_ACTIVITY

23 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

24 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

25 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

26 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

27 CHART_EDIT_STATUS Character(1) VARCHAR2(1) NOT NULL Chart Edit Status
K=Errors - Cannot be saved
O=ChartFields Valid
R=Errors - Not Postable
S=Errors - Suspense Entries
28 ACTL_DURATION Signed Number(9,2) DECIMAL(7,2) NOT NULL Actual Duration
29 ACTL_END_DT Date(10) DATE Actual End Date
30 TIME_SHEET_ID Character(10) VARCHAR2(10) NOT NULL Time Sheet Unique Identifier (System Generated)
31 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
32 ADJUSTMENT Character(1) VARCHAR2(1) NOT NULL Adjustment

Y/N Table Edit

Default Value: N

33 UNPOST_SEQ Number(2,0) SMALLINT NOT NULL Identifies the sequence of journal entries when a journal is "unposted". When a journal is posted the UnPost Sequence is automatically set to "0". When a journal is unposted, a new reversing entry is automatically created with an UnPost Sequence of "1".

Default Value: 0

34 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]

Default Value: 1