RTBL_SCE_COMP(SQL View) |
Index Back |
---|---|
Ledger DataGL Ledger balances - detail |
SELECT A.SCE_ID , B.RTBL_SCENARIO ,B.DESCRIPTION_RTB ,B.CATEGORY_SCENARIO ,'ANCHR_SCE' SCENARIO , A.BUSINESS_UNIT , A.LEDGER , A.ACCOUNT , A.DEPTID , A.CURRENCY_CD , A.STATISTICS_CODE , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.TOTAL_AMT_SRC , A.TOTAL_DR_SRC , A.TOTAL_CR_SRC , A.BASE_AMT_SRC , A.TRAN_AMT_SRC , A.TRAN_DR_SRC , A.TRAN_CR_SRC , A.POSTED_TOTAL_AMT , A.POSTED_TOTAL_DR , A.POSTED_TOTAL_CR , A.POSTED_BASE_AMT , A.POSTED_TRAN_AMT , A.POSTED_TRAN_DR , A.POSTED_TRAN_CR , A.BASE_CURRENCY , A.DTTM_STAMP_SEC , A.PROCESS_INSTANCE , A.SOURCE_DATA FROM PS_RTBL_LEDGER A , PS_RTBL_SCENARIO B WHERE A.SCE_ID=B.SCE_ID UNION SELECT A.SCE_ID , B.RTBL_SCENARIO ,B.DESCRIPTION_RTB ,B.CATEGORY_SCENARIO ,'COMP_SCE1' SCENARIO , A.BUSINESS_UNIT , A.LEDGER , A.ACCOUNT , A.DEPTID , A.CURRENCY_CD , A.STATISTICS_CODE , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.TOTAL_AMT_SRC , A.TOTAL_DR_SRC , A.TOTAL_CR_SRC , A.BASE_AMT_SRC , A.TRAN_AMT_SRC , A.TRAN_DR_SRC , A.TRAN_CR_SRC , A.POSTED_TOTAL_AMT , A.POSTED_TOTAL_DR , A.POSTED_TOTAL_CR , A.POSTED_BASE_AMT , A.POSTED_TRAN_AMT , A.POSTED_TRAN_DR , A.POSTED_TRAN_CR , A.BASE_CURRENCY , A.DTTM_STAMP_SEC , A.PROCESS_INSTANCE , A.SOURCE_DATA FROM PS_RTBL_LEDGER A , PS_RTBL_SCENARIO B WHERE A.SCE_ID=B.SCE_ID UNION SELECT A.SCE_ID , B.RTBL_SCENARIO ,B.DESCRIPTION_RTB ,B.CATEGORY_SCENARIO ,'COMP_SCE2' SCENARIO , A.BUSINESS_UNIT , A.LEDGER , A.ACCOUNT , A.DEPTID , A.CURRENCY_CD , A.STATISTICS_CODE , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.TOTAL_AMT_SRC , A.TOTAL_DR_SRC , A.TOTAL_CR_SRC , A.BASE_AMT_SRC , A.TRAN_AMT_SRC , A.TRAN_DR_SRC , A.TRAN_CR_SRC , A.POSTED_TOTAL_AMT , A.POSTED_TOTAL_DR , A.POSTED_TOTAL_CR , A.POSTED_BASE_AMT , A.POSTED_TRAN_AMT , A.POSTED_TRAN_DR , A.POSTED_TRAN_CR , A.BASE_CURRENCY , A.DTTM_STAMP_SEC , A.PROCESS_INSTANCE , A.SOURCE_DATA FROM PS_RTBL_LEDGER A , PS_RTBL_SCENARIO B WHERE A.SCE_ID=B.SCE_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SCE_ID | Character(10) | VARCHAR2(10) NOT NULL | ID |
2 | RTBL_SCENARIO | Character(18) | VARCHAR2(18) NOT NULL | Scenario Name |
3 | DESCRIPTION_RTB | Character(40) | VARCHAR2(40) NOT NULL | Description |
4 | CATEGORY_SCENARIO | Character(50) | VARCHAR2(50) NOT NULL |
Category
Default Value: OVERHEAD Prompt Table: RTBL_CATS_VW |
5 | SCENARIO | Character(10) | VARCHAR2(10) NOT NULL |
A unique key identifier that allows a treasury to classify distinct revaluation events as varying and divergent ca
Prompt Table: RTBL_SCE_TYPVW |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
8 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL | Account |
9 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
10 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
11 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL | Statistics Code |
12 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
13 | 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. |
14 | TOTAL_AMT_SRC | 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. |
15 | TOTAL_DR_SRC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Posted Total Debits |
16 | TOTAL_CR_SRC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Posted Total Credits |
17 | BASE_AMT_SRC | 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, in the base currency of the business unit. Unless the Separate Debit/Credit option is set up, the ledger stores net amounts only. |
18 | TRAN_AMT_SRC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Posted Transaction Amount |
19 | TRAN_DR_SRC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Debit Amount |
20 | TRAN_CR_SRC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Credit Amount |
21 | 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. |
22 | POSTED_TOTAL_DR | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Posted Total Debits |
23 | POSTED_TOTAL_CR | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Posted Total Credits |
24 | POSTED_BASE_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, in the base currency of the business unit. Unless the Separate Debit/Credit option is set up, the ledger stores net amounts only. |
25 | POSTED_TRAN_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Posted Transaction Amount |
26 | POSTED_TRAN_DR | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Debit Amount |
27 | POSTED_TRAN_CR | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Credit Amount |
28 | BASE_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | "Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. " |
29 | 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. |
30 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
31 | SOURCE_DATA | Character(1) | VARCHAR2(1) NOT NULL | Source Data Flag |