Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Fusion Blog
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

Introduction

I hope most of you have already gone through one of my earlier post where we have seen how to Load Data Into Oracle HCM Cloud Using Inbound Interface Option. If you have not seen the post yet please feel free to refer the same from this link .

In this post we would try to achieve a similar data load mechanism but in this case we will try to use the BI Publisher Report instead. 

Many a times we have to perform Discretionary Disbursement from the various Absence Plans configured in the application. Most of the time this is a manual process but if there is a set of rule to be followed and the number of employees for whom this action needs to be performed is huge it makes sense to automate the process. In this post we would try to achieve the same using a BI Publisher Report.

We would try to load Person Accrual Detail data using a BIP Report in this example.

Pre-Requisites

Some of the pre-requisites for this include:

  1. Configuring a Source System Owner 

I have configured a new Source System Owner ( Navigation: Setup and Maintenance -> Manage Common Lookups -> HRC_SOURCE_SYSTEM_OWNER -> Add New Lookup Value (HRC_LEGACY)

 

  1. Identifying a Absence Plan which has “Discretionary Disbursement” enabled

We need to either find or configure a Absence Plan which has discretionary disbursement feature enabled. For this example, we will use “Vacation”

 

  1. Creating a Report to get HDL File format for PersonAccrualDetail.dat Business Object

We would also need to create a Report which should have a custom Data Model attached which should fetch all the relevant data fields required in PersonAccrualDetail.dat data file. We would also need to attach a E-Text Template to the Report to ensure we get data from the application in HDL File Format. In addition to this we would also need to have a Bursting SQL added to the data model which will ensure that we are able to change the file name from “DefaultDocument” to “PersonAccrualDetail” . If you are using a different HDL Object then the name should correspond to the HDL Object.

  1. Creating Custom Data Model to get Required Data Fields

We would need to create a Data Model which should have below SQL query as data-source.

We would need to fetch below data-columns:

Data Field

Data Source

KEY

1

PERSONID

PER_ALL_PEOPLE_F.PERSON_ID

ACCRUALTYPE

‘CSH’

PERSONNUMBER

PER_ALL_PEOPLE_F.PERSON_NUMBER

PLANNAME

‘Vacation’

VALUE

4

PROCDDATE

TO_CHAR(TRUNC(SYSDATE), ‘YYYY/MM/DD’)

SOURCESYSTEMOWNER

‘HRC_LEGACY’

DERIVEDPROCDDATE

TO_CHAR(SYSDATE, ‘YYYY-MM-DD’)




Data Model SQL Query

SELECT A.KEY,

  A.PERSONID,

               A.ACCRUALTYPE,

               A.PERSONNUMBER,

               A.PLANNAME,

  A.VALUE,

  A.PROCDDATE,

  A.SOURCESYSTEMOWNER,

               A.DERIVEDPROCDDATE

FROM    

(

select 

1 KEY,

papf.person_id PERSONID,                                                 

'CSH' ACCRUALTYPE,                                                                

papf.person_number PERSONNUMBER,                                                     

'Vacation' PLANNAME,                                                     

4 VALUE,                                                     

to_char(sysdate,'YYYY/MM/DD')           PROCDDATE,                                            

'HRC_LEGACY' SOURCESYSTEMOWNER,

to_char(sysdate,'YYYY-MM-DD')           DERIVEDPROCDDATE

from   per_all_people_f papf

where  trunc(sysdate) between papf.effective_start_date and papf.effective_end_date

and    papf.person_number IN ('50','51','52','53','54', '55')

) A

ORDER BY A.PERSONNUMBER ASC

 

ii) Creating Bursting Query to Change File Name

We would need a Bursting SQL query to change the file name. The SPLIT BY and DELIVER BY field should hold /DATA_DS/G_3/KEY




Bursting SQL

SELECT

1 “KEY”,

 ‘PersonAccrualDetail’  TEMPLATE,

 ‘TEXT’  OUTPUT_FORMAT,

  ‘PersonAccrualDetail.dat’ OUTPUT_NAME

FROM DUAL

 

iii) Attaching E-Text Template to BI Publisher Report

We would also need to associate a EText Template to the BI Publisher Data Model created above. Details of the E-Text Template are provided below for ready reference

 

ATTRIBUTE

VALUE

*Layout Name

PersonAccrualDetail.rtf

*Template File

PersonAccrualDetail

Type

eText

Locale

English

 

The eText Template would look as below

 

 

Worked Example

As all the pre-requisite are in place we can now start with the next steps. We would need to create a HCM Extract of Inbound Interface Type with following details:

 

Attribute Name

Attribute Value

Extract Name

Inbound Interface Using BIP

Extract Type

Inbound Interface

User Entity

PER_EXT_RESET_UE

Threading Database Item

Extract Reset Person ID

Threading Action Type

Object Actions

Root Data Group Name

DummyDataGroup

Data Group Filter Criteria

1 > 2

 

There is one Record named “DummyExtractRecord” which comprises of 1 data element. Details in table below:

Col

Name

Type

Data Type

Data Source (DS) / Data Value (DV)

1

DummyExtractAttribute

Database Item Group

String

X

 

Once configured the Extract Attributes should appear as below:

Next we need to configure “Extract Delivery Options”

Extract Delivery Option : AccrualDetail

Attribute Name

Attribute Value

*Delivery Option Name

AccrualDetail

Output Type

Text

Report

/Custom/Practice Samples/PersonAccrualDetail.xdo

Template Name

PersonAccrualDetail

*Output Name

AccrualDetailWCC

*Delivery Type

WebCenter Content

Required

Checked

Encryption Mode

None

Run Time File Name

AccrualDetail

Integration Name

AccrualDetailWCC

 

Extract Delivery Option : AccrualDetailData

Attribute Name

Attribute Value

*Delivery Option Name

AccrualDetail

Output Type

Text

Report

 

Template Name

 

*Output Name

AccrualDetailData

*Delivery Type

WebCenter Content

Required

Checked

Encryption Mode

None

Run Time File Name

AccrualDetailData

Integration Name

AccrualDetailData

 

Extract Delivery Option : AccrualDetailXML

Attribute Name

Attribute Value

*Delivery Option Name

AccrualDetailXML

Output Type

Data

Report

/Custom/Practice Samples/PersonAccrualDetail.xdo

Template Name

 

*Output Name

AccrualDetailXML

*Delivery Type

None

Required

Checked

Run Time File Name

PersonAccrualDetail

 

Extract Delivery Option : PersonAccrualDetail

Attribute Name

Attribute Value

*Delivery Option Name

PersonAccrualDetail

Output Type

Text

Report

/Custom/Practice Samples/PersonAccrualDetail.xdo

Template Name

PersonAccrualDetail

*Output Name

PersonAccrualDetail

*Delivery Type

Inbound Interface

Required

Checked

Encryption Mode

None

Override File Extension

.dat

Run Time File Name

PersonAccrualDetail

Integration Name

PersonAccrualDetail

Integration Type

Data Loader

Compress

Yes – Compress First

Compressed Delivery Group

PersonAccrualDetail.zip

 

Once configured the Extract Delivery Options will appear as below:

 

Once all the above changes are done we should Add a New Parameter “Load Automatically” and set “Visible” property to Yes.

Once done we can Validate the Extract and once it is successfully validated we can Save and Close.

In the next step, we would need to Add a Flow Task named “Initiate HCM Data Loader” to “Inbound Interface Using BIP” Flow pattern. We can either navigate to Payroll->Checklist-> Search for Inbound Interface Using BIP  or use Refine Extracts->Search for Inbound Interface Using BIP

Once the search results are retrieved, we need to click on “Edit” (pencil icon) and choose the following task

Name

Initiate HCM Data Loader

Description

Generate HCM Data Loader File and optionally perform a Data Load

Task Type

Standard Process

 

Once we add the payroll flow task we should click on “Go To Task” and add the following details:

Initiate HCM Data Loader Task Definition: Basic Information (Data Loader Archive Action)

Name

Data Loader Archive Action

Execution Mode

Submit

Data Type

Text

Parameter Basis

Bind to Flow Task

Basis Value

Inbound Interface Using BIP, Submit , Payroll Process

Usage

Input Parameter

 

Initiate HCM Data Loader Task Definition: Basic Information (Data Loader Configuration)

Name

Data Loader Configuration

Execution Mode

Submit

Data Type

Text

Parameter Basis

Constant Bind

Basis Value

ImportMaximumErrors=100,

LoadMaximumErrors=100,

LoadConcurrentThreads=8,

LoadGroupSize=100

Usage

Input Parameter

 

And with this HCM Extract Setup is complete.

Running the Extract

In this step we will try running the Extract.

Once submitted we can monitor the status of the payroll flow instance

 

From the above screenshot we can see that all the process has been successful and hence a Data Load should have got triggered. We can navigate to Data Exchange->HCM Data Loader -> Import and Load Data page to verify this. (While doing a search make sure you set the Created By filter to Blank else the Data Set would not appear) . We would search for Content ID as DL_PERSONAC_1806418

From the screenshots we can see that the data got loaded successfully. 

In the next step we will verify the same in application. We can perform this verification in two ways.



  1. By Running a SQL Query

SQL Query

select papf.person_number,

       apaed.type,

       apaed.value,

       apaed.source,

       apaed.payment_percentage,

       apaed.person_id,

       apaed.pl_id,

       to_char(apaed.procd_date,'YYYYMMDD') processed_date

from   per_all_people_f papf,

       anc_per_acrl_entry_dtls apaed

where  papf.person_id = apaed.person_id

and    apaed.type = 'CSH'

and    trunc(sysdate) between papf.effective_start_date and papf.effective_end_date

and    papf.person_number IN ('50','51','52','53','54','55')

and    trunc(apaed.procd_date) = trunc(sysdate)

order  by papf.person_number asc

 

And we could see the results in BI Data Model

  1. From Application UI

We would navigate to Person Management-> Search for Person Number 50-> Absence Records and go to Plan Participation Section, Choose “Vacation” plan and we should be able to see disbursement details

 

Similarly, we can check for person# 51,52,53,54 and 55 too.

Summary

So this is how we can use BI Publisher SQL based Data Source and load data into Oracle HCM Cloud Application by making use of Dummy HCM Extract of Inbound Interface. One may try to extend this logic and make the solution more flexible by making use of bind parameters and also applying this solution to other use-cases.

With this I have come to the end of this article, hope this was a good read.

Thanks for your time and have a great day ahead.

You can download the below list of files using link here


Ashish Harbhajanka

Comments   

+1 #1 Supraja 2021-06-21 12:55
Thank you so much. This was useful for me to change the file name for which i was struggling.
Quote
0 #2 Mydeen 2022-02-08 14:51
Thank you so much for the Information. I tried the same for Candidate HDL file.
The file created from the Extract is named as: Candidate.dat.t xt. Will this work? Is it coz of the Text format we are providing in the bursting SQL? Not sure how to get .dat output from the Report through Extract.
Quote
0 #3 Siddharth Singh 2022-02-24 17:02
Why do we need manual person number generation method?
If anyone knows this guys please tell me.
Quote
0 #4 adult coloring pages 2022-05-07 11:17
Useful information. Lucky me I discovered your site
by chance, and I'm shocked why this coincidence didn't happened earlier!
I bookmarked it.
Quote
0 #5 adult coloring pages 2022-05-07 16:52
This is a topic that's near to my heart... Cheers!
Where are your contact details though?
Quote
0 #6 calendário de maio 2022-05-09 16:53
Good ρоst! We will be liinking to this great article on our
websіte. Kеep up the good writing.

Look at mү website: calendário de maio: http://shieh.com/__media__/js/netsoltrademark.php?d=indianetmarket.com%2Findex.php%3Fpage%3Duser%26action%3Dpub_profile%26id%3D96655
Quote
0 #7 monthly calendar pdf 2022-05-10 01:22
Just desire to say your article is as astounding.
The clarity on your publish is simply great and i can suppose you
are a professional on this subject. Fine with your permission let
me to take hold of your feed to keep up to date with imminent post.
Thank you 1,000,000 and please keep up the enjoyable work.


Feel free to visit my blog post monthly
calendar pdf: http://Tim-mcgrath.com/__media__/js/netsoltrademark.php?d=bemobilebesafe.com%2F__media__%2Fjs%2Fnetsoltrademark.php%3Fd%3Dwww.pinterest.com%252F7calendar%252F
Quote
0 #8 private planner blog 2022-06-10 03:32
Very goⲟd article. Ӏ will be experiencing sߋme of thеse
issues aѕ ᴡell..

Αlso visit my homepaցe private
planner blog: https://t.me/s/printable_calendar
Quote
0 #9 coloring pages pdf 2022-07-08 02:03
Howdy! I could have sworn I've been to this
site before but after reading through some of the post I realized it's new to me.
Nonetheless, I'm definitely delighted I found it and I'll be book-marking and checking back frequently!
Quote
0 #10 free coloring sheets 2022-07-08 11:41
What a information of un-ambiguity and preserveness of
precious know-how concerning unpredicted feelings.
Quote
0 #11 coloring pages 2022-07-08 20:08
Does your website have a contact page? I'm having problems locating it
but, I'd like to send you an e-mail. I've got some ideas for your blog you might be interested in hearing.

Either way, great blog and I look forward to seeing it improve over time.
Quote
0 #12 calendário de abril 2022-07-09 23:51
Ƭhis is very interesting, You're a very skilled blogger.
I have joined your rss feed аnd look forward to seekіng
more ߋf your great post. Also, I have shared your website in my social networks!


My wweb blⲟg - caⅼendário de abril: http://www.cxxxb.com/space-uid-210937.html?do=profile
Quote
0 #13 labogroup.com.Ng 2022-07-19 05:07
Hi there! I just wanted to ask if you ever have any issues with
hackers? My last blog (wordpress) was hacked and I ended up losing a few months of hard
work due to no back up. Do you have any methods to prevent hackers?
Quote
0 #14 printable calendar 2022-07-19 19:31
I love your blog.. very nice colors & theme. Did you make this website yourself or did you hire someone to do
it for you? Plz respond as I'm looking to design my
own blog and would like to find out where u
got this from. thanks a lot
Quote
0 #15 http://nancycohn.com 2022-07-24 00:27
Thanks on your marvelous posting! I actually enjoyed reading it, you can be a great author.I will be sure to bookmark your blog and will often come back in the
future. I want to encourage continue your great work,
have a nice day!
Quote
0 #16 Printable Calendar 2022-07-24 01:51
What i do not realize is in reality how you are now not actually much more smartly-favored than you may be right now.
You're very intelligent. You know therefore significantly in relation to
this matter, made me in my view imagine it from so many various angles.
Its like women and men are not fascinated unless it's something
to accomplish with Lady gaga! Your own stuffs outstanding.
All the time deal with it up!
Quote
0 #17 calendário de agosto 2022-07-26 23:38
Thank you ɑ lot fⲟr sharing this with all folks
you actually know what you are talking approximateⅼy!
Bookmɑrked. Please also talk over ѡіth my website =).
We may have a hyperlink trade agreement among us

Also visit my wеb blog caⅼеndário
de agosto: http://gdpartners.com/__media__/js/netsoltrademark.php?d=dorama.one%2Fuser%2FMXYKeeley0%2F
Quote
0 #18 p3747070 2022-08-08 17:07
In fact when someone doesn't be aware of after that its up to other people that
they will help, so here it occurs.

My web page ... p3747070: https://www.tapatalk.com/groups/renotalkfr/viewtopic.php?p=3747070
Quote
0 #19 ежедневный дневник 2022-08-21 12:35
magnificent post, very informative. I'm wondering why the other experts of this sector don't realize this.
You should proceed your writing. I'm sure, you have a huge readers' base already!



Take a look at my page - ежедневный дневник: https://vc.ru/life/477671-dorogoy-dnevnik-kak-ezhednevnye-zapisi-proishodyashchego-i-refleksiya-vliyayut-na-zdorove-nastroenie-i-pamyat
Quote
0 #20 打印日历九月 2022-09-21 08:19
What's up to all, how is the whole thing, I think every one is
getting more from this web page, and your views are good in favor of new visitors.


Stop by my web-site: 打印日历九月: https://myptc.xyz/
Quote

Add comment


Security code
Refresh

About the Author

Ashish Harbhajanka

 

Oracle Fusion HCM Techno Functional Consultant with overall 10 years of Experience in software industry with 5 years in EBS HRMS and rest 5 in Fusion HCM.

My areas of intesrest in Fusion HCM include :

a) Inbound Outbound Integration using FBL/HDL or BIP/HCM Extracts.

b) Fast Formula

c) BIP Reports

d) OTBI Reports

e) RESTFUL API / Web Service Call

f) Functional Setup

g) End to End Testing

h) Regression Testing

i) Preparing COnfiguration Workbooks

j) Creating Speed Solutions

k) Preparing User Guides

l) UPK

........

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Apr 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
  1  2  3  4  5  6  7
  8  91011121314
15161718192021
22232425262728
2930     

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner