PO_TLPOAPDTL_VW(SQL View) |
Index Back |
---|---|
PO Approval Detail |
SELECT a.REPORT_ENTITY ,a.BUYER_ID ,a.VENDOR_SETID ,a.VENDOR_ID ,a.VNDR_LOC ,a.BUSINESS_UNIT ,a.PO_ID ,a.LINE_NBR ,a.FISCAL_YEAR ,a.ACCOUNTING_PERIOD ,a.CURRENCY_CD ,a.ITM_SETID ,a.INV_ITEM_ID ,a.DESCR254_MIXED ,a.CATEGORY_ID ,a.PO_DT ,a.PEND_FR_DT ,a.PEND_FR_DT_LINE ,a.HOLD_STATUS ,a.BUDGET_HDR_STS_NP ,a.PO_REF ,a.LINE_STATUS ,a.PO_STATUS , SUM( MERCHANDISE_AMT ) FROM PS_PO_SPND_PONDDTL a WHERE a.PO_status = 'PA' GROUP BY a.REPORT_ENTITY ,a.BUYER_ID ,a.VENDOR_SETID ,a.VENDOR_ID ,a.VNDR_LOC ,a.BUSINESS_UNIT ,a.PO_ID ,a.LINE_NBR ,a.FISCAL_YEAR ,a.ACCOUNTING_PERIOD ,a.CURRENCY_CD ,a.ITM_SETID ,a.INV_ITEM_ID ,a.DESCR254_MIXED ,a.CATEGORY_ID ,a.PO_DT ,a.PEND_FR_DT ,a.PEND_FR_DT_LINE ,a.HOLD_STATUS ,a.BUDGET_HDR_STS_NP ,a.PO_REF ,a.LINE_STATUS ,a.PO_STATUS |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | REPORT_ENTITY | Character(5) | VARCHAR2(5) NOT NULL | Reporting Entity ID |
2 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
3 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
8 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
9 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
10 | ACCOUNTING_PERIOD | Number(3,0) | SMALLINT NOT NULL | Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table. |
11 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
12 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
13 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
14 | DESCR254_MIXED | Character(254) | VARCHAR2(254) NOT NULL | Description |
15 | CATEGORY_ID | Character(5) | VARCHAR2(5) NOT NULL | Category ID |
16 | PO_DT | Date(10) | DATE | Date |
17 | PEND_FR_DT | Date(10) | DATE | Select Pend-Cmpl Prdn From Dat |
18 | PEND_FR_DT_LINE | Date(10) | DATE | Pending From |
19 | HOLD_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Hold From Further Processing
Y/N Table Edit Default Value: N |
20 | BUDGET_HDR_STS_NP | Character(1) | VARCHAR2(1) NOT NULL |
Budget Ch'k Hdr Sts NonProrate
E=Error in Budget Check N=Not Budget Checked P=Provisionally Valid V=Valid Budget Check Default Value: V |
21 | PO_REF | Character(30) | VARCHAR2(30) NOT NULL | Specifies the purchase order number associated with a receivables item. |
22 | LINE_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Line Status
A=Active C=Cancelled I=Inactive O=Open P=Pending |
23 | 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 |
24 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |