AUC_PLN_CP_T_VW

(SQL View)
Index Back

Plan Copy Plan View

Plan specific copy search results view.

SELECT A.BUSINESS_UNIT , A.AUC_PLAN_ID , A.AUC_VERSION , A.AUC_PLAN_NAME , A.PRIMARY_CATEGORY , A.SECONDARY_CATEGORY , A.PLAN_OWNER FROM PS_AUC_PLAN_HDR A WHERE A.AUC_PLAN_TYPE = 'TE' AND A.AUC_PLAN_STATUS <> 'IN' AND A.AUC_VERSION = ( SELECT MAX(B.AUC_VERSION) FROM PS_AUC_PLAN_HDR B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.AUC_PLAN_ID = B.AUC_PLAN_ID )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 AUC_PLAN_ID Character(10) VARCHAR2(10) NOT NULL Sourcing Planning ID
3 AUC_VERSION Number(5,0) INTEGER NOT NULL Event Version
4 AUC_PLAN_NAME Character(50) VARCHAR2(50) NOT NULL Plan Name
5 PRIMARY_CATEGORY Character(18) VARCHAR2(18) NOT NULL Primary Plan Category
6 SECONDARY_CATEGORY Character(18) VARCHAR2(18) NOT NULL Primary Plan Category
7 PLAN_OWNER Character(30) VARCHAR2(30) NOT NULL Plan Owner