ITEM_CUSTBU_VW

(SQL View)
Index Back

BU Prompt by Open Item


SELECT item , item_line , cust_id , business_unit , bal_amt , accounting_dt , disc_dt , disc_amt , disc_dt1 , disc_amt1 , disc_days , allow_disc , bal_currency 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 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.
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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