OC_COMPARE_VW(SQL View) |
Index Back |
---|---|
Finance Charge BalancesCompares current item balances for a customer to the item balances on the statement. |
SELECT a.crspd_setid , a.crspd_cust_id , a.oc_id_num , a.bal_currency , a.address_seq_num , a.business_unit , a.cust_id , a.item , a.item_line , a.bal_amt , a.entry_type , a.entry_reason , b.bal_amt , ' ' FROM ps_oc_cust_dtl a , PS_ITEM b WHERE a.business_unit = b.business_unit AND a.cust_id = b.cust_id AND a.item = b.item AND a.item_line = b.item_line |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CRSPD_SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | CRSPD_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Correspondence Customer |
3 | OC_ID_NUM | Number(8,0) | INTEGER NOT NULL | Overdue Charge Number |
4 | BAL_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Currency Code - Bal Amount |
5 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | 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. |
8 | 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. |
9 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
10 | ORIG_BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Original Balance Amount |
11 | 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. |
12 | ENTRY_REASON | Character(5) | VARCHAR2(5) NOT NULL | "Specifies an entry reason that further qualifies the entry type associated with a pending item. For example an entry reason for a credit memo might be ""Pricing Error"" or ""Shipping Error""." |
13 | BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Item Balance |
14 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |