AR_EBP_SCHED_VW

(SQL View)
Index Back

Item Scheduled


SELECT S.SETID , SCH.BUSINESS_UNIT , SCH.CUST_ID , SCH.ITEM , SCH.ITEM_LINE , SCH.HIST_SEQ , SCH.DUE_DT , SCH.AR_EBP_PAYM_DT , SCH.BAL_AMT , SCH.BAL_CURRENCY , SCH.PAY_AMT , SCH.PYMNT_METHOD_SS , SCH.SHORT_PAY_REASON , I.ENTRY_TYPE , I.DEDUCTION_STATUS , I.DISPUTE_STATUS , I.COLLECTION_STATUS , I.PAYMENT_PLAN FROM PS_AR_EBP_SCHEDULE SCH , PS_SET_CNTRL_REC S , PS_ITEM I WHERE (( SCH.PYMNT_METHOD_SS = 'CC' AND EXISTS ( SELECT 'X' FROM PS_CRCARD_PAYMENT CC WHERE CC.BUSINESS_UNIT = SCH.BUSINESS_UNIT AND CC.CUST_ID = SCH.CUST_ID AND CC.ITEM = SCH.ITEM AND CC.ITEM_LINE = SCH.ITEM_LINE AND CC.HIST_SEQ = SCH.HIST_SEQ AND CC.PROCESS_STATUS = 'N')) OR (SCH.PYMNT_METHOD_SS = 'DD' AND EXISTS ( SELECT 'X' FROM PS_AR_EBP_DD_TBL DD WHERE DD.BUSINESS_UNIT = SCH.BUSINESS_UNIT AND DD.CUST_ID = SCH.CUST_ID AND DD.ITEM = SCH.ITEM AND DD.ITEM_LINE = SCH.ITEM_LINE AND DD.HIST_SEQ = SCH.HIST_SEQ AND DD.PROCESS_STATUS = 'N')) OR (SCH.PYMNT_METHOD_SS IN ('EC', 'PL') AND EXISTS ( SELECT 'X' FROM PS_AR_EPAYMENT EPAY WHERE EPAY.BUSINESS_UNIT = SCH.BUSINESS_UNIT AND EPAY.CUST_ID = SCH.CUST_ID AND EPAY.ITEM = SCH.ITEM AND EPAY.ITEM_LINE = SCH.ITEM_LINE AND EPAY.HIST_SEQ = SCH.HIST_SEQ AND EPAY.PROCESS_STATUS = 'N'))) AND S.SETCNTRLVALUE = SCH.BUSINESS_UNIT AND S.RECNAME = 'CUSTOMER' AND I.BUSINESS_UNIT = SCH.BUSINESS_UNIT AND I.CUST_ID = SCH.CUST_ID AND I.ITEM = SCH.ITEM AND I.ITEM_LINE = SCH.ITEM_LINE

# 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
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.
4 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.
5 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
6 HIST_SEQ Number(9,0) DECIMAL(9) NOT NULL History sequence number
7 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.
8 AR_EBP_PAYM_DT Date(10) DATE eBill Payment Date
9 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
10 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount
11 PAY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Amount
12 PYMNT_METHOD_SS Character(3) VARCHAR2(3) NOT NULL Payment method for self-service.
CC=Credit Card
DD=Direct Debit
EC=Electronic Check
PL=PayPal
13 SHORT_PAY_REASON Character(8) VARCHAR2(8) NOT NULL Short Pay Reason
14 ENTRY_TYPE Character(5) VARCHAR2(5) NOT NULL Specifies the type of transaction associated with a pending item. The entry type remains with the item after it is posted and affects many areas of Receivables processing. Some examples of entry types are Invoices Credit Memo Prepayment and Deduction.
15 DEDUCTION_STATUS Character(5) VARCHAR2(5) NOT NULL Deduction Status
C=Closed
I=In Process
O=Created/Opened
W=On Worksheet
16 DISPUTE_STATUS Character(3) VARCHAR2(3) NOT NULL Specifies the reason that an item or customer is in dispute. For example the dispute status code might represent pricing error.
17 COLLECTION_STATUS Character(3) VARCHAR2(3) NOT NULL Specifies a collection agency or the reason for placing a customer in collection. Collection status indicates that the customer is delinquent in making payments or the invoice is more than 120 days past due.
18 PAYMENT_PLAN Character(15) VARCHAR2(15) NOT NULL Payment Plan