ITEM_SUBC_Q2_VW

(SQL View)
Index Back

All Docs (keyed by Doc)

Date Initials Issue # Description 3/15/2012 edw 13838822 add name1

SELECT I.subcust_qual2 ,I.item , I.item_line , I.business_unit , I.cust_id , S.NAME1 , I.bal_amt , I.bal_currency FROM PS_ITEM I , ps_customer S WHERE I.subcust_qual2 <> ' ' AND I.CUST_ID = S.CUST_ID AND S.SETID = ( SELECT C.SETID FROM PS_SET_CNTRL_REC C WHERE C.RECNAME = 'CUSTOMER' AND C.SETCNTRLVALUE = I.business_unit)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 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.
2 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.
3 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUARDS_NONVW

5 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_BI_A2_VW

6 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
7 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
8 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount