C360_CMP_PMT_VW

(SQL View)
Index Back

Complete Payments Detail View


SELECT DISTINCT S.SETID , C.BUSINESS_UNIT , C.CUST_ID , P.DEPOSIT_BU , P.DEPOSIT_ID , P.PAYMENT_SEQ_NUM , P.PAYMENT_ID , P.PAYMENT_METHOD , P.PAYMENT_AMT , P.PAYMENT_CURRENCY , %Round(%DecMult(%DecDiv(P.PAYMENT_AMT, P.PYMT_RATE_DIV), P.PYMT_RATE_MULT), 3) , P.CURRENCY_CD , P.ACCOUNTING_DT , P.PAYMENT_STATUS ,P.ENTRY_DT FROM PS_PAYMENT P , PS_PENDING_ITEM C , PS_SET_CNTRL_REC S WHERE P.PAYMENT_STATUS = 'C' AND P.DEPOSIT_BU = C.GROUP_BU AND P.GROUP_ID = C.GROUP_ID AND S.SETCNTRLVALUE = P.DEPOSIT_BU AND S.RECNAME = 'CUSTOMER'

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

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

Prompt Table: SP_BUARDS_CLSVW

3 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.

Prompt Table: CUST_SRCH_VW
Set Control Field: BUSINESS_UNIT

4 DEPOSIT_BU Character(5) VARCHAR2(5) NOT NULL Identifies the business unit to which a deposit is posted.
5 DEPOSIT_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies a deposit of customer payments. The deposit ID can be manually assigned or system-generated.
6 PAYMENT_SEQ_NUM Number(6,0) INTEGER NOT NULL Specifies the system-generated sequence number assigned to each payment as it is entered in a deposit.
7 PAYMENT_ID Character(15) VARCHAR2(15) NOT NULL Identifies a customer payment. This is usually a check number but may be some other identifying number.
8 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
9 PAYMENT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the amount of a customer payment.
10 PAYMENT_CURRENCY Character(3) VARCHAR2(3) NOT NULL Identifies the currency of a customer payment. This is generally the same as the currency specified for the deposit but it can be different.
11 PAY_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Amt - Base Curr
12 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
13 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
14 PAYMENT_STATUS Character(1) VARCHAR2(1) NOT NULL Payment Status
A=Applied
B=Bounced
C=Complete
E=Identified - Express
I=Identified
J=Directly Journalled
R=Unposted Direct Journal
U=Unidentified
W=Worksheet
15 ENTRY_DT Date(10) DATE Specifies the date that a group of pending items was entered into the system. This date may be later or the same as the date that the items were received by the organization (See RECEIVED_DT).