ITEM_ITEM_CVW

(SQL View)
Index Back

Closed Items (keyed by Item)


SELECT I.item , I.item_line , I.business_unit , I.cust_id , I.entry_type , I.bal_amt , I.bal_currency , I.bal_amt_base , I.currency_cd , I.accounting_dt FROM PS_ITEM I , ps_customer S WHERE item_status = 'C' AND I.CUST_ID = S.CUST_ID AND S.SETID = ( SELECT C.SETID FROM PS_SET_CNTRL_REC C WHERE C.RECNAME = 'CUSTOMER' AND C.SETCNTRLVALUE = I.business_unit)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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.
2 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
4 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.
5 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.
6 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
7 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount
8 BAL_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Balance - Base Currency
9 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
10 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple