POSTED_DJ_VW

(SQL View)
Index Back

All Misc Payments - Complete


SELECT a.deposit_bu , a.deposit_id , a.payment_seq_num , a.payment_id , b.dst_seq_num , b.business_unit , b.monetary_amount , b.currency_cd , b.system_defined , b.gl_distrib_status , b.accounting_dt , a.bnk_id_nbr , a.bank_account_num , a.recon_cycle_nbr FROM PS_PAYMENT a , PS_PAY_MISC_DST b WHERE a.deposit_bu=b.deposit_bu AND a.deposit_id=b.deposit_id AND a.payment_seq_num=b.payment_seq_num AND a.misc_payment='Y' AND a.payment_status <> 'R' AND b.movement_flag='N'

# 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 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.
4 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.
5 DST_SEQ_NUM Number(6,0) INTEGER NOT NULL Distribution Sequence
6 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Default Value: PAYMENT.DEPOSIT_BU

7 MONETARY_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account.
8 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
9 SYSTEM_DEFINED Character(2) VARCHAR2(2) NOT NULL "A flag that indicates the accounting entry line type. The valid line types are pre-populated by PeopleSoft. For example the value is ""A"" if the line represents a debit or credit to the AR account. Some examples of other values are D (Draft Receivables entry) and L (Cash Control entry). "
10 GL_DISTRIB_STATUS Character(1) VARCHAR2(1) NOT NULL Distribution Status
C=Available to Contracts
D=Distributed
G=Generated
H=Hold
I=Ignored
J=Creating Journals
M=Modified
N=None
P=To be processed
X=Waiting for Reversal

Default Value: N

11 ACCOUNTING_DT Date(10) DATE NOT NULL The accounting entry construction date for a given transaction (a generic field that crosses multiple

Default Value: PAYMENT.ACCOUNTING_DT

12 BNK_ID_NBR Character(20) VARCHAR2(20) NOT NULL A literal alphanumeric attribute that uniquely identifies a given bank or counterparty.
13 BANK_ACCOUNT_NUM Character(35) VARCHAR2(35) NOT NULL The literal unique identifier associated with a given bank/counterparty account.
14 RECON_CYCLE_NBR Number(10,0) DECIMAL(10) NOT NULL The bank statement ID.