ITEM_CR_VW(SQL View) |
Index Back |
---|---|
Item View by Correspndnce Cust |
SELECT C.crspd_setid , C.crspd_cust_id , I.business_unit , I.cust_id , I.item , I.item_line , I.subcust_qual1 , I.subcust_qual2 , C.name1 , C.nameshort , I.item_seq_num , I.po_ref , I.document , I.bill_of_lading , I.accounting_dt , I.accounting_dt , I.pymnt_terms_cd , I.due_dt , I.dispute_status , I.dispute_dt , I.bal_amt , I.bal_currency , I.bal_amt_base , I.currency_cd , I.post_dt , I.asof_dt , I.item_status , I.deduction_status , I.deduction_dt , I.collection_status , I.collection_dt , I.entry_type , I.entry_reason , I.ref_reason , I.aging_category , I.disc_dt , I.letter_cd , I.ag_ref_nbr , I.dun_dt , I.st_dt , I.address_seq_num , I.contract_num , I.order_no , I.consol_bus_unit , I.consol_invoice , I.draft_bu , I.draft_id , I.user_amt1 , I.user_amt2 , I.user_amt3 , I.user_amt4 , I.user_amt5 , I.user_amt6 , I.user_amt7 , I.user_amt8 , I.orig_item_amt , I.last_activity_dt , I.doubtful , I.invoice , I.cr_analyst , I.ar_specialist , I.broker_id , I.collector , I.sales_person , I.proof_of_delivery , I.po_line , I.pprc_promo_cd , I.ship_to_cust_id , I.sold_to_cust_id , I.division , I.convers_exists , I.business_unit_bi , I.claim_no , I.payment_method , I.bank_cd , I.bank_acct_key , I.class_of_trade , I.claim_dt , I.dt_invoiced , I.sales_person2 , I.lc_id , I.disc_amt , I.user_dt1 , I.user_dt2 , I.user_dt3 , I.user_dt4 , I.user1 , I.user2 , I.user3 , I.user4 , I.user5 , I.user6 , I.user7 , I.user8 , I.user9 , I.user10 , I.invoice_dt , I.business_unit_ca , I.contract_line_num , I.subrog_case_num , I.sp_id , I.entered_dttm , I.oprid , I.last_update_dttm , I.oprid_last_updt FROM PS_ITEM I , ps_customer C WHERE c.setid IN ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = I.business_unit AND RECNAME = 'CUSTOMER') AND C.cust_id = I.cust_id |
# | 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 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BU_EDIT_VW_AR |
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.
Prompt Table: CUST_BI_A2_VW |
5 | 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. |
6 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
7 | 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. |
8 | 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. |
9 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
10 | NAMESHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Name |
11 | ITEM_SEQ_NUM | Number(3,0) | SMALLINT NOT NULL | Item Sequence Number |
12 | PO_REF | Character(30) | VARCHAR2(30) NOT NULL | Specifies the purchase order number associated with a receivables item. |
13 | 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. |
14 | BILL_OF_LADING | Character(30) | VARCHAR2(30) NOT NULL | Specifies a bill of lading number associated with a Receivables item. |
15 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
16 | EFFDT | Date(10) | DATE | Effective Date |
17 | 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. |
18 | 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. |
19 | 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.
Default Value: N Prompt Table: DISPUTE_TBL |
20 | DISPUTE_DT | Date(10) | DATE | Specifies the date that an item was placed in dispute status. |
21 | BAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Item Balance |
22 | BAL_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Currency Code - Bal Amount |
23 | BAL_AMT_BASE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Balance - Base Currency |
24 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
25 | POST_DT | Date(10) | DATE | The Date a transaction was Posted. |
26 | ASOF_DT | Date(10) | DATE | As of Date |
27 | ITEM_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Item Status
C=Closed O=Open |
28 | DEDUCTION_STATUS | Character(5) | VARCHAR2(5) NOT NULL |
Deduction Status
C=Closed I=In Process O=Created/Opened W=On Worksheet |
29 | DEDUCTION_DT | Date(10) | DATE | Deduction Date |
30 | 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.
Prompt Table: COLLECTION_TBL |
31 | 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. |
32 | 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. |
33 | 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""." |
34 | REF_REASON | Character(5) | VARCHAR2(5) NOT NULL | Reference Reason |
35 | AGING_CATEGORY | Character(2) | VARCHAR2(2) NOT NULL | Aging Category |
36 | 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. |
37 | 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. |
38 | AG_REF_NBR | Number(16,0) | DECIMAL(16) NOT NULL | Payment Reference Number |
39 | DUN_DT | Date(10) | DATE | Specifies the date that a dunning letter is sent. This date is generated by the Dunning SQR. |
40 | ST_DT | Date(10) | DATE | Specifies the date a statement (Receivables) is generated. This date is maintained by the Statements SQR. |
41 | ADDRESS_SEQ_NUM | Number(5,0) | INTEGER NOT NULL | Address Sequence Number |
42 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
43 | 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 |
44 | CONSOL_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Specifies the Billing business unit associated with a consolidated bill. |
45 | CONSOL_INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Specifies the invoice identifier associated with a consolidated bill. |
46 | DRAFT_BU | Character(5) | VARCHAR2(5) NOT NULL | Identifies the Receivables business unit associated with a draft. This field is maintained by the Draft Creation process. |
47 | DRAFT_ID | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies a payment draft. The Draft ID is system-generated during the Draft Creation process or manually entered. |
48 | 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) |
49 | 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) |
50 | 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) |
51 | 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) |
52 | 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) |
53 | 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) |
54 | 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) |
55 | 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) |
56 | ORIG_ITEM_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Original Item Amount |
57 | LAST_ACTIVITY_DT | Date(10) | DATE | Last Activity Date |
58 | DOUBTFUL | Character(1) | VARCHAR2(1) NOT NULL | Identifies items ( or invoices ) which probably will not be paid by the customer. This status is used for items whose balances have been moved from the receivables account to the doubtful account using the transfer worksheet. |
59 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
60 | 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. |
61 | AR_SPECIALIST | Character(8) | VARCHAR2(8) NOT NULL | Accounts Recievable Specialist - person responsible for an action on an item. |
62 | BROKER_ID | Character(15) | VARCHAR2(15) NOT NULL | Broker ID |
63 | COLLECTOR | Character(8) | VARCHAR2(8) NOT NULL | Specifies the personnel code for the person who works with a customer to collect overdue payments. |
64 | 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. |
65 | PROOF_OF_DELIVERY | Character(30) | VARCHAR2(30) NOT NULL | Proof of Delivery |
66 | 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. |
67 | PPRC_PROMO_CD | Character(20) | VARCHAR2(20) NOT NULL | Price Promotion Code |
68 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
69 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
70 | DIVISION | Character(20) | VARCHAR2(20) NOT NULL | Division |
71 | CONVERS_EXISTS | Character(1) | VARCHAR2(1) NOT NULL | "A flag that indicates whether a conversation is associated with a single item or with multiple items ." |
72 | BUSINESS_UNIT_BI | Character(5) | VARCHAR2(5) NOT NULL | Billing Business Unit |
73 | CLAIM_NO | Character(30) | VARCHAR2(30) NOT NULL | Claim Number for an item |
74 | PAYMENT_METHOD | Character(3) | VARCHAR2(3) NOT NULL |
Specifies the preferred method of payment by a customer. Examples of payment method are check direct debit and draft.
10/28/2003 edw 655070000 - Removed LTC and CSH xlats.
ACH=ACH CC=Credit Card CHK=Check CSH=Cash DD=Direct Debit DR=Draft EC=Electronic Check EFT=Electronic Fund Transfer GE=Giro - EFT PL=PayPal WIR=Wire Report |
75 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
76 | BANK_ACCT_KEY | Character(4) | VARCHAR2(4) NOT NULL | A user defined unique identifier that facilitates the identification of a given account with a given bank |
77 | CLASS_OF_TRADE | Character(20) | VARCHAR2(20) NOT NULL | Class of Trade |
78 | CLAIM_DT | Date(10) | DATE | Claim Date |
79 | DT_INVOICED | Date(10) | DATE | Date Invoiced |
80 | SALES_PERSON2 | Character(8) | VARCHAR2(8) NOT NULL | Identifies a second Sales Person. Populated on the Item Table to identify an additional Sales Person the Item is applied to. |
81 | LC_ID | Character(12) | VARCHAR2(12) NOT NULL | Treasury Letter of Credit Number Assigned by the System |
82 | 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. |
83 | 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). |
84 | 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). |
85 | 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). |
86 | 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). |
87 | 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). |
88 | 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). |
89 | 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). |
90 | 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). |
91 | 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). |
92 | 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). |
93 | 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). |
94 | 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). |
95 | 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). |
96 | 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). |
97 | INVOICE_DT | Date(10) | DATE | Invoice Date |
98 | BUSINESS_UNIT_CA | Character(5) | VARCHAR2(5) NOT NULL | Contracts Business Unit |
99 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL | Contract Line Num |
100 | SUBROG_CASE_NUM | Character(30) | VARCHAR2(30) NOT NULL | Subrogation case number used for Insurance |
101 | SP_ID | Number(11,0) | DECIMAL(11) NOT NULL | Service Purchase ID |
102 | ENTERED_DTTM | DateTime(26) | TIMESTAMP | Entered Datetime |
103 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
104 | LAST_UPDATE_DTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |
105 | OPRID_LAST_UPDT | Character(30) | VARCHAR2(30) NOT NULL | Last User to Update |