KK_K_ASCREV1_VW(SQL View) |
Index Back |
---|---|
Associated Revenue Amts |
SELECT R.BUSINESS_UNIT , R.LEDGER_GROUP , R.SEQ_NBR , R.ACCOUNT , R.DEPTID , %subrec(CF9A_AK_SBR, R) , %subrec(CFCC2_AK_SBR, R) , R.BUDGET_PERIOD , A.LEDGER , L.LEDGER_TYPE_KK , - SUM(A.POSTED_TOTAL_AMT) , MAX(A.DTTM_STAMP_SEC) FROM PS_LEDGER_KK A , PS_KK_REV_XREF R , PS_LED_GRP_LED_TBL L , PS_SET_CNTRL_REC F WHERE A.BUSINESS_UNIT = R.BUSINESS_UNIT AND A.ACCOUNT = R.ACCOUNT AND A.DEPTID = R.DEPTID AND %Join(COMMON_FIELDS, CF9A_AK_SBR A, CF9A_AK_SBR R) AND %Join(COMMON_FIELDS, CFCC2_AK_SBR A, CFCC2_AK_SBR R) AND A.BUDGET_PERIOD = R.BUDGET_PERIOD AND A.CURRENCY_CD = R.CURRENCY_CD AND A.LEDGER = L.LEDGER AND L.SETID = F.SETID AND F.SETCNTRLVALUE = A.BUSINESS_UNIT AND F.RECNAME = 'LED_GRP_LED_TBL' AND L.LEDGER_GROUP = R.LEDGER_GROUP GROUP BY R.BUSINESS_UNIT, R.LEDGER_GROUP, R.SEQ_NBR, R.ACCOUNT, R.DEPTID, %subrec(CF9A_AK_SBR, R), %subrec(CFCC2_AK_SBR, R), R.BUDGET_PERIOD, A.LEDGER, L.LEDGER_TYPE_KK |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | LEDGER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Ledger Group |
3 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
4 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
5 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
6 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPER_UNIT_TBL |
7 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_TBL |
8 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_TBL |
9 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASS_CF_TBL |
10 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_TBL |
11 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_TBL |
12 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
13 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
14 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
15 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CHARTFIELD1_TBL |
16 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CHARTFIELD2_TBL |
17 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CHARTFIELD3_TBL |
18 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL |
PC Business Unit
Prompt Table: SP_PCBUGL_NONVW |
19 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: SP_PROJFS_NONVW |
20 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: PROJ_ACT_FVW |
21 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Source Type
Prompt Table: PROJ_RESTYPE_FS |
22 | BUDGET_PERIOD | Character(8) | VARCHAR2(8) NOT NULL | Budget Period |
23 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
24 | LEDGER_TYPE_KK | Character(1) | VARCHAR2(1) NOT NULL |
Commitment Control Ledger Type
0=Budget 1=Expense or Recognized Revenue 2=Encumbrance 3=Pre-Encumbrance 4=Collected Revenue 5=Planned |
25 | POSTED_TOTAL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the net balance of debit and credit amounts that have been posted to a particular ChartField combination. |
26 | DTTM_STAMP_SEC | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |