C360_ITEM_VW

(SQL View)
Index Back

Items


SELECT cust_id , business_unit , item , item_line , subcust_qual1 , subcust_qual2 , item_seq_num , po_ref , po_line , document , bill_of_lading , accounting_dt , accounting_dt , pymnt_terms_cd , due_dt , dispute_status , dispute_dt , CASE WHEN DISPUTE_STATUS <> ' ' THEN %Round(%DecMult(%DecDiv(DISPUTE_AMOUNT, RATE_DIV), RATE_MULT),3) ELSE 0 END , bal_amt , asof_dt , item_status , deduction_status , deduction_dt , collection_status , collection_dt , entry_type , entry_reason , ref_reason , bal_amt_base , bal_currency , currency_cd , aging_category , disc_dt , letter_cd , dun_dt , st_dt , address_seq_num , contract_num , order_no , rate_mult , rate_div , consol_bus_unit , consol_invoice , pprc_promo_cd , claim_no , orig_item_amt , last_activity_dt , doubtful , LC_ID , ag_ref_nbr , ar_specialist , broker_id , sales_person , sales_person2 , cr_analyst , collector , sold_to_cust_id , ship_to_cust_id , proof_of_delivery , invoice , dt_invoiced , claim_dt , class_of_trade , division , payment_method , bank_cd , bank_acct_key , convers_exists , business_unit_bi , disc_amt , invoice_dt , business_unit_ca , contract_line_num , subrog_case_num , sp_id , entry_use_id , CASE WHEN DUE_DT < %CurrentDateIn THEN BAL_AMT_BASE ELSE 0 END , CASE WHEN DOUBTFUL = 'Y' THEN BAL_AMT_BASE ELSE 0 END , CASE WHEN DEDUCTION_STATUS <> ' ' THEN BAL_AMT_BASE ELSE 0 END , CASE WHEN COLLECTION_STATUS <> ' ' THEN BAL_AMT_BASE ELSE 0 END , %Sql(EOEW_FUNCLIB_DATE_MONTH_UPD, dispute_dt) , %Sql(EOEW_FUNCLIB_DATE_YEAR_UPD, dispute_dt) , %Sql(EOEW_FUNCLIB_DATE_MONTH_UPD, collection_dt) , %Sql(EOEW_FUNCLIB_DATE_YEAR_UPD, collection_dt) , %Sql(EOEW_FUNCLIB_DATE_MONTH_UPD, deduction_dt) , %Sql(EOEW_FUNCLIB_DATE_YEAR_UPD, deduction_dt) , %Sql(C360_FUNCLIB_DATE_YYYYMM, dispute_dt) FROM PS_ITEM

# 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.

Prompt Table: CUST_SRCH_VW

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

Prompt Table: SP_BUARDS_NONVW

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

25 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.
26 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.
27 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""."
28 REF_REASON Character(5) VARCHAR2(5) NOT NULL Reference Reason

Prompt Table: ENTRY_REASN_TBL

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

Default Value: 1

42 CONSOL_BUS_UNIT Character(5) VARCHAR2(5) NOT NULL Specifies the Billing business unit associated with a consolidated bill.
43 CONSOL_INVOICE Character(22) VARCHAR2(22) NOT NULL Specifies the invoice identifier associated with a consolidated bill.
44 PPRC_PROMO_CD Character(20) VARCHAR2(20) NOT NULL Price Promotion Code
45 CLAIM_NO Character(30) VARCHAR2(30) NOT NULL Claim Number for an item
46 ORIG_ITEM_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Original Item Amount
47 LAST_ACTIVITY_DT Date(10) DATE Last Activity Date
48 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.
49 LC_ID Character(12) VARCHAR2(12) NOT NULL Treasury Letter of Credit Number Assigned by the System
50 AG_REF_NBR Number(16,0) DECIMAL(16) NOT NULL Payment Reference Number
51 AR_SPECIALIST Character(8) VARCHAR2(8) NOT NULL Accounts Recievable Specialist - person responsible for an action on an item.
52 BROKER_ID Character(15) VARCHAR2(15) NOT NULL Broker ID
53 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.
54 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.
55 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.
56 COLLECTOR Character(8) VARCHAR2(8) NOT NULL Specifies the personnel code for the person who works with a customer to collect overdue payments.
57 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
58 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
59 PROOF_OF_DELIVERY Character(30) VARCHAR2(30) NOT NULL Proof of Delivery
60 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
61 DT_INVOICED Date(10) DATE Date Invoiced
62 CLAIM_DT Date(10) DATE Claim Date
63 CLASS_OF_TRADE Character(20) VARCHAR2(20) NOT NULL Class of Trade
64 DIVISION Character(20) VARCHAR2(20) NOT NULL Division
65 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
66 BANK_CD Character(5) VARCHAR2(5) NOT NULL Bank Code
67 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
68 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 ."
69 BUSINESS_UNIT_BI Character(5) VARCHAR2(5) NOT NULL Billing Business Unit
70 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.
71 INVOICE_DT Date(10) DATE Invoice Date
72 BUSINESS_UNIT_CA Character(5) VARCHAR2(5) NOT NULL Contracts Business Unit
73 CONTRACT_LINE_NUM Number(3,0) SMALLINT NOT NULL Contract Line Num
74 SUBROG_CASE_NUM Character(30) VARCHAR2(30) NOT NULL Subrogation case number used for Insurance
75 SP_ID Number(11,0) DECIMAL(11) NOT NULL Service Purchase ID
76 ENTRY_USE_ID Character(5) VARCHAR2(5) NOT NULL Specifies the System Function or type of processing associated with an entry type.
77 PASTDUE Signed Number(28,3) DECIMAL(26,3) NOT NULL Past Due
78 DOUBTFUL_AMOUNT Signed Number(17,2) DECIMAL(15,2) NOT NULL Doubtful Amount
79 DEDUCTION_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Deduction Amount
80 COLLECTION_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Collection Amount
81 C360_DIS_MTH Character(2) VARCHAR2(2) NOT NULL Dispute Month
01=01-January
02=02-February
03=03-March
04=04-April
05=05-May
06=06-June
07=07-July
08=08-August
09=09-September
10=10-October
11=11-November
12=12-December
82 C360_DIS_YEAR Character(4) VARCHAR2(4) NOT NULL Dispute Year
83 C360_COL_MTH Character(2) VARCHAR2(2) NOT NULL Collection Month
01=January
02=February
03=March
04=April
05=May
06=June
07=July
08=August
09=September
10=October
11=November
12=December
84 C360_COL_YEAR Character(4) VARCHAR2(4) NOT NULL Collection Year
85 C360_DED_MTH Character(2) VARCHAR2(2) NOT NULL Deduction Month
01=January
02=February
03=March
04=April
05=May
06=June
07=July
08=August
09=September
10=October
11=November
12=December
86 C360_DED_YEAR Character(4) VARCHAR2(4) NOT NULL Deduction Year
87 C360_DIS_PERIOD Character(8) VARCHAR2(8) NOT NULL Period