AP_PR_HDR_VW

(SQL View)
Index Back

Payment Request

Main Record

SELECT A.REQUEST_ID , A.BUSINESS_UNIT , A.VOUCHER_ID , A.MAX_VOUCHER_LINE , A.SCHEDULED_PAY_DT , A.INVOICE_ID , A.INVOICE_DT , A.VENDOR_SETID , A.VENDOR_ID , A.NAME1 , A.VENDOR_NAME_SHORT , A.VNDR_LOC , A.ADDRESS_SEQ_NUM , A.DESCR50 , A.LINE_AMT , A.MISC_AMT , A.FREIGHT_AMT , A.TAX_AMT , A.VAT_ENTRD_AMT , A.GROSS_AMT , A.TXN_CURRENCY_CD , A.COMMENT1 , A.VCHR_SRC , A.OPRID , A.ENTERED_DTTM , A.OPRID_LAST_UPDT , A.LASTUPDT_DTTM , A.PR_STATUS , A.PR_TEMPLATE_ID , B.PR_WORKFLOW_OPT FROM PS_PR_REQUEST A , PS_PR_TEMPLATE B WHERE A.PR_TEMPLATE_ID = B.PR_TEMPLATE_ID AND B.PR_WORKFLOW_OPT IN ('A','B')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REQUEST_ID Character(10) VARCHAR2(10) NOT NULL Request ID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
4 MAX_VOUCHER_LINE Number(5,0) INTEGER NOT NULL Max Voucher Lines
5 SCHEDULED_PAY_DT Date(10) DATE Scheduled to Pay
6 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
7 INVOICE_DT Date(10) DATE Invoice Date
8 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
9 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
10 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
11 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
12 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
13 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
14 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50
15 LINE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Cost Retired at Chart
16 MISC_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Misc. Amount
17 FREIGHT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Freight Amount
18 TAX_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Amount
19 VAT_ENTRD_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Entered VAT Amount
20 GROSS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Invoice Amount
21 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
22 COMMENT1 Character(254) VARCHAR2(254) NOT NULL Comments
23 VCHR_SRC Character(4) VARCHAR2(4) NOT NULL Voucher Source
24 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
25 ENTERED_DTTM DateTime(26) TIMESTAMP Entered Datetime
26 OPRID_LAST_UPDT Character(30) VARCHAR2(30) NOT NULL Last User to Update
27 LASTUPDT_DTTM DateTime(26) TIMESTAMP Last Upd Dttm
28 PR_STATUS Character(1) VARCHAR2(1) NOT NULL To detemine Payment Request Status
1=New
2=Denied
3=Submitted
4=Pending
5=Approved
6=Vouchered
7=Cancelled
29 PR_TEMPLATE_ID Character(30) VARCHAR2(30) NOT NULL Payment Request Template Name
30 PR_WORKFLOW_OPT Character(1) VARCHAR2(1) NOT NULL Workflow Options
A=Workflow Approval
B=Review before Workflow Approva
N=AP Review - No Workflow Engine