CUST_AGE_AA_VW(SQL View) |
Index Back |
---|---|
Customer Aging By BU_OPT_AR ID |
select business_unit, cust_id, AGING_ID, AGING_CATEGORY, AGING_AMT, AGING_CNT, CURRENCY_CD from ps_cust_aging A where aging_id = (select aging_id from PS_BUS_UNIT_OPT_AR B where B.setid = (select setid from ps_set_cntrl_rec where setcntrlvalue = A.business_unit and recname = 'BUS_UNIT_OPT_AR' )) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_TBL_FS |
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 |
3 | AGING_ID | Character(5) | VARCHAR2(5) NOT NULL |
Aging ID
Prompt Table: AGING_TBL |
4 | AGING_CATEGORY | Character(2) | VARCHAR2(2) NOT NULL |
Aging Category
Prompt Table: AGING_CATEG_TBL |
5 | AGING_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Aging Amount |
6 | AGING_CNT | Number(6,0) | INTEGER NOT NULL | Aging Count |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |