DIST_LN_FYPD(SQL View) |
Index Back |
---|---|
AM Accounting EntriesWhen adding a new field to this table, the field must be added to DIST_LN_VW. |
SELECT a.Business_Unit , a.Asset_ID , a.Book , b.Fiscal_Year , b.Accounting_Period , a.DtTm_Stamp , A.CF_SEQNO , %subrec(cf14_AN_sbr, a) , A.PROJECT_ID , a.Account , a.Altacct , A.DEPTID , a.Distribution_Type , a.Trans_Type , a.Trans_In_Out , a.Trans_Code , a.Accounting_Dt , a.Category , a.Cost_Type , a.Appl_Jrnl_ID , a.Amount , a.Journal_ID , a.Journal_Date , a.Process_Instance , a.GL_Distrib_Status , a.OprID , a.Currency_Cd , a.txn_currency_cd , a.txn_amount FROM PS_DIST_LN a , ps_Cal_Detp_Tbl b , PS_BU_BOOK_TBL D WHERE b.SetID = ( SELECT c.SetID FROM ps_Set_Cntrl_Rec c WHERE c.SetCntrlValue = a.Business_Unit AND c.RecName = 'CAL_DEFN_TBL') AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.BOOK = A.BOOK AND D.CAL_DEPR_PD = B.CALENDAR_ID AND a.Accounting_Dt BETWEEN b.Begin_Dt AND b.End_Dt |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
3 | BOOK | Character(10) | VARCHAR2(10) NOT NULL | Asset Book Name |
4 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
5 | 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. |
6 | DTTM_STAMP | 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. |
7 | CF_SEQNO | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
8 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPER_UNIT_TBL |
9 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_TBL |
10 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_TBL |
11 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASS_CF_TBL |
12 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_TBL |
13 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_TBL |
14 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
15 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
16 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
17 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CHARTFIELD1_TBL |
18 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CHARTFIELD2_TBL |
19 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CHARTFIELD3_TBL |
20 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: PROJECT_ID_VW |
21 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL |
Account
Prompt Table: GL_ACCT_CUR_VW |
22 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL |
Alternate Account
Prompt Table: ALTACCT_CUR_VW |
23 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
24 | DISTRIBUTION_TYPE | Character(2) | VARCHAR2(2) NOT NULL | Distribution Type |
25 | TRANS_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Types of Asset Management Transactions
ACR=Accretion Expense ADD=Asset Addition ADJ=Asset Cost Adjustment BKS=Book Adjustment BUD=Budgeted Depreciation DPR=Depreciation INF=Inflation Adjustment LEX=Lease Expense LPB=Budgeted Lease Payments LPY=Lease Payment PDP=Prior Period Depreciation PLP=Prior Lease Payment RAD=Manual Reserve Adjustment RCT=Asset Recategorization REI=Asset Reinstatement RES=Resume Depreciation RET=Asset Retirement RRC=Retro rate change for grp ast SUS=Suspend Depreciation TRF=Asset Transfer |
26 | TRANS_IN_OUT | Character(1) | VARCHAR2(1) NOT NULL |
Transaction In/Out
I=In M=IUT Proceeds Markup O=Out |
27 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Transaction Code
Prompt Table: TRANS_CODE_TBL |
28 | ACCOUNTING_DT | Date(10) | DATE NOT NULL | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
29 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Asset Category
Prompt Table: CATEGORY_TBL |
30 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Type
Prompt Table: COST_TYPE_TBL |
31 | APPL_JRNL_ID | Character(10) | VARCHAR2(10) NOT NULL |
Journal Template
Prompt Table: JRNLGEN_APPL_ID |
32 | AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
33 | JOURNAL_ID | Character(10) | VARCHAR2(10) NOT NULL | Identifies a journal entry, consisting of a header and one or more lines. The Journal ID itself does not have to be unique, but together with the journal business unit and journal date, it forms a unique journal identifier. |
34 | JOURNAL_DATE | Date(10) | DATE | Specifies the date the journal was created. |
35 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
36 | GL_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Distribution Status
C=Available to Contracts D=Distributed G=Generated H=Hold I=Ignored J=Creating Journals M=Modified N=None P=To be processed X=Waiting for Reversal |
37 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
38 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
39 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
40 | TXN_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Amount |