SlideShare a Scribd company logo
1 of 9
Download to read offline
Synopses:
The purpose of this alert report is to check if any employee leave is starting today (sysdate) than send
email notification to his manager with leave details. Notification is like: (variables are bold case)
Subject: Leave type for Employee Name started today (leave start date)
Email body:
Dear Manager Name,
Please be informed that Leave Type for Employee Name is started today with hereunder information:
Name Start Date End Date Duration Notification
Date
Return Date Remarks Status
Employee
Name
04-09-2016 08-09-2016 5 28-07-2016 18-09-2016 In Progress
Best Regards,
1. Create data model:
Query: The important clause is “AND trunc(abs.start_date) = trunc(sysdate)” it will make sure
that leave is starting today:
SELECT
emp_name.first_name||' '||emp_name.last_name full_name, sup_name.first_name||'
'||sup_name.last_name sup_name,sup_email.email_address,TYP.NAME leave,
ABS.DURATION,
to_char(abs.start_Date,'DD-Mon-yyyy') start_date,
to_char(abs.end_Date,'dd-Mon-yyyy') end_date,
to_char(nvl(submitted_date,notification_date),'dd-Mon-yyyy') notification_DAte,
to_char(abs.ATTRIBUTE_DATE1,'dd-Mon-yyyy') ret_dt,
abs.ATTRIBUTE1 rem,
initcap(DECODE(abs.ABSENCE_STATUS_CD , 'SUBMITTED'
,DECODE(abs.APPROVAL_STATUS_CD,
'APPROVED',DECODE(abs.ABSENCE_STATUS_CD
, 'SUBMITTED' ,DECODE(SIGN(trunc(to_date(sysdate))-trunc(END_DATETIME)),
1,'COMPLETED',0,'INPROGRESS',DECODE(SIGN(trunc(START_DATETIME)-
trunc(to_date(sysdate))),1,
'SCHEDULED','IN PROGRESS'))),'DENIED','DENIED', 'AWAITING' ),
'ORA_WITHDRAWN',DECODE(abs.APPROVAL_STATUS_CD,'APPROVED','CANCELE
D','ORA_WDRWL_PEND'),
ABSENCE_STATUS_CD )) as ABSENCE_DISP_STATUS_CD
FROM ANC_PER_ABS_ENTRIES Abs ,
ANC_ABSENCE_TYPES_VL TYP,
per_person_names_f emp_name,
per_all_assignments_m emp_asg,
per_assignment_supervisors_f sup_asg,
per_person_names_f sup_name,
per_email_addresses sup_email
WHERE emp_name.person_id = abs.person_id
AND abs.APPROVAL_STATUS_CD = 'APPROVED'
AND emp_name.name_type = 'GLOBAL'
and trunc(sysdate) between typ.effective_start_date and typ.effective_end_date
and emp_asg.person_id= abs.person_id
AND emp_asg.assignment_type = 'E'
AND emp_asg.primary_flag = 'Y'
and trunc(sysdate) between emp_name.effective_start_Date and
emp_name.effective_end_date
and trunc(sysdate) between emp_asg.effective_start_Date and emp_asg.effective_end_date
and sup_asg.assignment_id = emp_asg.assignment_id
and sup_asg.manager_id = sup_name.person_id
and sup_name.name_type(+) = 'GLOBAL'
and trunc(sysdate) between sup_asg.effective_start_Date and sup_asg.effective_end_date
and trunc(sysdate) between sup_name.effective_start_Date and sup_name.effective_end_date
AND sup_email.person_id(+)= sup_asg.manager_id
AND sup_email.email_type(+)= 'W1'
and ABS.ABSENCE_TYPE_ID = TYP.ABSENCE_TYPE_ID
AND trunc(abs.start_date) = trunc(sysdate)
and abs.ABSENCE_STATUS_CD = 'SUBMITTED'
and abs.APPROVAL_STATUS_CD = 'APPROVED'
2. Create Bursting for Data Model:
Split By: EMAIL_ADDRESS (manager email address from data model)
Deliver By: EMAIL_ADDRESS (manager email address from data model)
SQL Query:
SELECT
sup_email.email_address KEY,
'Notification Template' TEMPLATE,
'RTF' TEMPLATE_FORMAT,
'en-US' as LOCALE,
'HTML' as OUTPUT_FORMAT,
'EMAIL' as DEL_CHANNEL,
sup_email.email_address as PARAMETER1,
'shahzad.ali@salic.com' as PARAMETER8,
'bipublisher-report@oracle.com' as PARAMETER3,
Initcap(TYP.NAME)||' for '||emp_name.first_name||' '||emp_name.last_name||' started today
('||to_char(abs.start_Date,'DD-Mon-yyyy')||')' as PARAMETER4,
'false' as PARAMETER6,
'shahzad.ali@salic.com' as PARAMETER7
FROM ANC_PER_ABS_ENTRIES Abs ,
ANC_ABSENCE_TYPES_VL TYP,
per_person_names_f emp_name,
per_all_assignments_m emp_asg,
per_assignment_supervisors_f sup_asg,
per_person_names_f sup_name,
per_email_addresses sup_email
WHERE emp_name.person_id = abs.person_id
AND abs.APPROVAL_STATUS_CD = 'APPROVED'
AND emp_name.name_type = 'GLOBAL'
and emp_asg.person_id= abs.person_id
AND emp_asg.assignment_type = 'E'
AND emp_asg.primary_flag = 'Y'
and trunc(sysdate) between emp_name.effective_start_Date and emp_name.effective_end_date
and trunc(sysdate) between emp_asg.effective_start_Date and emp_asg.effective_end_date
and sup_asg.assignment_id = emp_asg.assignment_id
and sup_asg.manager_id = sup_name.person_id
and sup_name.name_type(+) = 'GLOBAL'
and trunc(sysdate) between sup_asg.effective_start_Date and sup_asg.effective_end_date
and trunc(sysdate) between sup_name.effective_start_Date and sup_name.effective_end_date
AND sup_email.person_id(+)= sup_asg.manager_id
AND sup_email.email_type(+)= 'W1'
and ABS.ABSENCE_TYPE_ID = TYP.ABSENCE_TYPE_ID
/*AND upper(TYP.NAME) ='ANNUAL LEAVE'
and abs.person_id = 300000006318107*/
AND trunc(abs.start_date) = trunc(sysdate)
and abs.ABSENCE_STATUS_CD = 'SUBMITTED'
and abs.APPROVAL_STATUS_CD = 'APPROVED'
Things to be noted:
3. Create the report on the basis of this data model with rtf template:
Template:
Notification
Template.rtf
4. Enable the report Bursting, open report properties:
5. Create the Report Job to schedule this report every day at 7:30 am:
a. Select the report which need to be scheduled:
b. Give the schedule information (Frequency, start date and end date)
6. You can monitor the information about report execution from report
history or job history:
a. BI home page click on Report Job:
b. Click on history to view the job history
One problem is if no record is retrieved (no leave is entered for today) then report job is showing error:
Job processor caused exception
[INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.1471554406742]
[INSTANCE_JOB_ID=12679]::oracle.xdo.servlet.scheduler.ProcessingException:
::DATA_PROCESSING_FAILED::[INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.14
71554406742]
There is no data to process
[INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.1471554406742]
oracle.xdo.servlet.scheduler.ProcessingException:
There is no data to process
[INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.1471554406742]
at oracle.xdo.enterpris
I had seen this can be handled with Job Trigger but system is not saving the data model. Need to check
with Oracle for this issue. Otherwise it is working fine.

More Related Content

What's hot

Query to get the geography information using bi report
Query to get the geography information using bi reportQuery to get the geography information using bi report
Query to get the geography information using bi reportFeras Ahmad
 
Oracle HCM Cloud Core HR Workforce Structures Table Relationships
Oracle HCM Cloud Core HR Workforce Structures Table RelationshipsOracle HCM Cloud Core HR Workforce Structures Table Relationships
Oracle HCM Cloud Core HR Workforce Structures Table RelationshipsSricharan
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewChris Martin
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFeras Ahmad
 
142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculationsuday reddy
 
DBI database Items Query Oracle Fusion Cloud
DBI database Items Query Oracle Fusion CloudDBI database Items Query Oracle Fusion Cloud
DBI database Items Query Oracle Fusion CloudFeras Ahmad
 
Query Pre Payment details Oracle Fusion Cloud
Query Pre Payment details Oracle Fusion CloudQuery Pre Payment details Oracle Fusion Cloud
Query Pre Payment details Oracle Fusion CloudFeras Ahmad
 
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11Feras Ahmad
 
How to debug a fast formula
How to debug a fast formulaHow to debug a fast formula
How to debug a fast formulaFeras Ahmad
 
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book Feras Ahmad
 
How to Debug the Fast Formula.pdf
How to Debug the Fast Formula.pdfHow to Debug the Fast Formula.pdf
How to Debug the Fast Formula.pdfFeras Ahmad
 
Fast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCMFast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCMFeras Ahmad
 
All payroll elements with eligibility Oracle Fusion Cloud
All payroll elements with eligibility Oracle Fusion CloudAll payroll elements with eligibility Oracle Fusion Cloud
All payroll elements with eligibility Oracle Fusion CloudFeras Ahmad
 
Calendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence managementCalendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence managementFeras Ahmad
 
Fusion absence management explained with examples
Fusion absence management   explained with examplesFusion absence management   explained with examples
Fusion absence management explained with examplesmshabrawi
 
Oracle Fusion Payroll tracing for debugging
Oracle Fusion Payroll tracing for debuggingOracle Fusion Payroll tracing for debugging
Oracle Fusion Payroll tracing for debuggingFeras Ahmad
 
Accrual plan set up in oracle hrms
Accrual plan set up in oracle hrmsAccrual plan set up in oracle hrms
Accrual plan set up in oracle hrmsRajiv reddy
 
Otl Oracle Time and Labor
Otl Oracle Time and LaborOtl Oracle Time and Labor
Otl Oracle Time and LaborFeras Ahmad
 
How to create payslip through self service
How to create payslip through self serviceHow to create payslip through self service
How to create payslip through self serviceFeras Ahmad
 

What's hot (20)

Query to get the geography information using bi report
Query to get the geography information using bi reportQuery to get the geography information using bi report
Query to get the geography information using bi report
 
Oracle HCM Cloud Core HR Workforce Structures Table Relationships
Oracle HCM Cloud Core HR Workforce Structures Table RelationshipsOracle HCM Cloud Core HR Workforce Structures Table Relationships
Oracle HCM Cloud Core HR Workforce Structures Table Relationships
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packages
 
142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations
 
DBI database Items Query Oracle Fusion Cloud
DBI database Items Query Oracle Fusion CloudDBI database Items Query Oracle Fusion Cloud
DBI database Items Query Oracle Fusion Cloud
 
Query Pre Payment details Oracle Fusion Cloud
Query Pre Payment details Oracle Fusion CloudQuery Pre Payment details Oracle Fusion Cloud
Query Pre Payment details Oracle Fusion Cloud
 
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
Oracle fusion hrms_for_uae_hr_setup_white_paper_rel11
 
How to debug a fast formula
How to debug a fast formulaHow to debug a fast formula
How to debug a fast formula
 
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
Infolets and OTBI Deep link Actionable Reports - Configuration Work Book
 
How to Debug the Fast Formula.pdf
How to Debug the Fast Formula.pdfHow to Debug the Fast Formula.pdf
How to Debug the Fast Formula.pdf
 
Fast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCMFast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCM
 
All payroll elements with eligibility Oracle Fusion Cloud
All payroll elements with eligibility Oracle Fusion CloudAll payroll elements with eligibility Oracle Fusion Cloud
All payroll elements with eligibility Oracle Fusion Cloud
 
Calendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence managementCalendar working days and holidays for Oracle EBS R12 Absence management
Calendar working days and holidays for Oracle EBS R12 Absence management
 
Fusion absence management explained with examples
Fusion absence management   explained with examplesFusion absence management   explained with examples
Fusion absence management explained with examples
 
Oracle Fusion Payroll tracing for debugging
Oracle Fusion Payroll tracing for debuggingOracle Fusion Payroll tracing for debugging
Oracle Fusion Payroll tracing for debugging
 
Accrual plan set up in oracle hrms
Accrual plan set up in oracle hrmsAccrual plan set up in oracle hrms
Accrual plan set up in oracle hrms
 
Oracle HRMS Proration
Oracle HRMS ProrationOracle HRMS Proration
Oracle HRMS Proration
 
Otl Oracle Time and Labor
Otl Oracle Time and LaborOtl Oracle Time and Labor
Otl Oracle Time and Labor
 
How to create payslip through self service
How to create payslip through self serviceHow to create payslip through self service
How to create payslip through self service
 

Similar to Bi email-alert-notification - Fusion Alert

Sql task answers
Sql task answersSql task answers
Sql task answersNawaz Sk
 
Simran kaur,BCA Final Year 2015
Simran kaur,BCA Final Year 2015Simran kaur,BCA Final Year 2015
Simran kaur,BCA Final Year 2015dezyneecole
 
Create a C# applicationYou are to create a class object called “Em.pdf
Create a C# applicationYou are to create a class object called “Em.pdfCreate a C# applicationYou are to create a class object called “Em.pdf
Create a C# applicationYou are to create a class object called “Em.pdffeelingspaldi
 
Apurv Gupta, BCA ,Final year , Dezyne E'cole College
 Apurv Gupta, BCA ,Final year , Dezyne E'cole College Apurv Gupta, BCA ,Final year , Dezyne E'cole College
Apurv Gupta, BCA ,Final year , Dezyne E'cole Collegedezyneecole
 
Oracle - Program with PL/SQL - Lession 05
Oracle - Program with PL/SQL - Lession 05Oracle - Program with PL/SQL - Lession 05
Oracle - Program with PL/SQL - Lession 05Thuan Nguyen
 
Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?
Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?
Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?DoKC
 
The purpose of this C++ programming project is to allow the student .pdf
The purpose of this C++ programming project is to allow the student .pdfThe purpose of this C++ programming project is to allow the student .pdf
The purpose of this C++ programming project is to allow the student .pdfRahul04August
 
Data Exploration with Apache Drill: Day 2
Data Exploration with Apache Drill: Day 2Data Exploration with Apache Drill: Day 2
Data Exploration with Apache Drill: Day 2Charles Givre
 
Basic Sql Handouts
Basic Sql HandoutsBasic Sql Handouts
Basic Sql Handoutsjhe04
 
Les02 (restricting and sorting data)
Les02 (restricting and sorting data)Les02 (restricting and sorting data)
Les02 (restricting and sorting data)Achmad Solichin
 
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfI am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfpetercoiffeur18
 
Top 40 sql queries for testers
Top 40 sql queries for testersTop 40 sql queries for testers
Top 40 sql queries for testerstlvd
 
Comparing 30 Elastic Search operations with Oracle SQL statements
Comparing 30 Elastic Search operations with Oracle SQL statementsComparing 30 Elastic Search operations with Oracle SQL statements
Comparing 30 Elastic Search operations with Oracle SQL statementsLucas Jellema
 
Vishwajeet Sikhwal ,BCA,Final Year 2015
Vishwajeet Sikhwal ,BCA,Final Year 2015Vishwajeet Sikhwal ,BCA,Final Year 2015
Vishwajeet Sikhwal ,BCA,Final Year 2015dezyneecole
 

Similar to Bi email-alert-notification - Fusion Alert (16)

Sql task answers
Sql task answersSql task answers
Sql task answers
 
Simran kaur,BCA Final Year 2015
Simran kaur,BCA Final Year 2015Simran kaur,BCA Final Year 2015
Simran kaur,BCA Final Year 2015
 
Create a C# applicationYou are to create a class object called “Em.pdf
Create a C# applicationYou are to create a class object called “Em.pdfCreate a C# applicationYou are to create a class object called “Em.pdf
Create a C# applicationYou are to create a class object called “Em.pdf
 
Apurv Gupta, BCA ,Final year , Dezyne E'cole College
 Apurv Gupta, BCA ,Final year , Dezyne E'cole College Apurv Gupta, BCA ,Final year , Dezyne E'cole College
Apurv Gupta, BCA ,Final year , Dezyne E'cole College
 
Oracle - Program with PL/SQL - Lession 05
Oracle - Program with PL/SQL - Lession 05Oracle - Program with PL/SQL - Lession 05
Oracle - Program with PL/SQL - Lession 05
 
Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?
Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?
Dok Talks #115 - What More Can I Learn From My OpenTelemetry Traces?
 
Vijay Kumar
Vijay KumarVijay Kumar
Vijay Kumar
 
The purpose of this C++ programming project is to allow the student .pdf
The purpose of this C++ programming project is to allow the student .pdfThe purpose of this C++ programming project is to allow the student .pdf
The purpose of this C++ programming project is to allow the student .pdf
 
Data Exploration with Apache Drill: Day 2
Data Exploration with Apache Drill: Day 2Data Exploration with Apache Drill: Day 2
Data Exploration with Apache Drill: Day 2
 
Basic Sql Handouts
Basic Sql HandoutsBasic Sql Handouts
Basic Sql Handouts
 
Les02 (restricting and sorting data)
Les02 (restricting and sorting data)Les02 (restricting and sorting data)
Les02 (restricting and sorting data)
 
Les02
Les02Les02
Les02
 
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfI am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
 
Top 40 sql queries for testers
Top 40 sql queries for testersTop 40 sql queries for testers
Top 40 sql queries for testers
 
Comparing 30 Elastic Search operations with Oracle SQL statements
Comparing 30 Elastic Search operations with Oracle SQL statementsComparing 30 Elastic Search operations with Oracle SQL statements
Comparing 30 Elastic Search operations with Oracle SQL statements
 
Vishwajeet Sikhwal ,BCA,Final Year 2015
Vishwajeet Sikhwal ,BCA,Final Year 2015Vishwajeet Sikhwal ,BCA,Final Year 2015
Vishwajeet Sikhwal ,BCA,Final Year 2015
 

More from Feras Ahmad

Oracle Fusion HCM Payroll Process Flow.pdf
Oracle Fusion HCM Payroll Process Flow.pdfOracle Fusion HCM Payroll Process Flow.pdf
Oracle Fusion HCM Payroll Process Flow.pdfFeras Ahmad
 
Configure Flexfield Parameters in Value Sets for Document Records.docx
Configure Flexfield Parameters in Value Sets for Document Records.docxConfigure Flexfield Parameters in Value Sets for Document Records.docx
Configure Flexfield Parameters in Value Sets for Document Records.docxFeras Ahmad
 
Building-Materials
Building-MaterialsBuilding-Materials
Building-MaterialsFeras Ahmad
 
Oracle Fusion Cloud sensitive data access audit
 Oracle Fusion Cloud sensitive data access audit Oracle Fusion Cloud sensitive data access audit
Oracle Fusion Cloud sensitive data access auditFeras Ahmad
 
Oracle HCM Presentation 2020
Oracle HCM Presentation 2020Oracle HCM Presentation 2020
Oracle HCM Presentation 2020Feras Ahmad
 
Oracle Fusion HCM vs E-Business Suite HRMS
Oracle Fusion HCM vs E-Business Suite HRMSOracle Fusion HCM vs E-Business Suite HRMS
Oracle Fusion HCM vs E-Business Suite HRMSFeras Ahmad
 
2020 06-11 goverment KSA Summary VAT increase
2020 06-11 goverment KSA Summary VAT increase2020 06-11 goverment KSA Summary VAT increase
2020 06-11 goverment KSA Summary VAT increaseFeras Ahmad
 
Financial reporting compliance cloud service presentation
Financial reporting compliance cloud service presentationFinancial reporting compliance cloud service presentation
Financial reporting compliance cloud service presentationFeras Ahmad
 
Absence Work flow query
Absence Work flow queryAbsence Work flow query
Absence Work flow queryFeras Ahmad
 
Setting up audits and audit reports Fusion Cloud
Setting up audits and audit reports Fusion Cloud Setting up audits and audit reports Fusion Cloud
Setting up audits and audit reports Fusion Cloud Feras Ahmad
 
Oracle EBS R12 Payroll user manual
Oracle EBS R12 Payroll user manualOracle EBS R12 Payroll user manual
Oracle EBS R12 Payroll user manualFeras Ahmad
 
Oracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualOracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualFeras Ahmad
 
Oracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualOracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualFeras Ahmad
 
Oracle Fusion HCM Presentation
Oracle Fusion HCM PresentationOracle Fusion HCM Presentation
Oracle Fusion HCM PresentationFeras Ahmad
 
Oracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan SetupOracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan SetupFeras Ahmad
 
Oracle Fusion HCM Presentation
Oracle Fusion HCM PresentationOracle Fusion HCM Presentation
Oracle Fusion HCM PresentationFeras Ahmad
 
Best practices for fusion hcm cloud implementation
Best practices for fusion hcm cloud implementationBest practices for fusion hcm cloud implementation
Best practices for fusion hcm cloud implementationFeras Ahmad
 

More from Feras Ahmad (17)

Oracle Fusion HCM Payroll Process Flow.pdf
Oracle Fusion HCM Payroll Process Flow.pdfOracle Fusion HCM Payroll Process Flow.pdf
Oracle Fusion HCM Payroll Process Flow.pdf
 
Configure Flexfield Parameters in Value Sets for Document Records.docx
Configure Flexfield Parameters in Value Sets for Document Records.docxConfigure Flexfield Parameters in Value Sets for Document Records.docx
Configure Flexfield Parameters in Value Sets for Document Records.docx
 
Building-Materials
Building-MaterialsBuilding-Materials
Building-Materials
 
Oracle Fusion Cloud sensitive data access audit
 Oracle Fusion Cloud sensitive data access audit Oracle Fusion Cloud sensitive data access audit
Oracle Fusion Cloud sensitive data access audit
 
Oracle HCM Presentation 2020
Oracle HCM Presentation 2020Oracle HCM Presentation 2020
Oracle HCM Presentation 2020
 
Oracle Fusion HCM vs E-Business Suite HRMS
Oracle Fusion HCM vs E-Business Suite HRMSOracle Fusion HCM vs E-Business Suite HRMS
Oracle Fusion HCM vs E-Business Suite HRMS
 
2020 06-11 goverment KSA Summary VAT increase
2020 06-11 goverment KSA Summary VAT increase2020 06-11 goverment KSA Summary VAT increase
2020 06-11 goverment KSA Summary VAT increase
 
Financial reporting compliance cloud service presentation
Financial reporting compliance cloud service presentationFinancial reporting compliance cloud service presentation
Financial reporting compliance cloud service presentation
 
Absence Work flow query
Absence Work flow queryAbsence Work flow query
Absence Work flow query
 
Setting up audits and audit reports Fusion Cloud
Setting up audits and audit reports Fusion Cloud Setting up audits and audit reports Fusion Cloud
Setting up audits and audit reports Fusion Cloud
 
Oracle EBS R12 Payroll user manual
Oracle EBS R12 Payroll user manualOracle EBS R12 Payroll user manual
Oracle EBS R12 Payroll user manual
 
Oracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manualOracle EBS R12 Self service user manual
Oracle EBS R12 Self service user manual
 
Oracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manualOracle EBS R 12 Core hr user manual
Oracle EBS R 12 Core hr user manual
 
Oracle Fusion HCM Presentation
Oracle Fusion HCM PresentationOracle Fusion HCM Presentation
Oracle Fusion HCM Presentation
 
Oracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan SetupOracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan Setup
 
Oracle Fusion HCM Presentation
Oracle Fusion HCM PresentationOracle Fusion HCM Presentation
Oracle Fusion HCM Presentation
 
Best practices for fusion hcm cloud implementation
Best practices for fusion hcm cloud implementationBest practices for fusion hcm cloud implementation
Best practices for fusion hcm cloud implementation
 

Recently uploaded

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
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
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
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
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

Bi email-alert-notification - Fusion Alert

  • 1. Synopses: The purpose of this alert report is to check if any employee leave is starting today (sysdate) than send email notification to his manager with leave details. Notification is like: (variables are bold case) Subject: Leave type for Employee Name started today (leave start date) Email body: Dear Manager Name, Please be informed that Leave Type for Employee Name is started today with hereunder information: Name Start Date End Date Duration Notification Date Return Date Remarks Status Employee Name 04-09-2016 08-09-2016 5 28-07-2016 18-09-2016 In Progress Best Regards, 1. Create data model: Query: The important clause is “AND trunc(abs.start_date) = trunc(sysdate)” it will make sure that leave is starting today:
  • 2. SELECT emp_name.first_name||' '||emp_name.last_name full_name, sup_name.first_name||' '||sup_name.last_name sup_name,sup_email.email_address,TYP.NAME leave, ABS.DURATION, to_char(abs.start_Date,'DD-Mon-yyyy') start_date, to_char(abs.end_Date,'dd-Mon-yyyy') end_date, to_char(nvl(submitted_date,notification_date),'dd-Mon-yyyy') notification_DAte, to_char(abs.ATTRIBUTE_DATE1,'dd-Mon-yyyy') ret_dt, abs.ATTRIBUTE1 rem, initcap(DECODE(abs.ABSENCE_STATUS_CD , 'SUBMITTED' ,DECODE(abs.APPROVAL_STATUS_CD, 'APPROVED',DECODE(abs.ABSENCE_STATUS_CD , 'SUBMITTED' ,DECODE(SIGN(trunc(to_date(sysdate))-trunc(END_DATETIME)), 1,'COMPLETED',0,'INPROGRESS',DECODE(SIGN(trunc(START_DATETIME)- trunc(to_date(sysdate))),1, 'SCHEDULED','IN PROGRESS'))),'DENIED','DENIED', 'AWAITING' ), 'ORA_WITHDRAWN',DECODE(abs.APPROVAL_STATUS_CD,'APPROVED','CANCELE D','ORA_WDRWL_PEND'), ABSENCE_STATUS_CD )) as ABSENCE_DISP_STATUS_CD FROM ANC_PER_ABS_ENTRIES Abs , ANC_ABSENCE_TYPES_VL TYP, per_person_names_f emp_name, per_all_assignments_m emp_asg, per_assignment_supervisors_f sup_asg, per_person_names_f sup_name, per_email_addresses sup_email WHERE emp_name.person_id = abs.person_id AND abs.APPROVAL_STATUS_CD = 'APPROVED' AND emp_name.name_type = 'GLOBAL'
  • 3. and trunc(sysdate) between typ.effective_start_date and typ.effective_end_date and emp_asg.person_id= abs.person_id AND emp_asg.assignment_type = 'E' AND emp_asg.primary_flag = 'Y' and trunc(sysdate) between emp_name.effective_start_Date and emp_name.effective_end_date and trunc(sysdate) between emp_asg.effective_start_Date and emp_asg.effective_end_date and sup_asg.assignment_id = emp_asg.assignment_id and sup_asg.manager_id = sup_name.person_id and sup_name.name_type(+) = 'GLOBAL' and trunc(sysdate) between sup_asg.effective_start_Date and sup_asg.effective_end_date and trunc(sysdate) between sup_name.effective_start_Date and sup_name.effective_end_date AND sup_email.person_id(+)= sup_asg.manager_id AND sup_email.email_type(+)= 'W1' and ABS.ABSENCE_TYPE_ID = TYP.ABSENCE_TYPE_ID AND trunc(abs.start_date) = trunc(sysdate) and abs.ABSENCE_STATUS_CD = 'SUBMITTED' and abs.APPROVAL_STATUS_CD = 'APPROVED' 2. Create Bursting for Data Model:
  • 4. Split By: EMAIL_ADDRESS (manager email address from data model) Deliver By: EMAIL_ADDRESS (manager email address from data model) SQL Query: SELECT sup_email.email_address KEY, 'Notification Template' TEMPLATE, 'RTF' TEMPLATE_FORMAT, 'en-US' as LOCALE, 'HTML' as OUTPUT_FORMAT, 'EMAIL' as DEL_CHANNEL, sup_email.email_address as PARAMETER1, 'shahzad.ali@salic.com' as PARAMETER8, 'bipublisher-report@oracle.com' as PARAMETER3, Initcap(TYP.NAME)||' for '||emp_name.first_name||' '||emp_name.last_name||' started today ('||to_char(abs.start_Date,'DD-Mon-yyyy')||')' as PARAMETER4, 'false' as PARAMETER6, 'shahzad.ali@salic.com' as PARAMETER7 FROM ANC_PER_ABS_ENTRIES Abs , ANC_ABSENCE_TYPES_VL TYP, per_person_names_f emp_name, per_all_assignments_m emp_asg, per_assignment_supervisors_f sup_asg, per_person_names_f sup_name, per_email_addresses sup_email WHERE emp_name.person_id = abs.person_id AND abs.APPROVAL_STATUS_CD = 'APPROVED' AND emp_name.name_type = 'GLOBAL' and emp_asg.person_id= abs.person_id AND emp_asg.assignment_type = 'E'
  • 5. AND emp_asg.primary_flag = 'Y' and trunc(sysdate) between emp_name.effective_start_Date and emp_name.effective_end_date and trunc(sysdate) between emp_asg.effective_start_Date and emp_asg.effective_end_date and sup_asg.assignment_id = emp_asg.assignment_id and sup_asg.manager_id = sup_name.person_id and sup_name.name_type(+) = 'GLOBAL' and trunc(sysdate) between sup_asg.effective_start_Date and sup_asg.effective_end_date and trunc(sysdate) between sup_name.effective_start_Date and sup_name.effective_end_date AND sup_email.person_id(+)= sup_asg.manager_id AND sup_email.email_type(+)= 'W1' and ABS.ABSENCE_TYPE_ID = TYP.ABSENCE_TYPE_ID /*AND upper(TYP.NAME) ='ANNUAL LEAVE' and abs.person_id = 300000006318107*/ AND trunc(abs.start_date) = trunc(sysdate) and abs.ABSENCE_STATUS_CD = 'SUBMITTED' and abs.APPROVAL_STATUS_CD = 'APPROVED' Things to be noted: 3. Create the report on the basis of this data model with rtf template:
  • 6. Template: Notification Template.rtf 4. Enable the report Bursting, open report properties:
  • 7. 5. Create the Report Job to schedule this report every day at 7:30 am: a. Select the report which need to be scheduled: b. Give the schedule information (Frequency, start date and end date)
  • 8. 6. You can monitor the information about report execution from report history or job history: a. BI home page click on Report Job: b. Click on history to view the job history
  • 9. One problem is if no record is retrieved (no leave is entered for today) then report job is showing error: Job processor caused exception [INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.1471554406742] [INSTANCE_JOB_ID=12679]::oracle.xdo.servlet.scheduler.ProcessingException: ::DATA_PROCESSING_FAILED::[INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.14 71554406742] There is no data to process [INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.1471554406742] oracle.xdo.servlet.scheduler.ProcessingException: There is no data to process [INSTANCE_ID=nlfsn1xhen04.nldc1.oraclecloud.com.1471554406742] at oracle.xdo.enterpris I had seen this can be handled with Job Trigger but system is not saving the data model. Need to check with Oracle for this issue. Otherwise it is working fine.