ITEM_OPR_VW1

(SQL View)
Index Back

Items By User Security Profile


SELECT DISTINCT C.setid , I.business_unit , I.cust_id , I.item , I.item_line , I.subcust_qual1 , I.subcust_qual2 , C.nameshort , I.item_seq_num , I.po_ref , I.po_line , 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.dispute_amount , I.bal_amt , 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.bal_amt_base , I.bal_currency , I.currency_cd , I.aging_category , I.disc_dt , I.letter_cd , I.dun_dt , I.address_seq_num , I.contract_num , I.order_no , I.rate_mult , I.rate_div , I.consol_bus_unit , I.consol_invoice , I.draft_bu , I.draft_id , I.dd_bu , I.dd_id , I.user_dt1 , I.user_dt2 , I.user_dt3 , I.user_dt4 , I.pprc_promo_cd , I.claim_no , 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.LC_ID , I.ar_specialist , i.broker_id , i.sales_person , I.sales_person2 , I.cr_analyst , I.collector , I.sold_to_cust_id , I.ship_to_cust_id , I.proof_of_delivery , I.invoice , I.dt_invoiced , I.claim_dt , I.class_of_trade , I.division , I.payment_method , I.bank_cd , I.bank_acct_key , I.convers_exists , I.business_unit_bi , I.disc_amt , 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 FROM PS_ITEM I , ps_customer C , PS_SP_BU_CS2_OPRVW O WHERE I.BUSINESS_UNIT = O.BUSINESS_UNIT AND C.SETID = O.SETID_INQ AND c.setid = ( 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 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: BU_EDIT_VW_AR

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.

Prompt Table: CUST_SRCH_VW
Set Control Field: BUSINESS_UNIT

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 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.
7 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.
8 NAMESHORT Character(10) VARCHAR2(10) NOT NULL Short Name
9 ITEM_SEQ_NUM Number(3,0) SMALLINT NOT NULL Item Sequence Number
10 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.
11 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.
12 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.
13 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
14 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
15 EFFDT Date(10) DATE Effective Date
16 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.
17 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.
18 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.
19 DISPUTE_DT Date(10) DATE Specifies the date that an item was placed in dispute status.
20 DISPUTE_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the amount of an item in dispute. This may represent only a portion of the full amount of an item.
21 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
22 POST_DT Date(10) DATE The Date a transaction was Posted.
23 ASOF_DT Date(10) DATE As of Date
24 ITEM_STATUS Character(1) VARCHAR2(1) NOT NULL Item Status
C=Closed
O=Open
25 DEDUCTION_STATUS Character(5) VARCHAR2(5) NOT NULL Deduction Status
C=Closed
I=In Process
O=Created/Opened
W=On Worksheet
26 DEDUCTION_DT Date(10) DATE Deduction Date
27 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

28 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.
29 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.
30 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""."
31 REF_REASON Character(5) VARCHAR2(5) NOT NULL Reference Reason

Prompt Table: ENTRY_REASN_TBL

32 BAL_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Balance - Base Currency
33 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount
34 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
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 DUN_DT Date(10) DATE Specifies the date that a dunning letter is sent. This date is generated by the Dunning SQR.
39 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
40 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
41 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
42 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
43 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor

Default Value: 1

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 DD_BU Character(5) VARCHAR2(5) NOT NULL Specifies the business unit to which a direct debit is posted. This field is maintained by the Direct debit generation process.
49 DD_ID Character(15) VARCHAR2(15) NOT NULL Specifies a sequence number assigned to a Direct Debit by the Direct Debit generation process.
50 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).
51 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).
52 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).
53 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).
54 PPRC_PROMO_CD Character(20) VARCHAR2(20) NOT NULL Price Promotion Code
55 CLAIM_NO Character(30) VARCHAR2(30) NOT NULL Claim Number for an item
56 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)
57 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)
58 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)
59 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)
60 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)
61 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)
62 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)
63 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)
64 ORIG_ITEM_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Original Item Amount
65 LAST_ACTIVITY_DT Date(10) DATE Last Activity Date
66 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.
67 LC_ID Character(12) VARCHAR2(12) NOT NULL Treasury Letter of Credit Number Assigned by the System
68 AR_SPECIALIST Character(8) VARCHAR2(8) NOT NULL Accounts Recievable Specialist - person responsible for an action on an item.
69 BROKER_ID Character(15) VARCHAR2(15) NOT NULL Broker ID
70 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.
71 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.
72 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.
73 COLLECTOR Character(8) VARCHAR2(8) NOT NULL Specifies the personnel code for the person who works with a customer to collect overdue payments.
74 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
75 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
76 PROOF_OF_DELIVERY Character(30) VARCHAR2(30) NOT NULL Proof of Delivery
77 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
78 DT_INVOICED Date(10) DATE Date Invoiced
79 CLAIM_DT Date(10) DATE Claim Date
80 CLASS_OF_TRADE Character(20) VARCHAR2(20) NOT NULL Class of Trade
81 DIVISION Character(20) VARCHAR2(20) NOT NULL Division
82 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
83 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
84 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
85 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 ."
86 BUSINESS_UNIT_BI Character(5) VARCHAR2(5) NOT NULL Billing Business Unit
87 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.
88 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).
89 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).
90 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).
91 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).
92 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).
93 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).
94 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).
95 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).
96 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).
97 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).
98 INVOICE_DT Date(10) DATE Invoice Date
99 BUSINESS_UNIT_CA Character(5) VARCHAR2(5) NOT NULL Contracts Business Unit
100 CONTRACT_LINE_NUM Number(3,0) SMALLINT NOT NULL Contract Line Num
101 SUBROG_CASE_NUM Character(30) VARCHAR2(30) NOT NULL Subrogation case number used for Insurance
102 SP_ID Number(11,0) DECIMAL(11) NOT NULL Service Purchase ID