PL_CAP_USG_LNVW

(SQL View)
Index Back

PL_CAP_USG_LNVW

Capacity usage view contains list of business unit and resource code.

SELECT DISTINCT A.PROCESS_INSTANCE , A.PROBINST , A.BUSINESS_UNIT , A.PL_RESOURCE_CODE , A.PL_RESOURCE_TYPE , A.AGGREGATE_OPT_PL , A.AGGREGATE_STRATEGY , A.PLAN_BUCKET , A.PL_VIOLATION_RULE , B.DESCR , C.XLATLONGNAME , E.XLATSHORTNAME , D.XLATLONGNAME , F.XLATLONGNAME FROM PS_PL_CAP_USG_LTAO A , PS_EN_WORK_CENTER B , PSXLATITEM C , PSXLATITEM D , PSXLATITEM E , PSXLATITEM F WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PL_RESOURCE_CODE = B.WORK_CENTER_CODE AND C.FIELDNAME='PL_RESOURCE_TYPE' AND C.FIELDVALUE = A.PL_RESOURCE_TYPE AND E.FIELDNAME='AGGREGATE_OPT_PL' AND E.FIELDVALUE = A.AGGREGATE_OPT_PL AND D.FIELDNAME='AGGREGATE_STRATEGY' AND D.FIELDVALUE = A.AGGREGATE_STRATEGY AND F.FIELDNAME='PLAN_BUCKET' AND F.FIELDVALUE = A.PLAN_BUCKET

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
2 PROBINST Character(20) VARCHAR2(20) NOT NULL Optimization Problem Instance
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 PL_RESOURCE_CODE Character(10) VARCHAR2(10) NOT NULL 01/14/03 JC (CN#PL880-1): Added label SPL_WORK_CENTER

Prompt Table: %EDITTABLE6

5 PL_RESOURCE_TYPE Character(2) VARCHAR2(2) NOT NULL PL_RESOURCE_TYPE
10=Crew
30=Machine
50=Tool
70=Workcenter
80=Workcenter (Subcontract)
90=Rough Cut Resource
6 AGGREGATE_OPT_PL Character(1) VARCHAR2(1) NOT NULL CN#PL800-21.0,24,0&33.0 MACN 5/21/99 - Changed the long/short name to match with Supply Chain Planning. Also added a new translate value '2' for aggregate by unit.
0=Detailed Planning
1=Aggregate Resource by Time
2=Aggregate Resource by Unit
7 AGGREGATE_STRATEGY Character(1) VARCHAR2(1) NOT NULL CN#PL800-21.0,24,0&33.0 MACN 5/21/99 - Changed the long/short name to match with Supply Chain Planning.
0=Start
1=Finish
2=Proportional
8 PLAN_BUCKET Character(1) VARCHAR2(1) NOT NULL 08/03/99 MACN (CN#PL800-33.0) Changed the translate values from D, W, M to 0, 1, 2
0=Daily
1=Weekly
2=Monthly
9 PL_VIOLATION_RULE Character(1) VARCHAR2(1) NOT NULL PL_VIOLATION_RULE
A=All Resources
N=Consider Violations
Y=Ignore Violations
10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
11 DESCR_VALUE_1 Character(30) VARCHAR2(30) NOT NULL Description
12 DESCR_VALUE_2 Character(30) VARCHAR2(30) NOT NULL Description
13 DESCR_VALUE_3 Character(30) VARCHAR2(30) NOT NULL Description
14 DESCR_VALUE_4 Character(30) VARCHAR2(30) NOT NULL Description