Dependent Parameters in Oracle Applications

Requirement:

Say there is a concurrent program that lets you retrieve employee details based on employee name or employee number.

The concurrent program has 3 parameters:

1.Search Criteria is a value set containing “Employee Name” and “Employee Number” as values

2.Employee Name

3.Employee Number

When the user wants to search employee based on Employee number, he selects Employee Number in the parameter “Search Criteria”.

Automatically Employee name parameter should be disabled so that user can enter only number in the parameter Employee number to search that employee.

Similarly if the users wants to to search employee based on Employee name, Employee number parameter should be disabled thus preventing the users to search based on Employee number.

As seen in the above screenshot, say there is a Concurrent program which has 3 parameters defined:

1. Select Parameter to Disable

2. Parameter – 1

3. Parameter – 2

And Parameter “Select Parameter to Disable” is a value set that has values –

PARAM-1, PARAM-2

The requirement here is if the user selects PARAM-1 as the value for the parameter “Select Parameter to Disable”, then the Parameter “Parameter – 1” should be disabled meaning the user should not be able to enter any information for that parameter.

If user selects PARAM-2 as the value for the parameter “Select Parameter to Disable”, then the Parameter “Parameter – 2” should be disabled.

Steps to implement the above requirement:

1. Create the below Value Sets:

I. Value Set “ERPS_SP_VS_PARA_DEMO”:

· Navigation: System Administrator responsibility>Application>Validation>Set

· Enter the details as shown in screenshot below and save your work.

· Navigation: System Administrator responsibility>Application>Validation>Values

· Give the name as “ERPS_SP_VS_PARA_DEMO” and click on Find.

· Enter Values as PARAM-1 and PARAM-2 as shown bin the below screenshot and save your work.

II. Value Set “ERPS_SP_VS_PAR1_DUMMY”:

· Navigation: System Administrator responsibility>Application>Validation>Set

· Enter the details as shown in screenshot below and save your work.

III. Value Set ERPS_SP_VS_PAR2_DUMMY

· Navigation: System Administrator responsibility>Application>Validation>Set

· Enter the details as shown in screenshot below

IV. Create Value Set ERPS_SP_VS_PAR1

· Navigation: System Administrator responsibility>Application>Validation>Set

· Enter the details as shown in screenshot below.

· Click “Edit Information” button.

· Select Event as Validate and add the below code in the Function textbox

FND PLSQL”BEGIN

IF :$FLEX$.ERPS_SP_VS_PAR1_DUMMY <> 1 THEN

NULL;

END IF;

END;

· Save your work

V. Create Value Set ERPS_SP_VS_PAR2

· Navigation: System Administrator responsibility>Application>Validation>Set

· Enter the details as shown in screenshot below.

· Click “Edit Information” button.

· Select Event as Validate and add the below code in the Function textbox

FND PLSQL”BEGIN

IF :$FLEX$.ERPS_SP_VS_PAR2_DUMMY <> 1 THEN

NULL;

END;

· Save your work

2. Define Executable for the concurrent program

· Navigation: System Administrator responsibility>Concurrent>Program>Executable

· Enter the details as shown in screenshot below.

· Save your work

3. Define the concurrent program:

· Navigation: System Administrator responsibility>Concurrent>Program>Define

· Enter the details as shown in screenshot below.

· Save your work

4. Define Parameters for the concurrent program:

· Click on “Parameters” button and enter the below details

A. Seq: 10

B. Parameter: Enter Parameter Num to Disable

C. Value Set: ERPS_SP_VS_PARA_DEMO

D. Prompt: Select Parameter to Disable

A. Seq:15

B. Parameter: Parameter – 1 Dummy

C. Value Set: ERPS_SP_VS_PAR1_DUMMY

D. Default Type: SQL Statement

E. Default Value: select 1 from Dual where :$FLEX$.ERPS_SP_VS_PARA_DEMO != ‘PARAM-1’

F. Uncheck the Display Checkbox

A. Seq:20

B. Parameter: Parameter – 1

C. Value Set: ERPS_SP_VS_PAR1

A. Seq:25

B. Parameter: Parameter – 2 Dummy

C. Value Set: ERPS_SP_VS_PAR2_DUMMY

D. Default Type: SQL Statement

E. Default Value: select 1 from Dual where :$FLEX$.ERPS_SP_VS_PARA_DEMO != ‘PARAM-2’

F. Uncheck the Display Checkbox

A. Seq:30

B. Parameter: Parameter – 2

C. Value Set: ERPS_SP_VS_PAR2

D. Save the work.

Assign this concurrent program to the desired responsibility and check the result.

For detailed explanation on how to define a concurrent program, please refer to the below article:

http://erpschools.com/articles/concurrent-program-registration-and-add-it-to-request-group

Dependent Parameters in Concurrent Program using Special Value Set的更多相关文章

  1. How to Create a Java Concurrent Program

    In this Document   Goal   Solution   Overview   Steps in writing Java Concurrent Program   Template ...

  2. Email the output of a concurrent program as Attachment

    This article illustrates the steps to be followed to Email a concurrent program's output. Write a pr ...

  3. IGS_学习笔记05_IREP开发Concurrent Program为客户化集合接口(案例)

    20150819 Created By BaoXinjian

  4. R12: Improving Performance of General Ledger and Journal Import (Doc ID 858725.1 )

    In this Document   Purpose   Scope   Details   A) Database Init.ora Parameters   B) Concurrent Progr ...

  5. Credit Summaries & Importing External Credit Exposure

    In this Document   Goal   Solution APPLIES TO: Oracle Order Management - Version 11.5.10.2 to 12.1.3 ...

  6. Concurrent.Thread.js

    (function(){ if ( !this.Data || (typeof this.Data != 'object' && typeof this.Data != 'functi ...

  7. How To Get Log, Trace Files In OA Framework Pages And Concurrent Request Programs

    Goal   Solution   References APPLIES TO: Oracle Supplier Lifecycle Management - Version 12.1.2 and l ...

  8. Form_通过Trace分析Concurrent和Form性能和异常详解(案例)

    2014-06-21 Created By BaoXinjian

  9. Spring Named Parameters examples in SimpleJdbcTemplate

    In JdbcTemplate, SQL parameters are represented by a special placeholder "?" symbol and bi ...

随机推荐

  1. iOS WKWebView ios9以上版本配置 与 设置UserAgent(用户代理), 解决点击web, 客户端接收不到web事件问题

    项目运行在ios9上需要在info.plist文件中配置加入如下信息, App Transport Security Settings Allow Arbitrary Loads = YES < ...

  2. aspxpopupcontrol弹出在aspxpivotgrid的下方

    ASPxPopupControl是DevPress控件集中非常优秀的控件之一,适用于弹出式窗口.对话窗口.信息提示窗口等的制作,甚至可用作拖放类的图片容器. 我设计时,想点击ASPxButtonEdi ...

  3. Django REST Framework JWT提供的登录签发的视图

    Django REST Framework JWT提供了一个视图.在我们登录的时候,会校验用户名.密码是否正确.如果信息无误,可以返回一个JWT token.就可以简单地实现了记录用户登录状态. 用法 ...

  4. hihocoder 1178 : 计数

    #1178 : 计数 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Rowdark是一个邪恶的魔法师.在他阅读大巫术师Lich的传记时,他发现一类黑魔法来召唤远古生物, ...

  5. HDU-4255

    A Famous Grid Time Limit: 10000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)To ...

  6. margin和spacing的区别

    margin指的是与边框间的距离. spacing指的是组件间的距离

  7. Aras Innovator DB备份与还原

    错误信息 确认到该问题是因为孤立帐号的问题,在解决孤立帐号之前,可以通过语句查看,另外,还原了DB后,系统不会自动创建原来的登陆帐号的,需要手动新增登陆帐号 #查看孤立帐号列表exec sp_chan ...

  8. HDU3487 Play With Chain [Splay]

    题目传送门 题目描述 Problem Description YaoYao is fond of playing his chains. He has a chain containing n dia ...

  9. DOS中的CD命令详解

    CD命令是改变子目录的命令.格式:CD [路径] . 值得明确的是:CD命令只能进入当前盘符中的文件夹,改变操作的根目录(改变操作盘符),则不需用cd.例如你当前是在c:盘下,要到d:盘,只需键入d: ...

  10. Java使用Redis初探

    Redis的相关概念不做介绍了,大家也可以先了解下Memcached,然后比较下二者的区别,就会有个整体的印象. 服务器端通常选择Linux , Redis对于linux是官方支持的,使用资料很多,需 ...