ITEM_ITM2_VW

(SQL View)
Index Back

Open Items (keyed by Item)


SELECT item , item_line , business_unit , cust_id , bal_amt , accounting_dt , disc_dt , disc_amt , disc_dt1 , disc_amt1 , disc_days , allow_disc , bal_currency , currency_cd , rate_mult , rate_div , document , po_ref , item_status , vat_entity , vat_calc_gross_net , vat_dclrtn_point , vat_recalc_flg , vat_excptn_type , vat_excptn_certif , country_vat_billfr , country_vat_billto , country_ship_to , country_ship_from , vat_rgstrn_buyer , VAT_TREATMENT_GRP , PHYSICAL_NATURE , COUNTRY_LOC_BUYER , STATE_LOC_BUYER , COUNTRY_LOC_SELLER , STATE_LOC_SELLER , VAT_SVC_SUPPLY_FLG , VAT_SERVICE_TYPE , COUNTRY_VAT_PERFRM , STATE_VAT_PERFRM , COUNTRY_VAT_SUPPLY , STATE_VAT_SUPPLY , STATE_SHIP_FROM , STATE_SHIP_TO , STATE_VAT_DEFAULT , VAT_RPT_CNTRY_SRC , REF_REASON , BAL_AMT_BASE , RT_TYPE , VAT_ROUND_RULE , CR_ANALYST , COLLECTOR , SALES_PERSON , SALES_PERSON2 , REGION_CD , DOUBTFUL , REVALUE_FLAG , PACKSLIP_NO , SBI_NUM , LC_ID , AR_SPECIALIST , BROKER_ID , CARRIER_ID , CLAIM_DT , CLASS_OF_TRADE , DEDUCTION_STATUS , DEDUCTION_DT , DIVISION , DT_INVOICED , INV_PROD_FAM_CD , INVOICE , INVOICE_BU , MAJOR_CLASS , MERCH_TYPE , PROOF_OF_DELIVERY , SHIP_FROM_BU , SHIP_TO_ADDR_NUM , SHIP_TO_CUST_ID , SOLD_TO_ADDR_NUM , SOLD_TO_CUST_ID , DISPUTE_STATUS , COLLECTION_STATUS , CONVERS_EXISTS , ADDRESS_SEQ_NUM FROM PS_ITEM I WHERE item_status = 'O'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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.
2 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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.
5 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
6 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
7 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.
8 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.
9 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.
10 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.
11 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".
12 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.
13 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount
14 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
15 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
16 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor

Default Value: 1

17 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.
18 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.
19 ITEM_STATUS Character(1) VARCHAR2(1) NOT NULL Item Status
C=Closed
O=Open
20 VAT_ENTITY Character(20) VARCHAR2(20) NOT NULL Specifies an organizational entity that is responsible for VAT reporting and that is registered in one or more countries that require VAT reporting. A single VAT entity is linked to one or more General Ledger Business Units depending on the reporting requirements.
21 VAT_CALC_GROSS_NET Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether VAT calculation should be done on the Gross (G) amount or on the Net (N) amount of sales or purchase transaction. When calculating VAT at net the early payment discount is applied to the goods amount before calculating the VAT. When calculating VAT at gross the VAT is initially calculated based on the gross transaction amount.
G=Calculate at Gross
N=Calculate at Net
22 VAT_DCLRTN_POINT Character(1) VARCHAR2(1) NOT NULL A flag that specifies when VAT information for sales or purchase transaction is recognized for reporting to the appropriate VAT authority. VAT is declared at invoice time, delivery time, accounting date or the time of payment.
A=At Accounting Date
D=At Delivery Time
I=At Invoice Time
P=At Payment Time
23 VAT_RECALC_FLG Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not the VAT discount amount is recalculated at payment time. This field is only used if the VAT Calculation Type (VAT_CAL_GROSS_NET) is gross.
24 VAT_EXCPTN_TYPE Character(1) VARCHAR2(1) NOT NULL A flag that specifies the reason for a VAT exemption for a customer. Suspension (S) and Exoneration (X) are examples of Exception Type.
N=None
S=Suspended
X=Exonerated
25 VAT_EXCPTN_CERTIF Character(20) VARCHAR2(20) NOT NULL Specifies the VAT exception certificate number. This identifier serves as proof of customer's exemption from VAT.
26 COUNTRY_VAT_BILLFR Character(3) VARCHAR2(3) NOT NULL Specifies the country where an invoice is generated (for VAT processing only).
27 COUNTRY_VAT_BILLTO Character(3) VARCHAR2(3) NOT NULL Specifies the country where an invoice is sent (for VAT processing only).
28 COUNTRY_SHIP_TO Character(3) VARCHAR2(3) NOT NULL Specifies the country to which the invoice contents were shipped (for VAT processing only).
29 COUNTRY_SHIP_FROM Character(3) VARCHAR2(3) NOT NULL Specifies the country from which the invoice contents were shipped (for VAT processing only).
30 VAT_RGSTRN_BUYER Character(20) VARCHAR2(20) NOT NULL Specifies a customers VAT Registration ID for a particular country.
31 VAT_TREATMENT_GRP Character(4) VARCHAR2(4) NOT NULL VAT Treatment Group
32 PHYSICAL_NATURE Character(1) VARCHAR2(1) NOT NULL Physical Nature
G=Goods
S=Services
33 COUNTRY_LOC_BUYER Character(3) VARCHAR2(3) NOT NULL Buyer's Location Country - May be either the VAT Entity or the Trading Partner
34 STATE_LOC_BUYER Character(6) VARCHAR2(6) NOT NULL Buyer's Location State - May be either the VAT Entity or the Trading Partner
35 COUNTRY_LOC_SELLER Character(3) VARCHAR2(3) NOT NULL Seller's Location Country - May be either the VAT Entity or the Trading Partner
36 STATE_LOC_SELLER Character(6) VARCHAR2(6) NOT NULL Seller's Location State - May be either the VAT Entity or the Trading Partner
37 VAT_SVC_SUPPLY_FLG Character(1) VARCHAR2(1) NOT NULL VAT Services Place of Supply Flag
1=Supplier's Countries
2=Buyer's Countries
3=Where Physically Performed
38 VAT_SERVICE_TYPE Character(1) VARCHAR2(1) NOT NULL VAT Service Type
1=Freight Transport
2=Other
3=Electronics/Communication
39 COUNTRY_VAT_PERFRM Character(3) VARCHAR2(3) NOT NULL Country Where Service Physically Performed
40 STATE_VAT_PERFRM Character(6) VARCHAR2(6) NOT NULL State Where Service Physically Performed
41 COUNTRY_VAT_SUPPLY Character(3) VARCHAR2(3) NOT NULL VAT Place of Supply Country
42 STATE_VAT_SUPPLY Character(6) VARCHAR2(6) NOT NULL VAT Place of Supply State
43 STATE_SHIP_FROM Character(6) VARCHAR2(6) NOT NULL Ship From State
44 STATE_SHIP_TO Character(6) VARCHAR2(6) NOT NULL Ship To State
45 STATE_VAT_DEFAULT Character(6) VARCHAR2(6) NOT NULL VAT Defaulting State
46 VAT_RPT_CNTRY_SRC Character(1) VARCHAR2(1) NOT NULL VAT Reporting Country Source
1=Ship From
2=Ship To
3=VAT Entity
4=Service Performed Country
5=Supplier Location Country
6=Buyer Location Country
7=Buyer VAT Registration Country
47 REF_REASON Character(5) VARCHAR2(5) NOT NULL Reference Reason
48 BAL_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Balance - Base Currency
49 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.
50 VAT_ROUND_RULE Character(1) VARCHAR2(1) NOT NULL " Rounding rule to be applied to VAT calculations. Options are 'Natural'
D=Round Down
N=Natural Round
U=Round Up
51 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.
52 COLLECTOR Character(8) VARCHAR2(8) NOT NULL Specifies the personnel code for the person who works with a customer to collect overdue payments.
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 REGION_CD Character(10) VARCHAR2(10) NOT NULL Identifies the Sales Region. Populated on the Item Table to identify the Sales Region the Item is applied to.
56 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.
57 REVALUE_FLAG Character(1) VARCHAR2(1) NOT NULL Can be either 'Y' or 'N'. This field is located on the ITEM Table and signifies whether or not an item will be considered by the Revaluation Process to be revaluated.
58 PACKSLIP_NO Character(22) VARCHAR2(22) NOT NULL Packing Slip Number
59 SBI_NUM Character(40) VARCHAR2(40) NOT NULL SBI_num
60 LC_ID Character(12) VARCHAR2(12) NOT NULL Treasury Letter of Credit Number Assigned by the System
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 CARRIER_ID Character(10) VARCHAR2(10) NOT NULL Carrier ID
64 CLAIM_DT Date(10) DATE Claim Date
65 CLASS_OF_TRADE Character(20) VARCHAR2(20) NOT NULL Class of Trade
66 DEDUCTION_STATUS Character(5) VARCHAR2(5) NOT NULL Deduction Status
C=Closed
I=In Process
O=Created/Opened
W=On Worksheet
67 DEDUCTION_DT Date(10) DATE Deduction Date
68 DIVISION Character(20) VARCHAR2(20) NOT NULL Division
69 DT_INVOICED Date(10) DATE Date Invoiced
70 INV_PROD_FAM_CD Character(10) VARCHAR2(10) NOT NULL Family
71 INVOICE Character(22) VARCHAR2(22) NOT NULL Invoice
72 INVOICE_BU Character(5) VARCHAR2(5) NOT NULL Invoice Business Unit
73 MAJOR_CLASS Character(10) VARCHAR2(10) NOT NULL Major Classification
74 MERCH_TYPE Character(10) VARCHAR2(10) NOT NULL Merchandising Type
75 PROOF_OF_DELIVERY Character(30) VARCHAR2(30) NOT NULL Proof of Delivery
76 SHIP_FROM_BU Character(5) VARCHAR2(5) NOT NULL Ship from INV BU
77 SHIP_TO_ADDR_NUM Number(5,0) INTEGER NOT NULL Ship To Address Sequence Num
78 SHIP_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Ship To Customer
79 SOLD_TO_ADDR_NUM Number(5,0) INTEGER NOT NULL Sold To Address Sequence Num
80 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
81 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.
82 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.
83 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 ."
84 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number