SlideShare a Scribd company logo
1 of 6
Download to read offline
Implement auto refresh
function in EBS 12.1.3+
Auto Refresh
function inside
SRS screen
Oraask
http://www.oraask.com
www.oraask.com Page 1
What we are about to explain now is how to implement Auto refresh functionality inside SRS screen
for Oracle E-Business Suite R11,R12 just like standard function implemented into SRS screen in newest
version of Oracle E-Business Suite R12.2.6.
Basically you will reduce the number of mouse clicks and [alt+r] on each request. I just want to help
others to be more relaxed  and I hope so.
Let’s get started:
-----------------
1- First step is to download SRS form called (FNDRSRUN.fmb) from $AU_TOP to your local machine
and open it with oracle forms builder to modify it.
2- Second we’ll create a Control block with name (CTRL_BLK_REFR) and then add two items on the
SRS form into control block we created recently and assign the properties of these items like
follows:
 Item 1 :
- Name: AUT_REFR
- Item type: Check Box
- Subclass information: CHECKBOX
- Label: Auto Refresh (&B)
- Value when Checked: 1
- Value when Unchecked: 0
- Check Box Mapping of Other Values: Unchecked
- Maximum length: 1
- Initial value: 0
- Database Item: No
- Canvas : JOBS
- Height: 0.2
www.oraask.com Page 2
 Item 2:
- Name: REF_INTERVAL
- Item type: Text Item
- Subclass information: TEXT_ITEM
- Initial value: 5
- Lowest Allowed Value: 1
- Highest Allowed Value: 30
- Database Item: No
- Maximum length: 2
- Canvas : JOBS
- Height: 0.2
Observing CANVAS value of two items, we created inside control block but we’ll display them on
JOBS Canvas.
3- Third step is after add this item’s into the Block, arrange them into a proper location inside your
canvas something like this:
www.oraask.com Page 3
4- Forth step is to add this code to trigger (WHN-NEW-FORM-INSTANCE).
 This code basically to create timer.
5- Fifth step is to add new trigger (WHEN-TIMER-EXPIRED) on form level and put this code inside:
Declare
--
v_timer TIMER;
--
Begin
--
:CTRL_BLK_REFR.REF_INTERVAL := 5;
v_timer := Create_Timer('AUTREFTIMER', : CTRL_BLK_REFR.REF_INTERVAL * 1000 , REPEAT);
--
End;
Declare
--
v_timer TIMER;
--
Begin
--
v_timer := Find_Timer('AUTREFTIMER');
--
IF NOT ID_NULL(v_timer) THEN
--
IF (:CTRL_BLK_REFR.AUT_REFR = 1) THEN
--
Go_item('JOBS.REFRESH');
Execute_trigger('WHEN-BUTTON-PRESSED');
--
END IF;
--
END IF;
--
End;
www.oraask.com Page 4
 Here we go to standard button (Refresh) and execute its trigger to do its job after timer
expired and at that time for initial value of the (REF_INTERVAL) item is 5 seconds.
6- Now this the last step of extending this form, just we need to add new (WHEN-VALIDATE-ITEM)
TRIGGER on item (REF_INTERVAL) to handle the timer with new value of seconds entered in this item
to refresh the concurrent based on that value. You to put this code:
Now we are finished from extending SRS form and add new small feature that will save your nerves

Just move the FMB to the server and compile it into $FND_TOP.
- For best practices you should mark this form as changed flag from (Applications Manager)
to save your changes from any patch will apply and affect this form.
Note: We are not responsible about production issue’s that may happen because of wrong
implementation of this functionality. So please be careful and try it first in test instance to make
sure 100% its working fine as see in the picture below:
Declare
--
v_timer TIMER;
--
begin
--
v_timer := Find_Timer('AUTREFTIMER');
--
IF NOT ID_NULL(v_timer) THEN
Delete_Timer('AUTREFTIMER');
END IF;
--
v_timer := Create_Timer('AUTREFTIMER', NVL(:CTRL_BLK_REFR.REF_INTERVAL,5) *1000, REPEAT);
--
end;
www.oraask.com Page 5
----------
That’s it.
Hope this helpful.

More Related Content

Viewers also liked

2016 Internet Entrepreneurship and Innovation White Paper
2016 Internet Entrepreneurship and Innovation White Paper2016 Internet Entrepreneurship and Innovation White Paper
2016 Internet Entrepreneurship and Innovation White PaperYongkil Kwon
 
المراجعة النهائية على مادة الجغرافيا للصف الأول الثانوي
المراجعة النهائية على مادة الجغرافيا للصف الأول الثانويالمراجعة النهائية على مادة الجغرافيا للصف الأول الثانوي
المراجعة النهائية على مادة الجغرافيا للصف الأول الثانويمذكرة دوت كوم
 
제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae jo
제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae jo제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae jo
제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae joSangrae Jo
 
Game of Phones: Phone Etiquette (and the Lack Thereof) in the Workplace
Game of Phones: Phone Etiquette (and the Lack Thereof) in the WorkplaceGame of Phones: Phone Etiquette (and the Lack Thereof) in the Workplace
Game of Phones: Phone Etiquette (and the Lack Thereof) in the WorkplaceWorkfront
 
He 4 ms ibn sina reading lesson
He 4 ms  ibn  sina reading lessonHe 4 ms  ibn  sina reading lesson
He 4 ms ibn sina reading lessonrozette2010 Z
 
25. Диви животни. Животни в селищата - ОС, Анубис - В. П.
25. Диви животни. Животни в селищата - ОС, Анубис - В. П.25. Диви животни. Животни в селищата - ОС, Анубис - В. П.
25. Диви животни. Животни в селищата - ОС, Анубис - В. П.Veska Petrova
 
The Great Customer Experience
The Great Customer ExperienceThe Great Customer Experience
The Great Customer ExperienceTue Søttrup
 
조 제출용 Ppt 리서치 & 초안
조 제출용 Ppt   리서치 & 초안조 제출용 Ppt   리서치 & 초안
조 제출용 Ppt 리서치 & 초안SeoungWon
 
What makes a Destination?
What makes a Destination?What makes a Destination?
What makes a Destination?James Farnell
 
Oracle Fusion & Cloud Applications Overview
Oracle Fusion & Cloud Applications OverviewOracle Fusion & Cloud Applications Overview
Oracle Fusion & Cloud Applications OverviewAhmed El-Demasy
 

Viewers also liked (15)

2016 Internet Entrepreneurship and Innovation White Paper
2016 Internet Entrepreneurship and Innovation White Paper2016 Internet Entrepreneurship and Innovation White Paper
2016 Internet Entrepreneurship and Innovation White Paper
 
المراجعة النهائية على مادة الجغرافيا للصف الأول الثانوي
المراجعة النهائية على مادة الجغرافيا للصف الأول الثانويالمراجعة النهائية على مادة الجغرافيا للصف الأول الثانوي
المراجعة النهائية على مادة الجغرافيا للصف الأول الثانوي
 
제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae jo
제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae jo제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae jo
제4회고벤처차이나포럼 china ict trend platum_20140205_sangrae jo
 
Game of Phones: Phone Etiquette (and the Lack Thereof) in the Workplace
Game of Phones: Phone Etiquette (and the Lack Thereof) in the WorkplaceGame of Phones: Phone Etiquette (and the Lack Thereof) in the Workplace
Game of Phones: Phone Etiquette (and the Lack Thereof) in the Workplace
 
He 4 ms ibn sina reading lesson
He 4 ms  ibn  sina reading lessonHe 4 ms  ibn  sina reading lesson
He 4 ms ibn sina reading lesson
 
2 OARO (ICH Q1 A to F)
2 OARO (ICH Q1 A to F)2 OARO (ICH Q1 A to F)
2 OARO (ICH Q1 A to F)
 
25. Диви животни. Животни в селищата - ОС, Анубис - В. П.
25. Диви животни. Животни в селищата - ОС, Анубис - В. П.25. Диви животни. Животни в селищата - ОС, Анубис - В. П.
25. Диви животни. Животни в селищата - ОС, Анубис - В. П.
 
The Great Customer Experience
The Great Customer ExperienceThe Great Customer Experience
The Great Customer Experience
 
조 제출용 Ppt 리서치 & 초안
조 제출용 Ppt   리서치 & 초안조 제출용 Ppt   리서치 & 초안
조 제출용 Ppt 리서치 & 초안
 
Nike ppt
Nike pptNike ppt
Nike ppt
 
Edema agudo de pulmón
Edema agudo de pulmónEdema agudo de pulmón
Edema agudo de pulmón
 
What makes a Destination?
What makes a Destination?What makes a Destination?
What makes a Destination?
 
Oracle Applications R12 Sourcing Training
Oracle Applications R12 Sourcing TrainingOracle Applications R12 Sourcing Training
Oracle Applications R12 Sourcing Training
 
Oracle Fusion & Cloud Applications Overview
Oracle Fusion & Cloud Applications OverviewOracle Fusion & Cloud Applications Overview
Oracle Fusion & Cloud Applications Overview
 
Oracle i procurement
Oracle i procurementOracle i procurement
Oracle i procurement
 

Similar to Implement auto refresh function in oracle ebs 12.1.3

Run report from menu Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...
Run report from menu  Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...Run report from menu  Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...
Run report from menu Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...Ahmed Elshayeb
 
How to Define a KFF(key flex field) Step by Step
How to Define a KFF(key flex field) Step by StepHow to Define a KFF(key flex field) Step by Step
How to Define a KFF(key flex field) Step by StepPan Tian
 
Oa Framework Tutorial
Oa Framework TutorialOa Framework Tutorial
Oa Framework Tutorialnolimit797
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxketurahhazelhurst
 
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...Nagios
 
A New View of Database Views
A New View of Database ViewsA New View of Database Views
A New View of Database ViewsMichael Rosenblum
 
Retrieve apps password in r12 or forgot apps password in r12
Retrieve apps password in r12 or forgot apps password in r12Retrieve apps password in r12 or forgot apps password in r12
Retrieve apps password in r12 or forgot apps password in r12Muqthiyar Pasha
 
Inventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktopInventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktopAhmed Elshayeb
 
Beginner’s tutorial (part 2) how to integrate redux-saga in react native app
Beginner’s tutorial (part 2) how to integrate redux-saga in react native appBeginner’s tutorial (part 2) how to integrate redux-saga in react native app
Beginner’s tutorial (part 2) how to integrate redux-saga in react native appKaty Slemon
 
The Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/PressThe Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/PressJeroen van Dijk
 
Power shell examples_v4
Power shell examples_v4Power shell examples_v4
Power shell examples_v4JoeDinaso
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in detailsMax Klymyshyn
 
Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...
Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...
Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...Nagios
 
Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)Ankit Sharma
 
Your admin toolbelt is not complete without Salesforce DX
Your admin toolbelt is not complete without Salesforce DXYour admin toolbelt is not complete without Salesforce DX
Your admin toolbelt is not complete without Salesforce DXDaniel Stange
 
Autoscale a self-healing cluster in OpenStack with Heat
Autoscale a self-healing cluster in OpenStack with HeatAutoscale a self-healing cluster in OpenStack with Heat
Autoscale a self-healing cluster in OpenStack with HeatRico Lin
 
Dynamics ax 2012 workflow development
Dynamics ax 2012 workflow development Dynamics ax 2012 workflow development
Dynamics ax 2012 workflow development Ahmed Farag
 
Performance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowPerformance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowKaren Morton
 

Similar to Implement auto refresh function in oracle ebs 12.1.3 (20)

Run report from menu Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...
Run report from menu  Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...Run report from menu  Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...
Run report from menu Personalization كيفية تشغيل تقرير أو ما شابة من خلال شا...
 
How to Define a KFF(key flex field) Step by Step
How to Define a KFF(key flex field) Step by StepHow to Define a KFF(key flex field) Step by Step
How to Define a KFF(key flex field) Step by Step
 
Oa Framework Tutorial
Oa Framework TutorialOa Framework Tutorial
Oa Framework Tutorial
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
 
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
Nagios Conference 2013 - Jake Omann - Developing Nagios XI Components and Wiz...
 
A New View of Database Views
A New View of Database ViewsA New View of Database Views
A New View of Database Views
 
Retrieve apps password in r12 or forgot apps password in r12
Retrieve apps password in r12 or forgot apps password in r12Retrieve apps password in r12 or forgot apps password in r12
Retrieve apps password in r12 or forgot apps password in r12
 
Inventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktopInventory aging report using oracle discoverer desktop
Inventory aging report using oracle discoverer desktop
 
Beginner’s tutorial (part 2) how to integrate redux-saga in react native app
Beginner’s tutorial (part 2) how to integrate redux-saga in react native appBeginner’s tutorial (part 2) how to integrate redux-saga in react native app
Beginner’s tutorial (part 2) how to integrate redux-saga in react native app
 
The Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/PressThe Enterprise Wor/d/thy/Press
The Enterprise Wor/d/thy/Press
 
Power shell examples_v4
Power shell examples_v4Power shell examples_v4
Power shell examples_v4
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in details
 
Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...
Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...
Nagios Conference 2013 - Troy Lea - Leveraging and Understanding Performance ...
 
Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)Dynamic Function Call in PI Sheet (XStep)
Dynamic Function Call in PI Sheet (XStep)
 
Your admin toolbelt is not complete without Salesforce DX
Your admin toolbelt is not complete without Salesforce DXYour admin toolbelt is not complete without Salesforce DX
Your admin toolbelt is not complete without Salesforce DX
 
Autoscale a self-healing cluster in OpenStack with Heat
Autoscale a self-healing cluster in OpenStack with HeatAutoscale a self-healing cluster in OpenStack with Heat
Autoscale a self-healing cluster in OpenStack with Heat
 
PLSQLIV.ppt
PLSQLIV.pptPLSQLIV.ppt
PLSQLIV.ppt
 
Dynamics ax 2012 workflow development
Dynamics ax 2012 workflow development Dynamics ax 2012 workflow development
Dynamics ax 2012 workflow development
 
Oracle
OracleOracle
Oracle
 
Performance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowPerformance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, How
 

Recently uploaded

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 

Recently uploaded (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 

Implement auto refresh function in oracle ebs 12.1.3

  • 1. Implement auto refresh function in EBS 12.1.3+ Auto Refresh function inside SRS screen Oraask http://www.oraask.com
  • 2. www.oraask.com Page 1 What we are about to explain now is how to implement Auto refresh functionality inside SRS screen for Oracle E-Business Suite R11,R12 just like standard function implemented into SRS screen in newest version of Oracle E-Business Suite R12.2.6. Basically you will reduce the number of mouse clicks and [alt+r] on each request. I just want to help others to be more relaxed  and I hope so. Let’s get started: ----------------- 1- First step is to download SRS form called (FNDRSRUN.fmb) from $AU_TOP to your local machine and open it with oracle forms builder to modify it. 2- Second we’ll create a Control block with name (CTRL_BLK_REFR) and then add two items on the SRS form into control block we created recently and assign the properties of these items like follows:  Item 1 : - Name: AUT_REFR - Item type: Check Box - Subclass information: CHECKBOX - Label: Auto Refresh (&B) - Value when Checked: 1 - Value when Unchecked: 0 - Check Box Mapping of Other Values: Unchecked - Maximum length: 1 - Initial value: 0 - Database Item: No - Canvas : JOBS - Height: 0.2
  • 3. www.oraask.com Page 2  Item 2: - Name: REF_INTERVAL - Item type: Text Item - Subclass information: TEXT_ITEM - Initial value: 5 - Lowest Allowed Value: 1 - Highest Allowed Value: 30 - Database Item: No - Maximum length: 2 - Canvas : JOBS - Height: 0.2 Observing CANVAS value of two items, we created inside control block but we’ll display them on JOBS Canvas. 3- Third step is after add this item’s into the Block, arrange them into a proper location inside your canvas something like this:
  • 4. www.oraask.com Page 3 4- Forth step is to add this code to trigger (WHN-NEW-FORM-INSTANCE).  This code basically to create timer. 5- Fifth step is to add new trigger (WHEN-TIMER-EXPIRED) on form level and put this code inside: Declare -- v_timer TIMER; -- Begin -- :CTRL_BLK_REFR.REF_INTERVAL := 5; v_timer := Create_Timer('AUTREFTIMER', : CTRL_BLK_REFR.REF_INTERVAL * 1000 , REPEAT); -- End; Declare -- v_timer TIMER; -- Begin -- v_timer := Find_Timer('AUTREFTIMER'); -- IF NOT ID_NULL(v_timer) THEN -- IF (:CTRL_BLK_REFR.AUT_REFR = 1) THEN -- Go_item('JOBS.REFRESH'); Execute_trigger('WHEN-BUTTON-PRESSED'); -- END IF; -- END IF; -- End;
  • 5. www.oraask.com Page 4  Here we go to standard button (Refresh) and execute its trigger to do its job after timer expired and at that time for initial value of the (REF_INTERVAL) item is 5 seconds. 6- Now this the last step of extending this form, just we need to add new (WHEN-VALIDATE-ITEM) TRIGGER on item (REF_INTERVAL) to handle the timer with new value of seconds entered in this item to refresh the concurrent based on that value. You to put this code: Now we are finished from extending SRS form and add new small feature that will save your nerves  Just move the FMB to the server and compile it into $FND_TOP. - For best practices you should mark this form as changed flag from (Applications Manager) to save your changes from any patch will apply and affect this form. Note: We are not responsible about production issue’s that may happen because of wrong implementation of this functionality. So please be careful and try it first in test instance to make sure 100% its working fine as see in the picture below: Declare -- v_timer TIMER; -- begin -- v_timer := Find_Timer('AUTREFTIMER'); -- IF NOT ID_NULL(v_timer) THEN Delete_Timer('AUTREFTIMER'); END IF; -- v_timer := Create_Timer('AUTREFTIMER', NVL(:CTRL_BLK_REFR.REF_INTERVAL,5) *1000, REPEAT); -- end;