SUBC_HIST_SI_VW(SQL View) |
Index Back |
---|---|
SubCustomer History by Setid |
SELECT P.SETID, H.BUSINESS_UNIT, H.CUST_ID, H.SUBCUST_QUAL1, H.SUBCUST_QUAL2, H.CUST_HIST_ID, H.FISCAL_YEAR, H.ACCOUNTING_PERIOD, H.HIST_AMT, H.HIST_COUNT, H.HIST_COMPUTE, H.HIST_WEIGHT, H.HIST_DT, H.CURRENCY_CD FROM PS_SUBCUST_HISTORY H, PS_SET_CNTRL_REC P WHERE P.SETCNTRLVALUE = H.BUSINESS_UNIT AND P.RECNAME = 'CUSTOMER' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: BUS_UNIT_TBL_FS |
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.
Prompt Table: CUST_BI_A2_VW |
4 | 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. |
5 | 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. |
6 | CUST_HIST_ID | Character(10) | VARCHAR2(10) NOT NULL |
History ID
Prompt Table: CUST_HIST_TBL |
7 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
8 | ACCOUNTING_PERIOD | Number(3,0) | SMALLINT NOT NULL | Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table. |
9 | HIST_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | History Amt |
10 | HIST_COUNT | Signed Number(6,0) | DECIMAL(5) NOT NULL | History Count |
11 | HIST_COMPUTE | Character(1) | VARCHAR2(1) NOT NULL |
History Grouping Computation
A=Average S=Sum W=Weighted Average |
12 | HIST_WEIGHT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Weighting Amt |
13 | HIST_DT | Date(10) | DATE | History Date |
14 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |