VNDR_BAL_VWC

(SQL View)
Index Back

Supplier Balance View


select a.vendor_setid, a.vendor_id, a.txn_currency_cd, a.business_unit, a.voucher_id, c.pymnt_cnt, a.invoice_id, a.invoice_dt, a.gross_amt, a.dscnt_amt, a.close_status, a.entry_status, a.accounting_dt, a.post_status_ap, c.remit_setid, c.remit_vendor, a.pymnt_terms_cd, c.pymnt_gross_amt, c.dscnt_pay_amt, c.due_dt, c.dscnt_due_dt, c.scheduled_pay_dt, c.pymnt_selct_status, c.pymnt_hold, c.pymnt_hold_wthd, c.pymnt_method, c.pymnt_handling_cd, a.appr_status, a.doc_type, a.doc_seq_nbr, a.doc_seq_date, a.doc_seq_status from PS_VOUCHER a, ps_vendor b, ps_pymnt_vchr_xref c where a.vendor_setid = b.setid and a.vendor_id = b.vendor_id and a.business_unit = c.business_unit and a.voucher_id = c.voucher_id and a.entry_status = 'P' and c.pymnt_selct_status = 'N'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Prompt Table: VENDOR_PRIM_VW

3 TXN_CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Transaction Currency
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
5 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID

Prompt Table: VOUCHER

6 PYMNT_CNT Number(5,0) INTEGER NOT NULL Payments
7 INVOICE_ID Character(30) VARCHAR2(30) NOT NULL Invoice Number
8 INVOICE_DT Date(10) DATE NOT NULL Invoice Date
9 GROSS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Invoice Amount
10 DSCNT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Discount Amount
11 CLOSE_STATUS Character(1) VARCHAR2(1) NOT NULL Close Status Indicator
C=Closed
O=Open
12 ENTRY_STATUS Character(1) VARCHAR2(1) NOT NULL If translate values are added or changed, modify the following code to make sure the values appear accurately in the dropdown list in the search dialog: VCHR_SRCH_DEL.ENTRY_STATUS.SearchInit. Template Voucher status should not be visibile in the drop down.
C=Complete
D=Through batch defaults
E=Edited by Batch Voucher Module
L=Reviewed through Maintenance
M=Modified
O=Open
P=Postable
R=Recycle
S=Scheduled for Payment
T=Template Voucher
X=Deleted
13 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
14 POST_STATUS_AP Character(1) VARCHAR2(1) NOT NULL Post Status
N=Payment Not Applied
P=Posted
U=Unposted
15 REMIT_SETID Character(5) VARCHAR2(5) NOT NULL Remit SetID
16 REMIT_VENDOR Character(10) VARCHAR2(10) NOT NULL Remit Vendor

Prompt Table: VNDR_RMT_VW_CY

17 PYMNT_TERMS_CD Character(5) VARCHAR2(5) NOT NULL Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers.

Prompt Table: PYMT_TR_EFF_VW

18 PYMNT_GROSS_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Payment Amount
19 DSCNT_PAY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Discount Amount
20 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.
21 DSCNT_DUE_DT Date(10) DATE Discount Due Date
22 SCHEDULED_PAY_DT Date(10) DATE Scheduled to Pay
23 PYMNT_SELCT_STATUS Character(1) VARCHAR2(1) NOT NULL Payment Selection Status
C=Closed
D=Negative Voucher Sum
E=Externally Paid
F=Federal Sanctions Error
I=In Process - EFT
N=Not Selected for Payment
O=Financial Sanctions Review
P=Paid
R=Requested for Payment
S=Settlement Payment
V=Convert Error
X=Canceled
Y=Prepaid
24 PYMNT_HOLD Character(1) VARCHAR2(1) NOT NULL Hold Payment
N=No
Y=Yes
25 PYMNT_HOLD_WTHD Character(1) VARCHAR2(1) NOT NULL On Withholding Hold
N=No
Y=Yes
26 PYMNT_METHOD Character(3) VARCHAR2(3) NOT NULL Payment Method
ACH=Automated Clearing House
BEF=Draft - Customer EFT
BOO=Draft - Customer Initiated
CHK=System Check
D=Deposit
DD=Direct Debit
DFT=Draft - Supplier Initiated
DRA=Draft
EFT=Electronic Funds Transfer
GE=Giro - EFT
GM=Giro - Manual
LC=Letter of Credit
MAN=Manual Check
TRW=Treasury Wire
WIR=Wire Transfer
27 PYMNT_HANDLING_CD Character(2) VARCHAR2(2) NOT NULL Payment Handling
28 APPR_STATUS Character(1) VARCHAR2(1) NOT NULL Approval status flag used on appr_inst_log and derived records to track virtual approver status
A=Approved
D=Denied
P=Pending
29 DOC_TYPE Character(8) VARCHAR2(8) NOT NULL Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code.
30 DOC_SEQ_NBR Character(12) VARCHAR2(12) NOT NULL Specifies the sequence number assigned to each financial transaction (a document). The sequence number may be manually entered or system-generated.
31 DOC_SEQ_DATE Date(10) DATE Specifies the date that a document sequence number is assigned to a document or the date the document was created.
32 DOC_SEQ_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates a document sequencing error. If there is no error the field is blank and document is considered valid for posting.
1=Document Sequencing Disabled
A=GL BU Undefined
B=GL BU Blank
C=Accounting Date blank
D=Doc Type Blank
E=Jrnl Type, Code, Doc Undefine
F=Sequence Range Undefine
G=Max. Sequence Number Reached
H=Manual Nbr for Auto Doc Type
I=No Manual Number Entered
J=Duplicate Manual Number
K=Invalid Ledger
L=Invalid Ledger Group
N=No Status