INTFC_PO_AM_VW(SQL View) |
Index Back |
---|---|
Preview for PO/AM Interface |
SELECT A.BUSINESS_UNIT , A.RECEIVER_ID , A.DISTRIB_LINE_NUM , A.RECV_LN_NBR , A.RECV_SHIP_SEQ_NBR , A.BUSINESS_UNIT_AM , B.BUSINESS_UNIT_AP , D.BUSINESS_UNIT_PO , A.ASSET_ID , A.COST , D.CURRENCY_CD , A.CUSTODIAN , %subrec(CF14_AN_SBR, D) , S.DESCR254_MIXED , A.DISTRIB_SEQ_NUM , D.FINANCIAL_ASSET_SW , S.INV_ITEM_ID , A.LOCATION , A.MANUFACTURER , A.MODEL , D.PO_DIST_LINE_NUM , D.PO_ID , D.LINE_NBR , A.PROFILE_ID , D.PROJECT_ID , D.DEPTID , A.QUANTITY , D.SCHED_NBR , A.SERIAL_ID , A.TAG_NUMBER , H.VENDOR_ID FROM PS_RECV_HDR H , PS_RECV_LN_SHIP S , PS_RECV_LN_DISTRIB D , PS_RECV_LN_ASSET A , PS_BUS_UNIT_TBL_PM B WHERE A.BUSINESS_UNIT_AM > ' ' AND A.PROFILE_ID > ' ' AND A.QUANTITY > 0 AND H.BUSINESS_UNIT = B.BUSINESS_UNIT AND H.BUSINESS_UNIT = A.BUSINESS_UNIT AND H.RECEIVER_ID = A.RECEIVER_ID AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.RECEIVER_ID = A.RECEIVER_ID AND D.RECV_LN_NBR = A.RECV_LN_NBR AND D.RECV_SHIP_SEQ_NBR = A.RECV_SHIP_SEQ_NBR AND D.DISTRIB_LINE_NUM = A.DISTRIB_LINE_NUM AND A.BUSINESS_UNIT = S.BUSINESS_UNIT AND A.RECEIVER_ID = S.RECEIVER_ID AND A.RECV_LN_NBR = S.RECV_LN_NBR AND A.RECV_SHIP_SEQ_NBR = S.RECV_SHIP_SEQ_NBR AND A.RECV_AM_STATUS IN ('O', 'R') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_RECV | Character(5) | VARCHAR2(5) NOT NULL |
Receiving Business Unit
Prompt Table: SP_BU_PM_NONVW |
2 | RECEIVER_ID | Character(10) | VARCHAR2(10) NOT NULL |
Receiver number
Prompt Table: RECV_HDR_FS |
3 | RECV_DIST_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Receiver Distrib Line |
4 | RECV_LN_NBR | Number(5,0) | INTEGER NOT NULL | Receipt Line |
5 | RECV_SHIP_SEQ_NBR | Number(3,0) | SMALLINT NOT NULL | Receiver Shipping Sequence |
6 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL |
AM Business Unit
Prompt Table: SP_BU_AM_NONVW |
7 | BUSINESS_UNIT_AP | Character(5) | VARCHAR2(5) NOT NULL | AP Business Unit |
8 | BUSINESS_UNIT_PO | Character(5) | VARCHAR2(5) NOT NULL | PO Business Unit |
9 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
10 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
11 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
12 | CUSTODIAN | Character(30) | VARCHAR2(30) NOT NULL | Custodian |
13 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPER_UNIT_TBL |
14 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_TBL |
15 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_TBL |
16 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASS_CF_TBL |
17 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_TBL |
18 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_TBL |
19 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
20 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
21 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
22 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CHARTFIELD1_TBL |
23 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CHARTFIELD2_TBL |
24 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CHARTFIELD3_TBL |
25 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
26 | DISTRIB_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Sequence |
27 | FINANCIAL_ASSET_SW | Character(1) | VARCHAR2(1) NOT NULL |
Capitalized Asset
N=Non Cap Y=Capitalize |
28 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
29 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
30 | MANUFACTURER | Character(60) | VARCHAR2(60) NOT NULL | Manufacturer Name |
31 | MODEL | Character(30) | VARCHAR2(30) NOT NULL | Model |
32 | PO_DIST_LINE_NUM | Number(5,0) | INTEGER NOT NULL | PO Distribution Line Number |
33 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
34 | PO_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Purchase Order Line Number |
35 | PROFILE_ID | Character(10) | VARCHAR2(10) NOT NULL | Asset Profile ID |
36 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
37 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
38 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
39 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
40 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
41 | TAG_NUMBER | Character(12) | VARCHAR2(12) NOT NULL | Tag Number |
42 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |