AR_SRCH_OVR_VW(SQL View) |
Index Back |
---|---|
Customer Item Activity |
SELECT I.BUSINESS_UNIT , I.CUST_ID , I.ITEM , I.ITEM_LINE , I.BAL_AMT_BASE , I.CURRENCY_CD , (CASE WHEN I.DUE_DT < %CurrentDateIn THEN I.BAL_AMT_BASE ELSE 0 END) AS OVERDUE_AMT FROM PS_ITEM I WHERE I.ITEM_STATUS = 'O' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_TBL_FS |
2 | 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.
Prompt Table: CUST_BI_A2_VW |
3 | 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. |
4 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
5 | BAL_AMT_BASE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Balance - Base Currency |
6 | BASE_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | "Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. " |
7 | OVERDUE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Overdue Amount |