楼主: oracleerp0606

问ORACLE ERP 二次开发一个FORM的挂接问题

[复制链接]
论坛徽章:
38
生肖徽章:猪
日期:2007-09-26 17:03:33生肖徽章2007版:鼠
日期:2009-01-15 11:09:04生肖徽章2007版:鸡
日期:2009-04-08 15:31:29生肖徽章2007版:虎
日期:2009-09-10 11:21:07ITPUB8周年纪念徽章
日期:2009-09-27 10:21:22祖国60周年纪念徽章
日期:2009-10-09 08:28:00生肖徽章2007版:蛇
日期:2009-10-17 23:01:41生肖徽章2007版:猴
日期:2009-10-19 09:04:53参与WIN7挑战赛纪念
日期:2009-11-06 16:05:252010新春纪念徽章
日期:2010-03-01 11:04:57
11#
发表于 2006-7-11 15:09 | 只看该作者
是用 BIN 方式上传FORM文件吗?

使用道具 举报

回复
论坛徽章:
0
12#
 楼主| 发表于 2006-7-12 11:17 | 只看该作者
还是不行啊? 有人知道吗?

使用道具 举报

回复
论坛徽章:
1
ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44
13#
发表于 2006-7-12 13:22 | 只看该作者
最初由 oracleerp0606 发布
[B]原来的PROD.env中FORMS60_PATH路径是这样的:

FORMS60_PATH="$AU_TOP/resource"
export FORMS60_PATH


我改了以后是这样的
FORMS60_PATH="$AU_TOP/resource:$INV_TOP/forms"
export FORMS60_PATH


改完后执行PROD.env,  

请问这样设置路径对吗? [/B]

================================
改成:
FORMS60_PATH="$AU_TOP/resource:$INV_TOP/forms/ZHS"
export FORMS60_PATH

使用道具 举报

回复
论坛徽章:
5
授权会员
日期:2006-05-13 15:05:252008新春纪念徽章
日期:2008-02-13 12:43:03生肖徽章2007版:龙
日期:2009-09-10 11:23:34ITPUB十周年纪念徽章
日期:2011-11-01 16:20:28妮可·罗宾
日期:2020-09-14 14:10:48
14#
发表于 2006-7-12 13:36 | 只看该作者

Re: 问ORACLE ERP 二次开发一个FORM的挂接问题

最初由 oracleerp0606 发布
[B]我在ERP 服务器的ORACLE APPLICATIONS  11i的/AU/11.5.0/FORMS/US目录下载了TEMPLATE.FMB到我本地, 然后用我本地的ORACLE 10G FORMS BUILDER改变其MODULE名称,另存为TEST.fmb, 再将 此表单上传到ERP服务器的/INV/11.5.0/FORMS/ZHS目录, 由于服务器的ORACLE ERP是装在SOLARIS系统下的,所以要重新编译TEST.fmb为TEST.fmx, 才能在ERP菜单中注册后重新挂接. 可是我在SOLARIS下(/INV/11.5.0/FORMS/ZHS目录下)编译总是错误, 错误如下:

$ f60gen  module=TEST.fmb  userid=APPS/APPS@PROD
Forms 6.0 (Form Compiler) Version 6.0.8.19.1 (Production)

Forms 6.0 (Form Compiler): Release  - Production

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
     With the Partitioning option
     JServer Release 8.1.7.4.0 - Production
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.17.0 Build #0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Multimedia Version 6.0.5.33.0 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.0
Oracle CORE Version 4.0.6.0.0 - Production
FRM-18108: Failed to load the following objects.

Source Module:TEMPLATE.fmb
  Source Object: FRAME_HORZ_LINE
Source Module:TEMPLATE.fmb
  Source Object: FRAME_RECT
Source Module:APPSTAND
  Source Object: STANDARD_PC_AND_VA
Source Module:APPSTAND
  Source Object: STANDARD_TOOLBAR
Source Module:APPSTAND
  Source Object: STANDARD_CALENDAR
Form: TEST

FRM-30085: Unable to adjust form for output.


Form not created
哪位知道是什么原因啊? 谢谢! [/B]


這個問題是因為在編譯TEST.fmb時,編譯器需要參考到APPSTAND.fmb(TEMPLATE.fmb裡已經內建此關係),所以需要讓編譯器找得到 APPSTAND.fmb即可。
方法一:
把$AU_TOP/forms/US/APPSTAND.fmb複製一份到目前編譯的路徑,例如$INV_TOP/forms/ZHS
方法二:(建議)
把forms60_path增加指到$AU_TOP/forms/US,例如:
原来的PROD.env中FORMS60_PATH修改如下:
FORMS60_PATH="$AU_TOP/resource:$AU_TOP/forms/US"
export FORMS60_PATH
改完后执行PROD.env, 並設定每次登入後都會執行PROD.env。

以上.

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
15#
发表于 2006-7-12 14:23 | 只看该作者
Note:1035497.6
Subject:  How to Troubleshoot FRM-30085 Unable to Adjust Form for Output
PROBLEM DESCRIPTION:
====================

You are receiving the following error when running a form:

  FRM-30085 - Unable To adjust form for output.

The form has compiled without errors.

You have looked at the form in the Form Builder under the Layout Editor
and everything looks fine.  You cannot identify any object that is not
on the canvas view.


SOLUTION DESCRIPTION:
=====================

This error may occur, and the user may not see an object off the screen.  There
are two ways that this can be resolved.

1.  Create a new form, and drag items from the old form into the new form,
    incrementally compiling the new form.

2.  Copy the .fmb to a new file, and delete items from the new form, until you
    find the item causing the problem.  You can then go to the original .fmb
    file, and fix the output.


EXPLANATION:
============

This error is often caused by an object in the data block that is not placed
within the borders of a canvas.

Removing or moving the object, so that it physically appears on the associated
canvas, resolves the issue.


.
好象没有修改好form吧

使用道具 举报

回复
论坛徽章:
0
16#
 楼主| 发表于 2006-7-12 14:27 | 只看该作者

Re: Re: 问ORACLE ERP 二次开发一个FORM的挂接问题

最初由 arsenefang 发布
[B]

這個問題是因為在編譯TEST.fmb時,編譯器需要參考到APPSTAND.fmb(TEMPLATE.fmb裡已經內建此關係),所以需要讓編譯器找得到 APPSTAND.fmb即可。
方法一:
把$AU_TOP/forms/US/APPSTAND.fmb複製一份到目前編譯的路徑,例如$INV_TOP/forms/ZHS
方法二:(建議)
把forms60_path增加指到$AU_TOP/forms/US,例如:
原来的PROD.env中FORMS60_PATH修改如下:
FORMS60_PATH="$AU_TOP/resource:$AU_TOP/forms/US"
export FORMS60_PATH
改完后执行PROD.env, 並設定每次登入後都會執行PROD.env。

以上. [/B]


您好! 我按您的方法又设了一下路径, 又出现下列错误:
$ f60gen module=TEST123.fmb userid=APPS/APPS@PROD
Forms 6.0 (Form Compiler) Version 6.0.8.19.1 (Production)

Forms 6.0 (Form Compiler): Release  - Production

(c) Copyright 1999 Oracle Corporation.  All rights reserved.

Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
     With the Partitioning option
     JServer Release 8.1.7.4.0 - Production
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.17.0 Build #0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Multimedia Version 6.0.5.33.0 (Production)
Oracle Tools Integration Version 6.0.8.17.0 (Production)
Oracle Tools Common Area Version 6.0.5.32.0
Oracle CORE Version 4.0.6.0.0 - Production
ROS ERROR: -200
Segmentation Fault - core dumped

这是怎么回事啊??

使用道具 举报

回复
论坛徽章:
0
17#
 楼主| 发表于 2006-7-12 14:39 | 只看该作者
按新方法重设路径后,编译出现
ROS ERROR: -200
Segmentation Fault - core dumped

这是什么错误啊?

另外我的FORM 是用WINDOWS下的FORMS BUILDER(ORACLE  DEVELOPER SUITE 10G)做的,是不是版本太高,拿到SOLARIS下用FORMS 6.0 编译器不能编译啊??

谢谢了!

使用道具 举报

回复
论坛徽章:
164
技术图书徽章
日期:2018-12-26 10:01:29指数菠菜纪念章
日期:2013-06-28 17:41:29蛋疼蛋
日期:2013-04-03 16:29:52指数菠菜纪念章
日期:2013-04-01 15:26:282013年新春福章
日期:2013-02-25 14:51:24指数菠菜纪念章
日期:2013-01-04 11:30:40指数菠菜纪念章
日期:2012-09-29 10:28:42版主6段
日期:2012-05-15 15:24:11指数菠菜纪念章
日期:2012-03-31 14:04:28茶鸡蛋
日期:2012-03-12 16:56:15
18#
发表于 2006-7-12 14:59 | 只看该作者
最初由 oracleerp0606 发布
[B]按新方法重设路径后,编译出现
ROS ERROR: -200
Segmentation Fault - core dumped

这是什么错误啊?

另外我的FORM 是用WINDOWS下的FORMS BUILDER(ORACLE  DEVELOPER SUITE 10G)做的,是不是版本太高,拿到SOLARIS下用FORMS 6.0 编译器不能编译啊??

谢谢了! [/B]


很有可能,用6i做一个试试

使用道具 举报

回复
论坛徽章:
0
19#
 楼主| 发表于 2006-7-12 15:06 | 只看该作者
最初由 Harry_shan 发布
[B]

很有可能,用6i做一个试试 [/B]


可是我的6I自带的ORACLE客户端有问题啊,用6i 数据库都连不上,
能不能在SOLARIS上装 FORM 9.O 以上版本的编译器呢??
我现在SOLARIS上不能用 f90gen命令, 只能用 f60gen命令. 请问如何才能在SOLARIS上使用f90gen命令呢?

使用道具 举报

回复
论坛徽章:
0
20#
 楼主| 发表于 2006-7-12 15:56 | 只看该作者
我又试了一下, 这次没用下载的TEMPLATE.FMB 做模版,  自己用FORMS BUILDER 10G 做了一个FORM, 上传后反而在SOLARIS下成功编译了, 而且也能挂接到ORACLE ERP 系统下,  那二次开发为什么非要用基于TEMPLATE.FMB的模板啊, 自己做的不也可以吗?

谁能告诉我二次开发用基于TEMPLATE.FMB的模板有什么好处吗?

请教大家.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表