DIST_LN_PYMNTVW(SQL View) |
Index Back |
---|---|
AM Accounting EntriesWhen adding a new field(s) to this table, the field(s) must be added to DIST_LN_VW. |
SELECT A.BUSINESS_UNIT , A.ASSET_ID , A.BOOK , A.DTTM_STAMP , A.CF_SEQNO , A.ACCOUNT , A.ALTACCT , A.DISTRIBUTION_TYPE , A.TRANS_TYPE , A.ACCOUNTING_DT , A.IU_MAP_KEY , A.TRANS_IN_OUT , A.DEPTID , %subrec(CF9A_AK_SBR, A) ,%subrec(AM_CF1_N_SBR, A) , A.PROJECT_ID , A.CATEGORY , A.COST_TYPE , A.TRANS_CODE , A.APPL_JRNL_ID , A.AMOUNT , A.JOURNAL_ID , A.JOURNAL_DATE , A.JOURNAL_LINE , A.PROCESS_INSTANCE , A.GL_DISTRIB_STATUS , A.OPRID , A.LEDGER_GROUP , A.LEDGER , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.BUSINESS_UNIT_GL , A.PC_DISTRIB_STATUS , A.CURRENCY_CD , A.TXN_CURRENCY_CD , A.TXN_AMOUNT , A.RATE_MULT , A.RATE_DIV , A.RT_TYPE , A.RT_EFFDT , A.DOC_TYPE , A.DOC_SEQ_NBR , A.DOC_SEQ_DATE , A.DOC_SEQ_STATUS , A.ALLOC_RUN , A.IU_ANCHOR_FLG , A.IU_SYS_TRAN_CD , A.IU_TRAN_CD , A.IUT_JOURNAL_ID , A.TRANSFER_BU , A.TRANSFER_ASSET_ID , A.TRANSFER_BOOK ,A.REVERSE_STATUS , A.REVERSE_DTTM_STAMP , A.BOOK_CODE ,A.DTTM_STAMP_TRANS , B.PYMNT_DT FROM PS_DIST_LN A , PS_DIST_LN_PYMNTDT B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID AND A.BOOK = B.BOOK AND A.DTTM_STAMP = B.DTTM_STAMP AND A.TRANS_TYPE = B.TRANS_TYPE AND A.DISTRIBUTION_TYPE = B.DISTRIBUTION_TYPE AND A.CF_SEQNO = B.CF_SEQNO |
# | 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 | 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. |
5 | CF_SEQNO | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
6 | ACCOUNT | Character(10) | VARCHAR2(10) NOT NULL |
Account
Prompt Table: %EDIT_ACCOUNT |
7 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL |
Alternate Account
Prompt Table: %EDIT_ALTACCT |
8 | DISTRIBUTION_TYPE | Character(2) | VARCHAR2(2) NOT NULL | Distribution Type |
9 | 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 |
10 | ACCOUNTING_DT | Date(10) | DATE NOT NULL | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
11 | IU_MAP_KEY | Number(7,0) | INTEGER NOT NULL | InterUnit transfer map key |
12 | TRANS_IN_OUT | Character(1) | VARCHAR2(1) NOT NULL |
Transaction In/Out
I=In M=IUT Proceeds Markup O=Out |
13 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
14 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: OPER_UNIT_TBL |
15 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: PRODUCT_TBL |
16 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: FUND_TBL |
17 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: CLASS_CF_TBL |
18 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: PROGRAM_TBL |
19 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: BUD_REF_TBL |
20 | AFFILIATE | Character(5) | VARCHAR2(5) NOT NULL |
Affiliate
Prompt Table: AFFILIATE_VW |
21 | AFFILIATE_INTRA1 | Character(10) | VARCHAR2(10) NOT NULL |
IntraUnit Affiliate1
Prompt Table: %EDIT_INTRA01 |
22 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL |
Operating Unit Affiliate
Prompt Table: %EDIT_INTRA02 |
23 | CHARTFIELD1 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion chartfield 1
Prompt Table: CHARTFIELD1_TBL |
24 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: CHARTFIELD2_TBL |
25 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: CHARTFIELD3_TBL |
26 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
27 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
28 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Source Type |
29 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Category |
30 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL | Subcategory |
31 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Analysis Type |
32 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: PROJECT_ID_VW |
33 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Asset Category
Prompt Table: CATEGORY_TBL |
34 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Type
Prompt Table: COST_TYPE_TBL |
35 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL | Transaction Code |
36 | APPL_JRNL_ID | Character(10) | VARCHAR2(10) NOT NULL |
Journal Template
Prompt Table: JRNLGEN_APPL_ID |
37 | AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
38 | 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. |
39 | JOURNAL_DATE | Date(10) | DATE | Specifies the date the journal was created. |
40 | JOURNAL_LINE | Number(9,0) | DECIMAL(9) NOT NULL | Uniquely identifies a journal line with a sequence number. Within a single journal entry, the line sequence begins with 1 and automatically increments by 1 for each succeeding journal line. There can be any number of lines associated with a journal header. |
41 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
42 | 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 |
43 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
44 | LEDGER_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Ledger Group |
45 | LEDGER | Character(10) | VARCHAR2(10) NOT NULL | Ledger |
46 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
47 | 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. |
48 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
49 | PC_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
PC Distribution Status
B=Budget Check D=Distributed G=Generated H=Hold I=Ignore M=Modified N=Not Distributed S=Staged |
50 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
51 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Transaction Currency
Prompt Table: CURR_TXN_VW |
52 | TXN_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Amount |
53 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
54 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
55 | RT_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical. |
56 | RT_EFFDT | Date(10) | DATE | The effective date for a given item of market rate data. |
57 | DOC_TYPE | Character(8) | VARCHAR2(8) NOT NULL |
Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code.
Prompt Table: DOC_TYPE_TBL |
58 | DOC_SEQ_NBR | Character(12) | VARCHAR2(12) NOT NULL | Specifies the sequence number assigned to each financial transaction (a document). The sequence number may be manually entered or system-generated. |
59 | DOC_SEQ_DATE | Date(10) | DATE | Specifies the date that a document sequence number is assigned to a document or the date the document was created. |
60 | DOC_SEQ_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates a document sequencing error. If there is no error the field is blank and document is considered valid for posting.
1=Document Sequencing Disabled A=GL BU Undefined B=GL BU Blank C=Accounting Date blank D=Doc Type Blank E=Jrnl Type, Code, Doc Undefine F=Sequence Range Undefine G=Max. Sequence Number Reached H=Manual Nbr for Auto Doc Type I=No Manual Number Entered J=Duplicate Manual Number K=Invalid Ledger L=Invalid Ledger Group N=No Status |
61 | ALLOC_RUN | Character(1) | VARCHAR2(1) NOT NULL | Allocation Run? |
62 | IU_ANCHOR_FLG | Character(1) | VARCHAR2(1) NOT NULL | Y/N flag used to specify which transaction line is the Inter/IntraUnit anchor flag (the line that contains the anchor Business Unit and ChartFields). |
63 | IU_SYS_TRAN_CD | Character(8) | VARCHAR2(8) NOT NULL | System Transactions are delivered system data, representing the activities that can require interunit or intraunit accounting entries. |
64 | IU_TRAN_CD | Character(8) | VARCHAR2(8) NOT NULL | Transaction Codes are user-defined. They are mapped to the delivered System Transactions. InterUnit and IntraUnit Templates are keyed by Transaction code, allowing users to vary their accounting by transaction. |
65 | IUT_JOURNAL_ID | Character(30) | VARCHAR2(30) NOT NULL | Identifies a journal entry for AM's interunit transfers |
66 | TRANSFER_BU | Character(5) | VARCHAR2(5) NOT NULL | Transfer Business Unit |
67 | TRANSFER_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Transfer Asset ID |
68 | TRANSFER_BOOK | Character(10) | VARCHAR2(10) NOT NULL | Transfer From Book |
69 | REVERSE_STATUS | Character(1) | VARCHAR2(1) NOT NULL | Reverse Status |
70 | REVERSE_DTTM_STAMP | DateTime(26) | TIMESTAMP | Reversed Time Stamp |
71 | BOOK_CODE | Character(4) | VARCHAR2(4) NOT NULL |
Book Code
Prompt Table: BOOK_CODE_TBL |
72 | DTTM_STAMP_TRANS | DateTime(26) | TIMESTAMP |
Trans Date Time Stamp
Default Value: %datetime |
73 | PYMNT_DT | Date(10) | DATE | Payment Date |