AR_COPY_DJ_VW

(SQL View)
Index Back

Copy Direct Jrnl View

Copy direct journal search record

SELECT DISTINCT A.DEPOSIT_BU , A.DEPOSIT_ID , B.OPRID , B.ASSN_OPRID , B.ENTRY_DT , A.MISC_PAYMENT FROM PS_PAYMENT A ,PS_DEPOSIT_CONTROL B WHERE A.DEPOSIT_BU=B.DEPOSIT_BU AND A.DEPOSIT_ID=B.DEPOSIT_ID AND A.MISC_PAYMENT='Y' AND B.BAL_STATUS='I' AND NOT EXISTS( SELECT 'X' FROM PS_PAYMENT C WHERE C.DEPOSIT_BU=B.DEPOSIT_BU AND C.DEPOSIT_ID=B.DEPOSIT_ID AND C.MISC_PAYMENT<>'Y') AND NOT EXISTS( SELECT 'X' FROM PS_PAYMENT D WHERE D.DEPOSIT_BU=B.DEPOSIT_BU AND D.DEPOSIT_ID=B.DEPOSIT_ID AND D.PAYMENT_STATUS='R')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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

2 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_CONTROL

3 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
4 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.
5 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).
6 MISC_PAYMENT Character(1) VARCHAR2(1) NOT NULL Journal Directly