IT_SYNC_ASSET(SQL View) |
Index Back |
---|---|
View Record for IT AssetsFor CRM integration of IT Assets. Messages built from this view record. |
SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.CRM_IPROD_ID , A.CRM_IPROD_SETID , A.CRM_DEPT_SETID , A.TAG_NUMBER , A.SERIAL_ID , A.COMPONENT_OF_ID , A.ASSET_SUBTYPE , A.CRM_IPROD_STATUS , A.ASSET_TYPE , A.MFG_ID , A.MODEL , B.EMPLID , B.DEPTID , C.LOCATION , D.INV_ITEM_ID FROM PS_ASSET A , PS_ASSET_CUST_VW B , PS_ASSET_LOC_VW C , PS_ASSET_ACQ_DET D WHERE A.ASSET_TYPE = '010' AND A.ASSET_ID = B.ASSET_ID AND A.ASSET_ID = C.ASSET_ID AND A.ASSET_ID = D.ASSET_ID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.BUSINESS_UNIT=C.BUSINESS_UNIT AND A.BUSINESS_UNIT=D.BUSINESS_UNIT AND D.SEQUENCE_NBR_6 = ( SELECT MAX(E.SEQUENCE_NBR_6) FROM PS_ASSET_ACQ_DET E WHERE D.ASSET_ID = E.ASSET_ID AND D.BUSINESS_UNIT = E.BUSINESS_UNIT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
3 | CRM_IPROD_ID | Character(20) | VARCHAR2(20) NOT NULL | For CRM integration of IT Assets |
4 | CRM_IPROD_SETID | Character(5) | VARCHAR2(5) NOT NULL | For CRM integration of IT Assets |
5 | CRM_DEPT_SETID | Character(5) | VARCHAR2(5) NOT NULL | For CRM integration of IT Assets |
6 | TAG_NUMBER | Character(12) | VARCHAR2(12) NOT NULL | Tag Number |
7 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
8 | COMPONENT_OF_ID | Character(12) | VARCHAR2(12) NOT NULL | Component of Asset |
9 | ASSET_SUBTYPE | Character(15) | VARCHAR2(15) NOT NULL |
Asset Subtype
Prompt Table: AM_SUBTYPE |
10 | CRM_IPROD_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
For CRM integration of IT Assets
INS=Install UNI=Uninstall Default Value: INS |
11 | ASSET_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Asset Type
010=IT Hardware 020=IT Software 040=Equipment 050=Property 060=Fleet 070=Machinery 080=Furniture 090=Facility 100=Intangible 200=Asset Retirement Obligations 999=Other |
12 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL |
Manufacturer ID
Prompt Table: MANUFACTURER |
13 | MODEL | Character(30) | VARCHAR2(30) NOT NULL | Model |
14 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
15 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
16 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL |
Location Code
Prompt Table: LOCATION_TBL |
17 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |