壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 852|回复: 0

主题: Cannot Add New Periods to Existing Calendar Definition

[复制链接]
发表于 2008/2/10 23:16:31 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
主题:  Cannot Add New Periods to Existing Calendar Definition
  文档 ID:  注释:216727.1 类型:  TROUBLESHOOTING
  上次修订日期:  15-MAR-2004 状态:  PUBLISHED

fact: Oracle General Ledger 11.0.3
fact: GLXSTCAL - Calendar
symptom: Cannot add new periods to existing calendar definition
symptom: Query of an existing calendar generates errors
symptom: FRM-40505 unable to perform query
symptom: ORA-00904 invalid column name
change: NOTE: The following are the steps to replicate the issue:
1. Logon as GL Super User
2. Navigate: Setup->Financials->Calendar->Accounting.
3. Perform a query, find all.
cause: GL_PERIODS_V is not properly created

fix:
Perform the following steps to identify and fix the issue:
1. Perform a form trace which will show the name of the query being executed at
the time of the error.
   
2. Review the trace file which will display all the columns being referenced by
the view.
3. Run "desc gl_periods_v" from SQL*Plus to view the columns
currently existing.

4. If GL_PERIODS_V does not contain all the columns, recreate the view as
follows from the APPS schema:
(i) First drop the current view.
(ii) Execute the following to re-create the view:
CREATE VIEW GL_PERIODS_V
  AS  SELECT  PER.ROWID ROW_ID ,
    PER.PERIOD_NAME PERIOD_NAME ,
    PER.PERIOD_SET_NAME PERIOD_SET_NAME ,
    PER.START_DATE START_DATE ,
    PER.END_DATE END_DATE ,
    PER.PERIOD_TYPE PERIOD_TYPE ,
    PT.USER_PERIOD_TYPE USER_PERIOD_TYPE ,
    PER.PERIOD_YEAR PERIOD_YEAR ,
    PER.PERIOD_NUM PERIOD_NUM ,
    PER.QUARTER_NUM QUARTER_NUM ,
    PER.ENTERED_PERIOD_NAME ENTERED_PERIOD_NAME ,
    PER.ADJUSTMENT_PERIOD_FLAG ADJUSTMENT_PERIOD_FLAG ,  
    PT.NUMBER_PER_FISCAL_YEAR NUMBER_PER_FISCAL_YEAR ,
    PER.DESCRIPTION DESCRIPTION ,
    PER.CREATION_DATE CREATION_DATE ,
    PER.CREATED_BY CREATED_BY ,
    PER.LAST_UPDATE_DATE LAST_UPDATE_DATE ,
    PER.LAST_UPDATED_BY LAST_UPDATED_BY ,
    PER.LAST_UPDATE_LOGIN LAST_UPDATE_LOGIN ,
    PER.CONTEXT CONTEXT ,
    PER.ATTRIBUTE1 ATTRIBUTE1 ,
    PER.ATTRIBUTE2 ATTRIBUTE2 ,
PER.ATTRIBUTE3 ATTRIBUTE3 ,
    PER.ATTRIBUTE4 ATTRIBUTE4 ,
    PER.ATTRIBUTE5 ATTRIBUTE5 ,
    PER.ATTRIBUTE6 ATTRIBUTE6 ,
    PER.ATTRIBUTE7 ATTRIBUTE7 ,
    PER.ATTRIBUTE8 ATTRIBUTE8
  FROM  GL_PERIODS PER,   GL_PERIOD_TYPES PT
WHERE   PER.PERIOD_TYPE = PT.PERIOD_TYPE;
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/30 11:12 , Processed in 0.013677 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表