AM_WC_INTERR_VW(SQL View) |
Index Back |
---|---|
Interface Fin Summary View |
SELECT A.BUSINESS_UNIT , A.INTFC_ID , A.INTFC_LINE_NUM , A.DTTM_STAMP , A.SYSTEM_SOURCE , A.INTFC_TYPE , A.LOAD_STATUS , A.ASSET_ID , A.PI_ID , CASE WHEN B.TRANSFER_BU IS NULL THEN ' ' ELSE B.TRANSFER_BU END , CASE WHEN B.MESSAGE_SET_NBR IS NULL THEN 0 ELSE B.MESSAGE_SET_NBR END , CASE WHEN B.MESSAGE_NBR IS NULL THEN 0 ELSE B.MESSAGE_NBR END FROM %Sql(OUTER_JOIN_INTFC_PHY_A_FIN) AND A.LOAD_STATUS = 'ERR' UNION SELECT B.BUSINESS_UNIT , B.INTFC_ID , B.INTFC_LINE_NUM , B.DTTM_STAMP , B.SYSTEM_SOURCE , B.INTFC_TYPE , B.LOAD_STATUS , B.ASSET_ID , B.PI_ID , B.TRANSFER_BU , B.MESSAGE_SET_NBR , B.MESSAGE_NBR FROM PS_INTFC_FIN B WHERE B.LOAD_STATUS = 'ERR' AND NOT EXISTS ( SELECT 'Y' FROM PS_INTFC_PHY_A A WHERE A.INTFC_ID = B.INTFC_ID AND A.INTFC_LINE_NUM = B.INTFC_LINE_NUM AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID AND A.INTFC_TYPE = B.INTFC_TYPE) UNION SELECT A.BUSINESS_UNIT , A.INTFC_ID , A.INTFC_LINE_NUM , B.DTTM_STAMP , B.SYSTEM_SOURCE , B.INTFC_TYPE , B.LOAD_STATUS , A.ASSET_ID , B.PI_ID , B.TRANSFER_BU , A.MESSAGE_SET_NBR , A.MESSAGE_NBR FROM PS_INTFC_FIN B , PS_INTFC_ERR_VW A WHERE A.INTFC_ID = B.INTFC_ID AND A.INTFC_LINE_NUM = B.INTFC_LINE_NUM AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID AND A.PROCESS_INSTANCE = B.PROCESS_INSTANCE AND B.LOAD_STATUS='ERR' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_AM_NONVW |
2 | INTFC_ID | Number(8,0) | INTEGER NOT NULL | Interface ID |
3 | INTFC_LINE_NUM | Number(8,0) | INTEGER NOT NULL | Interface Line Number |
4 | 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. |
5 | SYSTEM_SOURCE | Character(3) | VARCHAR2(3) NOT NULL | Identifies the application or source system that generated a journal entry. Release 8.80 - 11/14/2002 - RVlasic - Removed GDM (JrnlGen - Deduction Management) from Translate Values. SUJ---Included a label as Product. Release 8.9 - 05/11/2005 - RVlasic - Added PRV (Variance Pricing) and PKK (KK Budget Journal) and deleted GLK for Project Costing per Brian Cohen. |
6 | INTFC_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Trans Load Type |
7 | LOAD_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
/* -> JMZ. PSOFT. 11-OCT-2002 */
New Status were added : HLD and INP for Asset Management.
/* <- JMZ. PSOFT. 11-OCT-2002 */
CON=Consolidated DON=Loaded ERR=Errored EXC=Excluded HLD=On Hold INP=In Process NEW=Pending PGI=PO Grp Incomplete REP=Replaced UNI=Unitized |
8 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
9 | PI_ID | Character(10) | VARCHAR2(10) NOT NULL | Physical Inventory ID |
10 | TRANSFER_BU | Character(5) | VARCHAR2(5) NOT NULL | Transfer Business Unit |
11 | MESSAGE_SET_NBR | Number(5,0) | INTEGER NOT NULL | Message Set Number. This field refers to the Message Set Number in the Message Catalog. |
12 | MESSAGE_NBR | Number(5,0) | INTEGER NOT NULL | Message Number. This field refers to the Message Number in the Message Catalog. |