TRN_ITEM_VW(SQL View) |
Index Back |
---|---|
Transfer WS - Open Items |
SELECT cust_id , item , item_line , business_unit , item_status , bal_amt , entry_type , entry_reason , accounting_dt , cr_analyst , sales_person , collector , due_dt , asof_dt , dispute_status , po_ref , po_line , document , document_line , pymnt_terms_cd , disc_amt , disc_amt1 , due_days , disc_days , allow_disc , dst_id_ar , user_dt1 , user_dt2 , user_dt3 , user_dt4 , dispute_dt , disc_dt , disc_dt1 , dun_dt , st_dt , fc_dt , collection_dt , collection_status , bill_of_lading , subcust_qual1 , subcust_qual2 , currency_cd , bal_currency , rt_type , rate_mult , rate_div , bal_amt_base , entry_use_id , order_no , contract_num , business_unit_bi , business_unit_om , address_seq_num , letter_cd , user_amt1 , user_amt2 , user_amt3 , user_amt4 , user_amt5 , user_amt6 , user_amt7 , user_amt8 , user1 , user2 , user3 , user4 , user5 , user6 , user7 , user8 , user9 , user10 , business_unit_ca , contract_line_num , subrog_case_num FROM PS_ITEM WHERE item_status <> 'C' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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. |
2 | 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. |
3 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
4 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
5 | ITEM_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Item Status
C=Closed O=Open |
6 | BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Item Balance |
7 | 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. |
8 | 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""." |
9 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
10 | CR_ANALYST | Character(8) | VARCHAR2(8) NOT NULL | Specifies the personnel code for the person who works with a customer to establish credit limits and payment terms. This field is required for a bill-to customer. |
11 | SALES_PERSON | Character(8) | VARCHAR2(8) NOT NULL | Specifies the personnel code for the person who works with a customer as a sales representative. This field is required for a customer that functions as a bill-to customer. |
12 | COLLECTOR | Character(8) | VARCHAR2(8) NOT NULL | Specifies the personnel code for the person who works with a customer to collect overdue payments. |
13 | 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. |
14 | ASOF_DT | Date(10) | DATE | As of Date |
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 | PO_REF | Character(30) | VARCHAR2(30) NOT NULL | Specifies the purchase order number associated with a receivables item. |
17 | PO_LINE | Number(3,0) | SMALLINT NOT NULL | Specifies the line number of a purchase order associated with a receivables item. It is used with the field PO_REF. |
18 | DOCUMENT | Character(30) | VARCHAR2(30) NOT NULL | Specifies a document used as a reference number for a Receivables item. Document ID is used by the Receivables Update program and the Maintenance Worksheet to "match" related invoices debit memos and credit memos. |
19 | DOCUMENT_LINE | Number(6,0) | INTEGER NOT NULL | Specifies the line number of a Document ID used as a reference on a Receivables item. |
20 | 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. |
21 | DISC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the discount amount available if payment on an item is made before the discount date. The amount is manually entered or system-generated using the payment terms code. The discount date associated with this amount is specified in DISC_DT. This is the first of two possible discounts associated with an item. |
22 | DISC_AMT1 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the discount amount available if payment on an item is made before the discount date. The amount is manually entered or system-generated using the payment terms code. The discount date associated with this amount is specified in DISC_DT1. This is the second of two possible discounts associated with an item. |
23 | DUE_DAYS | Number(3,0) | SMALLINT NOT NULL | "Specifies the number of days beyond the due date for which payment is still considered on time. This defines a payment ""grace period""." |
24 | DISC_DAYS | Number(3,0) | SMALLINT NOT NULL | Specifies the number of days beyond the discount date during which a discount is valid. This defines a discount "grace period". |
25 | ALLOW_DISC | Character(1) | VARCHAR2(1) NOT NULL | A flag that specifies whether or not (Y or N) all discounts for the associated item are to be considered earned even if they have expired. |
26 | DST_ID_AR | Character(10) | VARCHAR2(10) NOT NULL | Specifies the general ledger ChartField combination that is affected when subsequent activity such as a payment occurs for the item. |
27 | USER_DT1 | Date(10) | DATE | Specifies an additional date associated with a pending receivables item. This field is customizable and user-defined and is one of four user date fields (USER_DT1 through USER_DT4). |
28 | USER_DT2 | Date(10) | DATE | Specifies an additional date associated with a pending receivables item. This field is customizable and user-defined and is one of four user date fields (USER_DT1 through USER_DT4). |
29 | USER_DT3 | Date(10) | DATE | Specifies an additional date associated with a pending receivables item. This field is customizable and user-defined and is one of four user date fields (USER_DT1 through USER_DT4). |
30 | USER_DT4 | Date(10) | DATE | Specifies an additional date associated with a pending receivables item. This field is customizable and user-defined and is one of four user date fields (USER_DT1 through USER_DT4). |
31 | DISPUTE_DT | Date(10) | DATE | Specifies the date that an item was placed in dispute status. |
32 | DISC_DT | Date(10) | DATE | Specifies the date before which payment must be made on an invoice in order to qualify for a discount. This field applies to the first of two possible discounts and is associated with the discount amount specified in DISC_AMT. |
33 | DISC_DT1 | Date(10) | DATE | Specifies the date before which payment must be made on an invoice in order to qualify for a discount. This field applies to the second of two possible discounts and is associated with the discount amount specified in DISC_AMT1. |
34 | DUN_DT | Date(10) | DATE | Specifies the date that a dunning letter is sent. This date is generated by the Dunning SQR. |
35 | ST_DT | Date(10) | DATE | Specifies the date a statement (Receivables) is generated. This date is maintained by the Statements SQR. |
36 | FC_DT | Date(10) | DATE | Specifies the date a finance charge is generated for an overdue Receivables item. This date is maintained by the Finance Charge SQR. |
37 | COLLECTION_DT | Date(10) | DATE | Specifies the date that a customer or invoice was put in collection status. Collection status indicates that the customer is delinquent in making payments or the invoice is more than 120 days past due. |
38 | 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. |
39 | BILL_OF_LADING | Character(30) | VARCHAR2(30) NOT NULL | Specifies a bill of lading number associated with a Receivables item. |
40 | SUBCUST_QUAL1 | Character(15) | VARCHAR2(15) NOT NULL | Specifies a user-defined grouping of customer receivables activity. A subcustomer qualifier provides the ability to record and report receivables activity across multiple business units and/or multiple customers. For example a subcustomer qualifier could represent a sales region or a geographic area. There are two possible subcustomer qualifiers: SUBCUST_QUAL1 and SUBCUST_QUAL2. |
41 | SUBCUST_QUAL2 | Character(15) | VARCHAR2(15) NOT NULL | Specifies a user-defined grouping of customer receivables activity. A subcustomer qualifier provides the ability to record and report receivables activity across multiple business units and/or multiple customers. For example a subcustomer qualifier could represent a sales region or a geographic area. There are two possible subcustomer qualifiers: SUBCUST_QUAL1 and SUBCUST_QUAL2. |
42 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
43 | BAL_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Currency Code - Bal Amount |
44 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |
45 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
46 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL |
Rate Divisor
Default Value: 1 |
47 | BAL_AMT_BASE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Balance - Base Currency |
48 | ENTRY_USE_ID | Character(5) | VARCHAR2(5) NOT NULL | Specifies the System Function or type of processing associated with an entry type. |
49 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL | Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop |
50 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
51 | BUSINESS_UNIT_BI | Character(5) | VARCHAR2(5) NOT NULL | Billing Business Unit |
52 | BUSINESS_UNIT_OM | Character(5) | VARCHAR2(5) NOT NULL | Order Management Business Unit |
53 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
54 | LETTER_CD | Character(3) | VARCHAR2(3) NOT NULL | Specifies a type of correspondence used for follow-up letters or dunning notices. A letter code is associated with a customizable template to facilitate form letters. |
55 | USER_AMT1 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
56 | USER_AMT2 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
57 | USER_AMT3 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
58 | USER_AMT4 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
59 | USER_AMT5 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
60 | USER_AMT6 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
61 | USER_AMT7 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
62 | USER_AMT8 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies an additional amount associated with a pending item. This field is customizable and user-defined and is one of eight user amount fields. (USER_AMT1 through USER_AMT8) |
63 | USER1 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
64 | USER2 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
65 | USER3 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
66 | USER4 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
67 | USER5 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
68 | USER6 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
69 | USER7 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
70 | USER8 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
71 | USER9 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
72 | USER10 | Character(1) | VARCHAR2(1) NOT NULL | Describes additional information about a pending receivables item. This field is customizable and user-defined and is one of ten text fields (USER1 through USER10). |
73 | BUSINESS_UNIT_CA | Character(5) | VARCHAR2(5) NOT NULL | Contracts Business Unit |
74 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL | Contract Line Num |
75 | SUBROG_CASE_NUM | Character(30) | VARCHAR2(30) NOT NULL | Subrogation case number used for Insurance |