FND SRWINIT & FND SRWEXIT

2021-04-11 04:26

阅读:365

标签:AC   选项   acl   repo   span   int   一个   管理器   request   

Oracle Report Builder 用户出口函数,看看Oracle官方的解释

以下摘自Oracle官方文档

Accessing User Exits and Profile Options(访问用户出口和配置文件选项)

Oracle Application Object Library lets you access user profile information and run user exits from your Oracle Reports program by including the appropriate calls in your program. These Oracle Application Object Library calls also allow your report to access the correct organization (for multiple organizations or "multi-org" installations) automatically.

Call FND SRWINIT and FND SRWEXIT

To access profile values, multiple organizations, or Oracle Applications user exits, and for your program to be used with concurrent processing at all, you must have the first and last user exits called by your Oracle Reports program be FND SRWINIT and FND SRWEXIT.

(为了访问配置文件值、多个组织或Oracle应用程序用户出口,以及为了使你开发的程序能被concurrent processing进行处理,必须在你的Oracle Report 程序中调用FND SRWIIT和FND SRWEXT。)

FND SRWINIT sets your profile option values and allows Oracle Application Object Library user exits to detect that they have been called by a Oracle Reports program. FND SRWEXIT ensures that all the memory allocated for Oracle Application Object Library user exits has been freed up properly. The steps below ensure that your program correctly calls FND SRWINIT and FND SRWEXIT.

(FND SRWIIT设置您的配置文件选项值,并允许Oracle Application Object Library用户出口检测到它们已被Oracle报表程序调用。

    FND SRWEXT确保为Oracle应用程序对象库用户出口分配的所有内存都已正确释放,下面的步骤确保程序正确地调用FND SRWIIT和FND SRWEXCEL。)

Warning:With future releases of Oracle Application Object Library and Oracle Reports, we may provide a simpler set of steps to access FND SRWINIT and FND SRWEXIT. We reserve the right to discontinue support for these steps. If you use the steps below to integrate your Oracle Reports programs with Oracle Application Object Library, you should plan to convert to a different set of integration steps in the future.

? Create a lexical parameter P_CONC_REQUEST_ID with the datatype Number. The concurrent manager passes the concurrent request ID to your report using this parameter.

(创建一个Number数据类型的参数P_CONC_REQUEST_ID,并发管理器使用此参数将并发请求ID传递给你的报表。)

? Call FND SRWINIT in the "Before Report Trigger."   

SRW.USER_EXIT(‘FND SRWINIT‘);

? Call FND SRWEXIT in the "After Report Trigger."

SRW.USER_EXIT(‘FND SRWEXIT‘);

 

FND SRWINIT & FND SRWEXIT

标签:AC   选项   acl   repo   span   int   一个   管理器   request   

原文地址:https://www.cnblogs.com/pompeii2008/p/9030730.html


评论


亲,登录后才可以留言!