AR_LIST_SS_VW

(SQL View)
Index Back

AR Open items for Credit Card


SELECT BUSINESS_UNIT , H.CUST_ID , ITEM , ITEM_LINE , DUE_DT , PYMNT_TERMS_CD , PAYMENT_METHOD , BAL_AMT , BAL_CURRENCY FROM PS_ITEM H WHERE H.ITEM_STATUS = 'O' AND H.PAYMENT_METHOD IN ('CHK', 'CC') AND H.ITEM NOT IN ( SELECT X.ITEM FROM PS_ITEM X , PS_CCPAY_PEND_VW Y WHERE X.BUSINESS_UNIT = Y.BUSINESS_UNIT AND X.CUST_ID = Y.CUST_ID AND X.ITEM = Y.ITEM AND X.ITEM_LINE = Y.ITEM_LINE)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
3 ITEM Character(30) VARCHAR2(30) NOT NULL Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number.
4 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
5 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.
6 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.
7 PAYMENT_METHOD Character(3) VARCHAR2(3) NOT NULL Specifies the preferred method of payment by a customer. Examples of payment method are check direct debit and draft. 10/28/2003 edw 655070000 - Removed LTC and CSH xlats.
ACH=ACH
CC=Credit Card
CHK=Check
CSH=Cash
DD=Direct Debit
DR=Draft
EC=Electronic Check
EFT=Electronic Fund Transfer
GE=Giro - EFT
PL=PayPal
WIR=Wire Report
8 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code