AR_ITM_FLTR_VW

(SQL View)
Index Back

AR WorkCenter Filter


SELECT C.setid , I.cust_id , I.business_unit , I.item , I.item_line , I.subcust_qual1 , I.subcust_qual2 , I.item_status , I.deduction_status , I.deduction_dt , I.collection_status , I.collection_dt , I.entry_type , I.entry_reason ,' ' , ' ' , I.AR_SPECIALIST , I.CR_ANALYST , I.BROKER_ID , I.COLLECTOR , I.SALES_PERSON , I.INVOICE , I.CONSOL_INVOICE , I.ORDER_NO , I.DOCUMENT , I.PROOF_OF_DELIVERY , I.BILL_OF_LADING , I.PO_REF , I.PO_LINE , I.CLAIM_NO , I.AGING_CATEGORY , I.CONTRACT_NUM , I.PPRC_PROMO_CD , I.SOLD_TO_CUST_ID , I.SHIP_TO_CUST_ID , I.DISPUTE_STATUS , I.DISPUTE_DT , I.BAL_AMT , I.CURRENCY_CD , I.BAL_AMT_BASE , I.ORIG_ITEM_AMT , I.ACCOUNTING_DT , I.DISC_DT ,I.DUE_DT ,I.DUN_DT ,I.ASOF_DT ,I.ST_DT 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 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 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

3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: BU_EDIT_VW_AR

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 ITEM_STATUS Character(1) VARCHAR2(1) NOT NULL Item Status
C=Closed
O=Open
9 DEDUCTION_STATUS Character(5) VARCHAR2(5) NOT NULL Deduction Status
C=Closed
I=In Process
O=Created/Opened
W=On Worksheet
10 DEDUCTION_DT Date(10) DATE Deduction Date
11 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

12 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.
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 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""."
15 CUST_LEVEL_QRY Character(1) VARCHAR2(1) NOT NULL Customer Level
C=Corporate
N=No Relationship
P=Correspondence
R=Remit From
16 ITEM_QUERY_TYPE Character(1) VARCHAR2(1) NOT NULL Item Query Type
%=All
B=Doubtful
C=Closed
D=Disputed
L=Collection
O=Open
P=Past Due
R=Last Conv
T=Deduction
17 AR_SPECIALIST Character(8) VARCHAR2(8) NOT NULL Accounts Recievable Specialist - person responsible for an action on an item.
18 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.
19 BROKER_ID Character(15) VARCHAR2(15) NOT NULL Broker ID
20 COLLECTOR Character(8) VARCHAR2(8) NOT NULL Specifies the personnel code for the person who works with a customer to collect overdue payments.
21 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.
22 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
23 CONSOL_INVOICE Character(22) VARCHAR2(22) NOT NULL Specifies the invoice identifier associated with a consolidated bill.
24 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
25 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.
26 PROOF_OF_DELIVERY Character(30) VARCHAR2(30) NOT NULL Proof of Delivery
27 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
28 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.
29 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.
30 CLAIM_NO Character(30) VARCHAR2(30) NOT NULL Claim Number for an item
31 AGING_CATEGORY Character(2) VARCHAR2(2) NOT NULL Aging Category
32 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
33 PPRC_PROMO_CD Character(20) VARCHAR2(20) NOT NULL Price Promotion Code
34 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
35 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
36 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.
37 DISPUTE_DT Date(10) DATE Specifies the date that an item was placed in dispute status.
38 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
39 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
40 BAL_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Balance - Base Currency
41 ORIG_ITEM_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Original Item Amount
42 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
43 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.
44 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.
45 DUN_DT Date(10) DATE Specifies the date that a dunning letter is sent. This date is generated by the Dunning SQR.
46 ASOF_DT Date(10) DATE As of Date
47 ST_DT Date(10) DATE Specifies the date a statement (Receivables) is generated. This date is maintained by the Statements SQR.