PO_SPNDT_PVG_VW

(SQL View)
Index Back

PO Spend Type

PO Spend Type 7/16/2014 RMK Removed join to record OPR_DEF_RPT and %OperatorID

SELECT A.REPORT_ENTITY ,A.BUSINESS_UNIT ,A.PO_ID ,A.LINE_NBR ,A.SCHED_NBR ,A.BUYER_ID ,A.VENDOR_SETID ,A.VENDOR_ID ,A.VNDR_LOC ,A.FISCAL_YEAR ,A.ACCOUNTING_PERIOD ,A.BUYER_DESCR ,A.NAME1 ,A.CATEGORY_CD , A.CATEGORY_ID ,A.CURRENCY_CD ,A.MERCHANDISE_AMT ,A.CNTRCT_FLAG ,A.DUE_DT ,A.ITM_SETID ,A.INV_ITEM_ID ,A.DESCR254_MIXED ,A.MFG_ID ,A.MFG_ITM_ID ,A.ITM_ID_VNDR ,A.CNTRCT_SETID ,A.CNTRCT_ID ,A.VERSION_NBR ,A.CNTRCT_LINE_NBR ,A.CAT_LINE_NBR ,A.PO_DT , A.SHIPTO_SETID ,A.SHIPTO_ID ,A.DISP_METHOD ,A.ASOF_DTTM , A.SRM_DB_S_ACCT_PER %Concat '/' %Concat %Substring(%NumToChar(A.FISCAL_YEAR), 3, 2) FROM PS_PO_SPEND_PVG A

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REPORT_ENTITY Character(5) VARCHAR2(5) NOT NULL Reporting Entity ID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 PO_ID Character(10) VARCHAR2(10) NOT NULL Purchase Order
4 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
5 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number
6 BUYER_ID Character(30) VARCHAR2(30) NOT NULL Buyer
7 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
8 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
9 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
10 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
11 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.
12 BUYER_DESCR Character(30) VARCHAR2(30) NOT NULL Buyer Desc
13 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
14 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
15 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
16 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
17 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
18 CNTRCT_FLAG Character(1) VARCHAR2(1) NOT NULL PO Contract Spend
A=All
N=Non PO Contract
P=PO Contract
19 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.
20 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
21 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
22 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
23 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
24 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID

Prompt Table: %EDIT_MFGITM_ID

25 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
26 CNTRCT_SETID Character(5) VARCHAR2(5) NOT NULL SetID
27 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
28 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number
29 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr

Prompt Table: %EDIT_CNTRCT_LN

30 CAT_LINE_NBR Number(5,0) INTEGER NOT NULL Contract Category Line Number

Prompt Table: %EDITTABLE4

31 PO_DT Date(10) DATE Date
32 SHIPTO_SETID Character(5) VARCHAR2(5) NOT NULL ShipTo SetID
33 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
34 DISP_METHOD Character(3) VARCHAR2(3) NOT NULL Dispatch Method
EDX=Electronic Document Exchange
EML=Email Dispatch
FAX=Fax Transmission
PHN=Phone Dispatch
PRN=Print
35 ASOF_DTTM DateTime(26) TIMESTAMP Data As Of
36 MONTH_CHAR Character(15) VARCHAR2(15) NOT NULL Accounting Period