methodName
GET_CHARGE_ACCOUNT_DESC
packageName
POR_UTIL_PVT
GL_FLEXFIELDS_PKG
SELECT
POR_UTIL_PVT.GET_CHARGE_ACCOUNT_DESC('GL','GL#',chart_of_accounts_id,CODE_COMBINATION_ID)
FROM DUAL
methodName
GET_CHARGE_ACCOUNT_DESC
packageName
POR_UTIL_PVT
GL_FLEXFIELDS_PKG
SELECT
POR_UTIL_PVT.GET_CHARGE_ACCOUNT_DESC('GL','GL#',chart_of_accounts_id,CODE_COMBINATION_ID)
FROM DUAL
SELECT
h_child.organization_id
,LISTAGG(haou.name , '|') WITHIN GROUP (Order by distance) DeptHierarchy
FROM
per_dept_tree_node_rf pgtn_rf
,hr_all_organization_units haou
,hr_all_organization_units h_child
WHERE
pgtn_rf.ancestor_pk1_value = haou.organization_id
and pgtn_rf.pk1_value = h_child.organization_id
and pgtn_rf.tree_code ='XXXX_DEPT_STRUCTURE'
and NVL(:P_START_DATE,trunc(SYSDATE)) between haou.effective_start_date and haou.effective_end_date
and EXISTS(
SELECT 1
FROM
FND_TREE_VERSION ftv
WHERE
ftv.tree_code = pgtn_rf.tree_code
AND pgtn_rf.tree_version_id = ftv.tree_version_id
AND ftv.status = 'ACTIVE'
AND SYSDATE between TRUNC(ftv.effective_start_date) AND TRUNC(ftv.effective_end_date)
)
Financial Tax register populate data on following tables.
ZX_REP_CONTEXT_T
ZX_REP_TRX_DETAIL_T
ZX_REP_ACTG_EXT_T
ZX_REP_TRX_JX_EXT_T
Which can be referred using view ZX_REP_EXTRACT_V
Report can be run using parameter SUBMIT_PURGE, which is to delete data post completion.
Purging Routine - ZX_EXTRACT_PKG.purge(p_request_id)
This routine is defined to DELETE transaction for given REQUEST ID when profile FND: Debug Log Enabled is set No.
If Post completion there is no data in above view/tables, please check if Program is subimtted with SUBMIT PURGE parameter ?
To Validate if report is generating data or not, set the profile value to YES and run the program. This will not purge the tables.
Requirement
How to access Oracle BIP Report from fusion without accessing Tools > Reports and Analytics and ESS job.
Solution
We can use sandbox to setup a shorcut in required screen in Oracle fusion.
Create a sandbox using Structure option.
Select create page entry option.
Select the group name where you want to keep this shortcut.
EL expression can be used to control access for specifc user or role
Select Link type = Dynamic URL and provide the report path and name ( as shown) in destination for web application.
Save and publish the sandbox.
Go to path and a shortcut will be shown on selected group.
Requirement
What are different ways one can access BIP Reports
Solution
Reports can be accessed via -
1) Reports and Analytics - Go to report path and run or schedule report
2) Oracle Fusion Scheduled Process - Setup and ESS job for BIP report and access report data by running ESS job from Oracle fusion.
3) Oracle Fusion (any screen) - We can use sandbox to create new page entry and link this with report path. A BIP report can be linked using Static and Dynamic options.
Static - This will be not instance dependent and report URL will be full link including instance details.
Dynamic - Suggested to use as this need only report path and name. Instance name will be automatically added based on used instance.
Requirement
How to define delivery details for an BIP report at run time ?
Solution
Similar to e-Business BIP reports are delivered to use bursting concept for run time delivery selection.
Bursting SQL need to be defined at Data Model.
Following are the options to run data model and bursting scope -
Requirement
Can we use Fast Formula in HCM Extrat to derive any Database calculation ?
Solution
Oralce provides rule type attribute in HCM extract. We can use this type to use fast formula driven attribute.
In order to access Fast formula in Extract attributes, use type = "Extract Rule"
If using GET_VALUE_SET method to cal value set ( only TABLE type value set are supported). Please ensure you pass value to ID field as well.
Requirement
Schedule a report to deliver output file with timestamp in filename so it can be differentiated
Solution
Dynamic filename can be achieved using 2 ways -
1) User delivery option manually in schedule
In this method in delivery tab, select the delivery method and use below syntex in filename - BIPReport_%y%m%d%H24%M%S.txt
Requirement
Enhance a simple seeded report by adding additional attributes is very common.
Solution1
We can enhance the seeded data set by modifying SQL statement using new attributes.
Example
DataSet SQL -
SELECT
invoice_num
, invoice_id
, invoice_date
FROM
ap_invoices_all
Need to display Business Unit Name.
Modified Data Set SQL
SELECT
invoice_num
, invoice_id
, invoice_date
,fbu.bu_name
FROM
ap_invoices_all apa
,fun_all_business_units_v fbu
WHERE
apa.org_id = fbu.bu_id
OR
SELECT
invoice_num
, invoice_id
, invoice_date
,(SELECT bu_name from fun_all_business_units_v where bu_id = apa.org_id) bu_name
FROM
ap_invoices_all apa
Solution2
We can add a new data set for requested attributes and common attribute from existing data set. Then link the new data set using common attribute.
DataSet1 SQL -
SELECT
invoice_num
, invoice_id
, invoice_date
,org_id
FROM
ap_invoices_all
Need to display Business Unit Name.
DataSet2 SQL
SELECT
bu_id
,bu_name
FROM
fun_all_business_units_v
Linke DataSet 1 with DataSet2 using attribute Org_id (DS1) and Bu_id (DS2).