PC_COST_BAL7_VW

(SQL View)
Index Back

Asset Cost by CF - Include Ret

View of asset cost balance. Including Retired Assets. Excluded InterUnit Transferred Assets

SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.CF_SEQNO , MAX(A.DTTM_STAMP) , %subrec(CF12_AN_SBR, A) , %subrec(AM_CF1_N_SBR, A) , A.PROJECT_ID , A.DEPTID , A.CATEGORY , A.COST_TYPE , A.GROUP_ASSET_ID , A.FROM_CUR , SUM(A.ACTIVITY_SW) , SUM(A.RETIRE_SW) , SUM(A.QUANTITY) , SUM(A.COST) FROM PS_COST A GROUP BY A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.CF_SEQNO , %subrec(CF12_AN_SBR, A) , %subrec(AM_CF1_N_SBR, A) , A.PROJECT_ID , A.DEPTID , A.CATEGORY , A.COST_TYPE , A.GROUP_ASSET_ID , A.FROM_CUR HAVING SUM(A.ACTIVITY_SW) = 0

  • Parent record: BOOK
  • # 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 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
    3 BOOK Character(10) VARCHAR2(10) NOT NULL Asset Book Name

    Prompt Table: BOOK

    4 CF_SEQNO Number(6,0) INTEGER NOT NULL Chartfield Sequence Number
    5 DTTM_STAMP DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.
    6 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField
    7 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField
    8 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code
    9 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field
    10 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField
    11 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference
    12 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate
    13 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1
    14 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate
    15 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1
    16 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2
    17 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3
    18 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
    19 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
    20 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type
    21 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category
    22 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory
    23 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type
    24 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

    Prompt Table: PROJECT_ID_VW

    25 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
    26 CATEGORY Character(5) VARCHAR2(5) NOT NULL Asset Category
    27 COST_TYPE Character(1) VARCHAR2(1) NOT NULL Cost Type

    Prompt Table: COST_TYPE_TBL

    28 GROUP_ASSET_ID Character(12) VARCHAR2(12) NOT NULL Group Asset ID
    29 FROM_CUR Character(3) VARCHAR2(3) NOT NULL From Currency Code
    30 ACTIVITY_SW Signed Number(2,0) DECIMAL(1) NOT NULL Activity Switch
    31 RETIRE_SW Signed Number(2,0) DECIMAL(1) NOT NULL Retirement Switch
    32 QUANTITY Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Interface
    33 COST Signed Number(28,3) DECIMAL(26,3) NOT NULL Total Cost