AM_SCH_COMP_HIS

(SQL View)
Index Back

Search Record for Parent Comp

Search Record for Parent Components.

SELECT BUSINESS_UNIT , ASSET_ID , COMPONENT_OF_ID FROM %Table(AM_AST_COMP_HIS) A WHERE DTTM_STAMP = ( SELECT MAX(DTTM_STAMP) FROM %Table(AM_AST_COMP_HIS) B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID)

# 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

Prompt Table: SP_BU_AM_NONVW

2 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
3 COMPONENT_OF_ID Character(12) VARCHAR2(12) NOT NULL Component of Asset