AM_POGRPINQI_VW(SQL View) |
Index Back |
---|---|
Inquiry PO GRP by Interface |
SELECT A.INTFC_ID , A.INTFC_LINE_NUM , A.SYSTEM_SOURCE , A.LOAD_STATUS , A.INTFC_TYPE , A.BUSINESS_UNIT_PO , A.PO_ID , A.BUSINESS_UNIT_RECV , A.RECEIVER_ID , A.BUSINESS_UNIT_AM , A.ASSET_ID , A.BUSINESS_UNIT_AP , A.VOUCHER_ID , A.PO_GROUP_ID , A.PO_GRP_SEQ_NUM , A.DESCR , A.ACQUISITION_DT , 'Y' FROM %Table(AM_POGRPINI_VW) A , %Table(ASSET) B WHERE A.BUSINESS_UNIT_AM = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID UNION SELECT A2.INTFC_ID , A2.INTFC_LINE_NUM , A2.SYSTEM_SOURCE , A2.LOAD_STATUS , A2.INTFC_TYPE , A2.BUSINESS_UNIT_PO , A2.PO_ID , A2.BUSINESS_UNIT_RECV , A2.RECEIVER_ID , A2.BUSINESS_UNIT_AM , A2.ASSET_ID , A2.BUSINESS_UNIT_AP , A2.VOUCHER_ID , A2.PO_GROUP_ID , A2.PO_GRP_SEQ_NUM , A2.DESCR , A2.ACQUISITION_DT , 'N' FROM %Table(AM_POGRPINI_VW) A2 WHERE NOT EXISTS( SELECT 'X' FROM %Table(ASSET) B2 WHERE B2.BUSINESS_UNIT = A2.BUSINESS_UNIT_AM AND B2.ASSET_ID = A2.ASSET_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INTFC_ID | Number(8,0) | INTEGER NOT NULL | Interface ID |
2 | INTFC_LINE_NUM | Number(8,0) | INTEGER NOT NULL | Interface Line Number |
3 | 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. |
4 | 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 |
5 | INTFC_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Trans Load Type |
6 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
7 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
8 | BUSINESS_UNIT_RECV | Character(5) | VARCHAR2(5) NOT NULL | Receiving Business Unit |
9 | RECEIVER_ID | Character(10) | VARCHAR2(10) NOT NULL | Receiver number |
10 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL | AM Business Unit |
11 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
12 | BUSINESS_UNIT_AP | Character(5) | VARCHAR2(5) NOT NULL | AP Business Unit |
13 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
14 | PO_GROUP_ID | Character(18) | VARCHAR2(18) NOT NULL | GroupID |
15 | PO_GRP_SEQ_NUM | Number(8,0) | INTEGER NOT NULL | Procurement Group Sequence |
16 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
17 | ACQUISITION_DT | Date(10) | DATE | Acquisition Date |
18 | ASSET_CREATED | Character(1) | VARCHAR2(1) NOT NULL | Asset Created |