PAYMENT_SEL_VW

(SQL View)
Index Back

Payment Worksheet Selection


SELECT B.PAY_WS_TYPE , A.DEPOSIT_BU , A.DEPOSIT_ID , A.PAYMENT_SEQ_NUM , A.PAYMENT_ID , A.PAYMENT_AMT , A.PAYMENT_CURRENCY , A.PAYMENT_STATUS , B.OPRID , B.ASSN_OPRID , A.PP_METHOD , A.ALGORITHM_GROUP , A.ALGORITHM , A.ENTRY_DT , A.ACCOUNTING_DT , A.BILL_TO_CUST_ID , A.REQ_WO_COMMENTS FROM PS_PAYMENT A , PS_DEPOSIT_CONTROL B , PS_BUS_UNIT_TBL_AR AR WHERE A.POST_DT IS NULL AND A.MISC_PAYMENT='N' AND A.DEPOSIT_BU=B.DEPOSIT_BU AND A.DEPOSIT_ID=B.DEPOSIT_ID AND A.PROCESS_INSTANCE=0 AND B.CASH_CNTRL = A.CASH_CNTRL_USE AND A.DEPOSIT_BU = AR.BUSINESS_UNIT AND ( (A.CASH_CNTRL_USE = 'Y' AND (A.CASH_CNTRL_DONE = 'Y' OR (A.CASH_CNTRL_DONE = 'N' AND AR.CASH_CNTL_METH = ' '))) OR A.CASH_CNTRL_USE = 'N') AND B.LB_FORMAT_ERROR='N' AND A.PAYMENT_STATUS <> 'B'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PAY_WS_TYPE Character(1) VARCHAR2(1) NOT NULL Payment Worksheet Type
C=Credit Card Worksheet
E=ePayment Worksheet
P=Payment Worksheet

Default Value: P

2 DEPOSIT_BU Character(5) VARCHAR2(5) NOT NULL Identifies the business unit to which a deposit is posted.

Default Value: OPR_DEF_TBL_AR.DEPOSIT_BU

Prompt Table: SP_BUARDE_NONVW

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

Prompt Table: DEPOSIT_NP_VW

4 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.
5 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.

Prompt Table: PAYMENT_ALL_VW

6 PAYMENT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the amount of a customer payment.
7 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.

Prompt Table: CURRENCY_CD_TBL

8 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
9 ORIG_OPRID Character(30) VARCHAR2(30) NOT NULL User ID
10 ASSN_OPRID Character(30) VARCHAR2(30) NOT NULL Specifies the operator ID of the person who will enter items in a group. This is used when one person enters the control totals and another person enters the actual transactions. The assigned operator is also the person who processes the group and the person who is shown on group inquiry and processing panels.

Prompt Table: OPR_DEF_VW_AR

11 PP_METHOD Character(15) VARCHAR2(15) NOT NULL Payment Predictor Method

Prompt Table: PP_MET_TBL_VW

12 ALGORITHM_GROUP Character(15) VARCHAR2(15) NOT NULL Algorithm Group for Payment Predictor
13 ALGORITHM Character(7) VARCHAR2(7) NOT NULL Algorithm Identifier
14 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).
15 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
16 BILL_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer

Prompt Table: CUST_BI_VW

17 REQ_WO_COMMENTS Long Character CLOB Requestor Write-off Comments