PO_RC_WB_ALL_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.PO_ID , A.LINE_NBR , A.SCHED_NBR , A.DST_ACCT_TYPE , A.DISTRIB_LINE_NUM , D.PO_DT , D.ACTIVITY_DATE , B.DUE_DT , D.PO_STATUS , C.RECV_REQ , D.MATCH_STATUS_PO , D.MATCH_ACTION , D.RECV_STATUS , D.BUYER_ID , D.VENDOR_ID , C.ITM_SETID , C.INV_ITEM_ID , A.QTY_PO , A.CURRENCY_CD , A.MERCHANDISE_AMT , A.CURRENCY_CD_BASE , A.MERCH_AMT_BSE , A.LOCATION , A.ACCOUNT , A.ALTACCT , A.DEPTID , A.BUSINESS_UNIT_GL , A.DISTRIB_LN_STATUS , A.BUSINESS_UNIT_REQ , A.REQ_ID , A.REQ_LINE_NBR , A.REQ_SCHED_NBR , A.REQ_DISTRIB_NBR , A.MONETARY_AMOUNT , A.MONETARY_AMT_BSE , A.KK_CLOSE_FLAG , A.KK_PROCESS_PRIOR , A.KK_CLOSE_PRIOR , A.BUDGET_DT , C.CNTRCT_SETID , C.CNTRCT_ID , C.VERSION_NBR , C.RELEASE_NBR , C.GPO_ID , C.GPO_CNTRCT_NBR , %subrec(CF16_AN_SBR, A) , %subrec(PC_CF1_N_SBR, A) , D.CC_SECURITY_ID , D.CC_USE_FLAG FROM PS_PO_LINE_DISTRIB A ,PS_PO_LINE_SHIP B , PS_PO_LINE C , PS_PO_HDR D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PO_ID = B.PO_ID AND A.LINE_NBR = B.LINE_NBR AND A.SCHED_NBR = B.SCHED_NBR AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.PO_ID = C.PO_ID AND B.LINE_NBR = C.LINE_NBR AND C.BUSINESS_UNIT = D.BUSINESS_UNIT AND C.PO_ID = D.PO_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL |
Line Number:
11/24/08 - Added TARGET label [PC product]
Default Value: 1 |
4 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL |
Schedule Number
Default Value: 1 |
5 | DST_ACCT_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
07/20/04 st: added RCN for Advance Reconciliation
02/16/98 ebn CN#CM800-2.0 : Added for MISC type for Landed Cost Enhancement
11/11/99 llr: Added ADVP for Payables Advance Payment
Default Value: DST |
6 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL |
Distribution Line
Default Value: 1 |
7 | PO_DT | Date(10) | DATE | Date |
8 | ACTIVITY_DATE | Date(10) | DATE | Last Activity |
9 | DUE_DT | Date(10) | DATE | Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received. |
10 | PO_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
PO Status
A=Approved C=Complete D=Dispatched DA=Denied I=Initial LD=Line Denied O=Open PA=Pending Approval/Approved PX=Pending Cancel X=Canceled |
11 | RECV_REQ | Character(1) | VARCHAR2(1) NOT NULL |
Receiving Required
N=Optional X=Do Not Y=Required |
12 | MATCH_STATUS_PO | Character(1) | VARCHAR2(1) NOT NULL |
Match Status
M=Matched N=Not Required P=Partially Matched T=To Match |
13 | MATCH_ACTION | Character(1) | VARCHAR2(1) NOT NULL |
Match Action
N=No Match Y=Standard |
14 | RECV_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Receipt Status
C=Closed Receipt H=Hold Receipt M=Moved to Destination N=PO Not Received O=Open P=PO Partially Received R=Fully Received X=Canceled |
15 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
16 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
17 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
18 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
19 | QTY_PO | Number(16,4) | DECIMAL(15,4) NOT NULL | Purchase Order Quantity |
20 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
21 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
22 | CURRENCY_CD_BASE | Character(3) | VARCHAR2(3) NOT NULL | Business Unit Base Currency |
23 | MERCH_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Base Merchandise Amount |
24 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL |
Location Code
Prompt Table: LOCATION_TBL |
25 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL |
Account
Prompt Table:
%EDIT_ACCOUNT
|
26 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL |
Alternate Account
Prompt Table:
%EDIT_ALTACCT
|
27 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPTID_BUGL_VW |
28 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL |
GL Business Unit
Default Value: BUS_UNIT_TBL_PM.BUSINESS_UNIT_GL Prompt Table: SP_BUPRCR_NONVW |
29 | DISTRIB_LN_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Distribution Line Status
C=Closed M=Mass Liquidated O=Open P=Unavailable for Sourcing X=Canceled Default Value: O |
30 | BUSINESS_UNIT_REQ | Character(5) | VARCHAR2(5) NOT NULL | Requesting Business Unit |
31 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
32 | REQ_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Requisition Line Number |
33 | REQ_SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Requisition Schedule Number |
34 | REQ_DISTRIB_NBR | Number(5,0) | INTEGER NOT NULL | Requisition Distrib Number |
35 | MONETARY_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account. |
36 | MONETARY_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Monetary Amount - VCHR BU Base |
37 | KK_CLOSE_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Commitment Control Close Flag
Y/N Table Edit Default Value: N |
38 | KK_PROCESS_PRIOR | Character(1) | VARCHAR2(1) NOT NULL |
Process Prior Document
Y/N Table Edit Default Value: Y |
39 | KK_CLOSE_PRIOR | Character(1) | VARCHAR2(1) NOT NULL |
Close Prior Transaction
Default Value: N |
40 | BUDGET_DT | Date(10) | DATE | Budget Date |
41 | CNTRCT_SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
42 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
43 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
44 | RELEASE_NBR | Number(5,0) | INTEGER NOT NULL | Release Number |
45 | GPO_ID | Character(18) | VARCHAR2(18) NOT NULL | GPO ID |
46 | GPO_CNTRCT_NBR | Character(25) | VARCHAR2(25) NOT NULL | GPO Contract Number |
47 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPERUNT_BUGL_VW |
48 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_BUGL_VW |
49 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_BUGL_VW |
50 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASSCF_BUGL_VW |
51 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_BUGL_VW |
52 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_BUGL_VW |
53 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
54 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
55 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
56 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CF1_BUGL_VW |
57 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CF2_BUGL_VW |
58 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CF3_BUGL_VW |
59 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL |
PC Business Unit
Prompt Table: %EDIT_BU_PC |
60 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: %EDIT_PROJECT |
61 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: %EDIT_ACTIVITY |
62 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Source Type
Prompt Table:
PROJ_RESTYPE_FS
|
63 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Category
Prompt Table:
%EDIT_RES_CAT
|
64 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL |
Subcategory
Prompt Table:
%EDIT_RES_SUB
|
65 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Analysis Type
Prompt Table:
%EDIT_ANALYSIS
|
66 | CC_SECURITY_ID | Number(10,0) | DECIMAL(10) NOT NULL | Procurement Card Number |
67 | CC_USE_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Use Procurement Card
Y/N Table Edit Default Value: N |