OPENITM_AP_VW2

(SQL View)
Index Back

AP Open Item View


SELECT c.business_unit , c.OPEN_ITEM_KEY , c.jrnl_ln_ref , c.txn_currency_cd , c.account , c.voucher_id , c.voucher_line_num , c.distrib_line_num , a.post_status_ap , a.vendor_id , a.invoice_id , a.invoice_dt , b.descr , c.merchandise_amt , c.open_item_status , a.vndr_loc FROM PS_VOUCHER a , PS_VOUCHER_line b , ps_distrib_line c WHERE a.business_unit = b.business_unit AND a.business_unit = c.business_unit AND a.voucher_id = b.voucher_id AND a.voucher_id = c.voucher_id AND b.voucher_line_num = c.voucher_line_num AND a.entry_status <> 'X'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_GL_NONVW

2 OPEN_ITEM_KEY Character(30) VARCHAR2(30) NOT NULL Open Item Key
3 JRNL_LN_REF Character(10) VARCHAR2(10) NOT NULL Identifies a document, person, invoice, date, or any other piece of information that is associated with a journal line. It can be manually entered, or be defaulted from an accounting entry definition or from a Journal Generator Template. The journal line reference is optional, but helpful if you need to trace back to the source of the transaction.
4 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
5 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: GLACCT_OPN_VW

6 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
7 VOUCHER_LINE_NUM Number(5,0) INTEGER NOT NULL Voucher Line Number
8 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
9 POST_STATUS_AP Character(1) VARCHAR2(1) NOT NULL Post Status
N=Payment Not Applied
P=Posted
U=Unposted
10 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
11 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
12 INVOICE_DT Date(10) DATE Invoice Date
13 DESCR Character(30) VARCHAR2(30) NOT NULL Description
14 MERCHANDISE_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label
15 OPEN_ITEM_STATUS Character(1) VARCHAR2(1) NOT NULL Open Item Status
C=Closed Item
N=Not an Open Item Account
O=Open Item
16 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location