PC_AM_RET_VW(SQL View) |
Index Back |
---|---|
PC to AM Retire by AM costThis view maps the AM business unit to BUSINESS_UNIT and maps the PC business unit to BUSINESS_UNIT_PC to allow the AM Retirement mass change to use this view to retire assets based on the Project Costing Closure definition. |
SELECT A.BUSINESS_UNIT_AM ,A.PROJECT_ID ,A.ACTIVITY_ID ,A.ANALYSIS_TYPE ,A.INTFC_LINE_NUM ,A.BUSINESS_UNIT ,A.PROFILE_ID ,A.ASSET_ID ,A.GROUP_ASSET_ID ,A.PARENT_ID ,A.PARENT_DESCR ,A.CATEGORY ,A.QUANTITY ,A.COST_TYPE ,A.LOCATION ,A.ANALYSIS_GROUP_RET ,A.RESOURCE_TYPE ,A.RESOURCE_CATEGORY ,A.RESOURCE_SUB_CAT ,A.ASSET_OPTION ,A.GROUP_ASSET_FLAG ,A.TRANS_DT ,A.ACCOUNTING_DT ,A.IN_SERVICE_DT ,A.RETIREMENT_DT ,A.RETIRE_CONVENTION ,A.DISPOSAL_CODE ,A.RETIREMENT_TYPE ,A.RETIREMENT_STATUS ,A.TRADE_IN_ASSET_ID ,A.TRADE_IN_DTTM_STMP ,A.TRADE_IN_AMT ,A.TAGGABLE_SW ,A.TAG_NUMBER ,A.ASSET_STATUS ,A.REPLACE_SW ,A.REPLACE_ASSET_ID ,A.ACQUISITION_CD ,A.CUSTODIAN ,A.INTFC_ID ,A.DESCR ,A.DEFAULT_PROFILE_SW ,A.INTFC_STATUS ,A.INTFC_TYPE_RET ,A.LOAD_STATUS ,A.TRANS_CODE ,A.SYSTEM_SOURCE ,A.OPEN_TRANS_ID ,A.APPROVAL_SW ,A.BOOK_EFFDT ,A.LOCATION_EFFDT ,A.ASSET_ALLOC_QTY ,A.ASSET_ALLOC_AMT ,A.AM_DISTRIB_STATUS ,A.CURRENCY_CD FROM PS_PC_AM_ASSET_VW A |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: PROJECT.BUSINESS_UNIT Prompt Table: SP_BU_PC_NONVW |
2 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Default Value: PROJECT.PROJECT_ID Prompt Table: PROJ_SCRTY_VW |
3 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: PROJ_ACT_SRCH |
4 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Analysis Type |
5 | INTFC_LINE_NUM | Number(8,0) | INTEGER NOT NULL | Interface Line Number |
6 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL | PC Business Unit |
7 | PROFILE_ID | Character(10) | VARCHAR2(10) NOT NULL | Asset Profile ID |
8 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL |
Asset Identification
Prompt Table: %EDITTABLE |
9 | GROUP_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Group Asset ID |
10 | PARENT_ID | Character(12) | VARCHAR2(12) NOT NULL | Parent ID |
11 | PARENT_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Parent Asset Description |
12 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Asset Category |
13 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL |
Qty Interface
Default Value: 1 |
14 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Cost Type |
15 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
16 | ANALYSIS_GROUP | Character(5) | VARCHAR2(5) NOT NULL |
Analysis Group
Prompt Table: SP_AN_GRP_NONVW |
17 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Source Type |
18 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Category |
19 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL | Subcategory |
20 | ASSET_OPTION | Character(3) | VARCHAR2(3) NOT NULL |
Asset Creation Option
ADD=Auto Assign New Asset ID ADJ=Adjust Existing Asset MAN=Manually Assign Asset ID |
21 | GROUP_ASSET_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Group Asset Flag
G=Group Asset M=Group Member N=None |
22 | TRANS_DT | Date(10) | DATE | Transaction Date |
23 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
24 | IN_SERVICE_DT | Date(10) | DATE | In Service Date |
25 | RETIREMENT_DT | Date(10) | DATE | Projected Retirement Date |
26 | RETIRE_CONVENTION | Character(2) | VARCHAR2(2) NOT NULL | Retirement Convention |
27 | DISPOSAL_CODE | Character(1) | VARCHAR2(1) NOT NULL |
Retirement Type
A=Abandonment C=Cannibalize for Other Assets D=Disappeared Assets E=Expensed F=Disposal Due to Theft I=Returned to Inventory L=Like Kind Exchange M=Missing Asset N=Donated to External Group O=ARO Settlement R=Scrapped Assets S=Retirement by Sale T=Traded In for another Asset V=Auto-Retire Fully Depr Assets Y=Casualty Loss Default Value: S |
28 | RETIREMENT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Retirement Type
E=Extraordinary O=Ordinary Retirement Default Value: O |
29 | RETIREMENT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Retirement Status
C=Depreciation Calculated N=New Retirement P=Posted to General Ledger R=Reinstated Retirement U=No Retirements Exist Default Value: N |
30 | TRADE_IN_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Trade In Asset |
31 | TRADE_IN_DTTM_STMP | DateTime(26) | TIMESTAMP | Trade In DateTime Stamp |
32 | TRADE_IN_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Trade In Amount |
33 | TAGGABLE_SW | Character(1) | VARCHAR2(1) NOT NULL |
Taggable Asset
N=Non Taggable Asset Y=Taggable Asset |
34 | TAG_NUMBER | Character(12) | VARCHAR2(12) NOT NULL | Tag Number |
35 | ASSET_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Asset Status
A=Received (Not in Service) B=Budgeted C=Commitment D=Disposed I=In Service M=Suspended R=Requisitioned T=Transferred W=Work In Progress |
36 | REPLACE_SW | Character(1) | VARCHAR2(1) NOT NULL | Replacement Asset |
37 | REPLACE_ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Replaced Asset ID |
38 | ACQUISITION_CD | Character(1) | VARCHAR2(1) NOT NULL |
Acquisition Code
C=Constructed D=Donated I=Trade In K=Like Exchange L=Leased P=Purchased T=Transferred Default Value: C |
39 | CUSTODIAN | Character(30) | VARCHAR2(30) NOT NULL | Custodian |
40 | INTFC_ID | Number(8,0) | INTEGER NOT NULL | Interface ID |
41 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
42 | DEFAULT_PROFILE_SW | Character(1) | VARCHAR2(1) NOT NULL | Default Books from Profile |
43 | INTFC_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
Interface Status
CON=Consolidated DON=Mass Changes Generated ERR=Error NEW=Mass Changes Not Generated REP=Replaced by Other Records (AP) UNI=Unitized |
44 | INTFC_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Trans Load Type |
45 | LOAD_STATUS | Character(3) | VARCHAR2(3) NOT NULL |
/* -> JMZ. PSOFT. 11-OCT-2002 */
New Status were added : HLD and INP for Asset Management.
/* <- JMZ. PSOFT. 11-OCT-2002 */
CON=Consolidated DON=Loaded ERR=Errored EXC=Excluded HLD=On Hold INP=In Process NEW=Pending PGI=PO Grp Incomplete REP=Replaced UNI=Unitized |
46 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL | Transaction Code |
47 | SYSTEM_SOURCE | Character(3) | VARCHAR2(3) NOT NULL |
Identifies the application or source system that generated a journal entry.
Release 8.80 - 11/14/2002 - RVlasic - Removed GDM (JrnlGen - Deduction Management) from Translate Values.
SUJ---Included a label as Product.
Release 8.9 - 05/11/2005 - RVlasic - Added PRV (Variance Pricing) and PKK (KK Budget Journal) and deleted GLK for Project Costing per Brian Cohen.
Default Value: BPC |
48 | OPEN_TRANS_ID | Number(10,0) | DECIMAL(10) NOT NULL | Open Transaction ID |
49 | APPROVAL_SW | Character(1) | VARCHAR2(1) NOT NULL |
Auto Approval Status
Y/N Table Edit Default Value: Y |
50 | BOOK_EFFDT | Date(10) | DATE | Book Effective Date |
51 | LOCATION_EFFDT | Date(10) | DATE | Location Effective Date |
52 | ASSET_ALLOC_QTY | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Asset Allocation Basis Qty |
53 | ASSET_ALLOC_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Asset Allocation Basis Amt |
54 | AM_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
AM Distribution Status
D=Distributed I=Ignore M=Modified N=Not Distributed P=Pending V=Reversed |
55 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |