EB_INV_LN_FL_VW(SQL View) |
Index Back |
---|---|
Open Item View (w/ cust name) |
SELECT C.SETID ,I.BUSINESS_UNIT ,I.CUST_ID ,I.ITEM ,I.ITEM_LINE ,I.ITEM_SEQ_NUM ,C.NAME1 ,I.ACCOUNTING_DT ,I.DUE_DT ,I.BAL_AMT ,I.BAL_CURRENCY ,I.ITEM_STATUS ,I.ENTRY_TYPE ,I.PYMNT_TERMS_CD ,I.DISPUTE_STATUS ,I.COLLECTION_STATUS ,I.DEDUCTION_STATUS FROM PS_ITEM I , ps_customer C , PS_SET_CNTRL_REC R WHERE I.item_status = 'O' AND I.business_unit = R.SETCNTRLVALUE AND R.REC_GROUP_ID = 'FS_23' AND R.RECNAME = 'CUSTOMER' AND R.SETID = C.setid AND C.cust_id = I.cust_id |
# | 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 | ITEM_SEQ_NUM | Number(3,0) | SMALLINT NOT NULL | Item Sequence Number |
7 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
8 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
9 | 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. |
10 | BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Item Balance |
11 | BAL_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Currency Code - Bal Amount |
12 | ITEM_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Item Status
C=Closed O=Open |
13 | 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. |
14 | PYMNT_TERMS_CD | Character(5) | VARCHAR2(5) NOT NULL | Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers. |
15 | 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. |
16 | 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. |
17 | DEDUCTION_STATUS | Character(5) | VARCHAR2(5) NOT NULL |
Deduction Status
C=Closed I=In Process O=Created/Opened W=On Worksheet |