SlideShare ist ein Scribd-Unternehmen logo
1 von 3
Downloaden Sie, um offline zu lesen
with cost_info as (
select
pelf.element_link_id,
decode(caa.source_sub_type,'COST','Cost Account','BAL','Offset
Account','Unknown-'||caa.source_sub_type) as acct_type,
caa.segment1 as company,
caa.segment2 as department,
caa.segment3 as account,
caa.segment4 as intercompany,
caa.segment5 as future1,
caa.segment6 as future2,
caa.proportion
from
pay_cost_allocations_f ca,
pay_cost_alloc_accounts caa,
pay_element_links_f pelf
where
sysdate between CA.effective_start_date and CA.effective_end_date
and ca.source_type ='EL'
and CAA.cost_allocation_record_id = CA.cost_allocation_record_id
and pelf.element_link_id = ca.source_id
and sysdate between pelf.effective_start_date and pelf.effective_end_date
)
select
legislative_data_group,
element_name,
reporting_name,
element_effective_start_date,
element_effective_end_date,
primary_classification,
secondary_classification,
element_eligibility,
eligibility_start_date,
eligibility_end_date,
costing,
costable_type,
transfer_to_gl_flag,
Costed_Input,
COST_COMPANY,
COST_DEPARTMENT,
COST_ACCOUNT,
COST_INTERCOMPANY,
OFFSET_COMPANY,
OFFSET_DEPARTMENT,
OFFSET_ACCOUNT,
OFFSET_INTERCOMPANY
from (
select
nvl(ldg.name,'None') as legislative_data_group,
pet.element_name,
pet.reporting_name,
to_char(pet.effective_start_date,'MM/DD/YYYY') AS element_effective_start_date,
to_char(pet.effective_end_date,'MM/DD/YYYY') AS element_effective_end_date,
(select distinct class.classification_name
from pay_ele_classifications_vl class
where class.classification_id = pet.classification_id) as primary_classification,
(select distinct class.classification_name
from pay_ele_classifications_vl class
where class.classification_id = pet.secondary_classification_id) as
secondary_classification,
pel.element_link_name as element_eligibility,
to_char(pel.effective_start_date,'MM/DD/YYYY') as eligibility_start_date,
to_char(pel.effective_end_date,'MM/DD/YYYY') as eligibility_end_date,
nvl((select distinct nvl2(pci.costed_flag,'Yes','No')
from pay_link_input_values_f pelv, PAY_COST_INFO_F pci
where pci.source_id = pelv.link_input_value_id
and pet.effective_start_date between pci.effective_start_date and
pci.effective_end_date
and pelv.element_link_id = pel.element_link_id
and pet.effective_start_date between pelv.effective_start_date and
pelv.effective_end_date
and pci.source_type = 'LIV'), 'No') as costing,
pivf.base_name Costed_Input,
hr_general.decode_lookup ('PAY_COSTABLE_TYPE', pcif.costable_type)
costable_type,
pcif.transfer_to_gl_flag,
COST.company COST_COMPANY,
COST.department COST_DEPARTMENT,
COST.account COST_ACCOUNT,
COST.intercompany COST_INTERCOMPANY,
OFFSET.company OFFSET_COMPANY,
OFFSET.department OFFSET_DEPARTMENT,
OFFSET.account OFFSET_ACCOUNT,
OFFSET.intercompany OFFSET_INTERCOMPANY
from
pay_element_types_vl pet,
per_legislative_data_groups_vl ldg,
pay_element_links_f pel,
pay_cost_info_f pcif,
--pay_link_input_values_f pelv,
pay_input_values_f pivf,
(select * from cost_info where acct_type = 'Cost Account') COST,
(select * from cost_info where acct_type = 'Offset Account') OFFSET,
(select pelv.element_link_id, pelv.input_value_id
from pay_link_input_values_f pelv, PAY_COST_INFO_F pci
where pci.source_id = pelv.link_input_value_id
and sysdate between pci.effective_start_date and pci.effective_end_date
and sysdate between pelv.effective_start_date and pelv.effective_end_date
and pci.source_type = 'LIV') Costed_Inputs
where 1=1
and pet.legislative_data_group_id = ldg.legislative_data_group_id (+)
and pcif.source_id(+) = pel.element_link_id
and pcif.source_type(+) = 'EL'
and COST.element_link_id(+) = pel.element_link_id
and OFFSET.element_link_id(+) = pel.element_link_id
and Costed_Inputs.element_link_id(+) = pel.element_link_id
and pel.element_type_id (+) = pet.element_type_id
and pet.effective_start_date between pcif.effective_start_date (+) and
pcif.effective_end_date (+)
and pet.effective_start_date between pel.effective_start_date (+) and
pel.effective_end_date (+)
and Costed_Inputs.input_value_id = pivf.input_value_id(+)
and pet.effective_start_date between pivf.effective_start_date(+) and
pivf.effective_end_date(+)
)
where 1=1
and costing = 'Yes'
--and legislative_data_group = 'US Legislative Data Group'
and element_eligibility is not null
order by element_name, element_eligibility

Weitere ähnliche Inhalte

Was ist angesagt?

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
 
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
 
How to debug a fast formula
How to debug a fast formulaHow to debug a fast formula
How to debug a fast formulaFeras Ahmad
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewChris Martin
 
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 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
 
Oracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan SetupOracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan SetupFeras Ahmad
 
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
 
Query Worker Contracts Details Oracle Fusion Cloud
Query Worker Contracts Details Oracle Fusion CloudQuery Worker Contracts Details Oracle Fusion Cloud
Query Worker Contracts Details Oracle Fusion CloudFeras Ahmad
 
Legal Employer Details Query Oracle Fusion Cloud
Legal Employer Details Query Oracle Fusion CloudLegal Employer Details Query Oracle Fusion Cloud
Legal Employer Details Query Oracle Fusion CloudFeras Ahmad
 
Hcm extracts error
Hcm extracts errorHcm extracts error
Hcm extracts errorFeras Ahmad
 
Dynamic date parameters in bi report
Dynamic date parameters in bi reportDynamic date parameters in bi report
Dynamic date parameters in bi reportFeras 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
 
Bi email-alert-notification - Fusion Alert
Bi email-alert-notification - Fusion AlertBi email-alert-notification - Fusion Alert
Bi email-alert-notification - Fusion AlertFeras 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 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 R12 Payroll user manual
Oracle EBS R12 Payroll user manualOracle EBS R12 Payroll user manual
Oracle EBS R12 Payroll user manualFeras Ahmad
 

Was ist angesagt? (20)

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
 
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
 
How to debug a fast formula
How to debug a fast formulaHow to debug a fast formula
How to debug a fast formula
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
 
Uae absence whitepaper
Uae absence whitepaperUae absence whitepaper
Uae absence whitepaper
 
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 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
 
Oracle HRMS Proration
Oracle HRMS ProrationOracle HRMS Proration
Oracle HRMS Proration
 
Oracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan SetupOracle HRMS Accrual plan Setup
Oracle HRMS Accrual plan Setup
 
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
 
Query Worker Contracts Details Oracle Fusion Cloud
Query Worker Contracts Details Oracle Fusion CloudQuery Worker Contracts Details Oracle Fusion Cloud
Query Worker Contracts Details Oracle Fusion Cloud
 
Legal Employer Details Query Oracle Fusion Cloud
Legal Employer Details Query Oracle Fusion CloudLegal Employer Details Query Oracle Fusion Cloud
Legal Employer Details Query Oracle Fusion Cloud
 
Hcm extracts error
Hcm extracts errorHcm extracts error
Hcm extracts error
 
25 bi reporting
25   bi reporting25   bi reporting
25 bi reporting
 
Dynamic date parameters in bi report
Dynamic date parameters in bi reportDynamic date parameters in bi report
Dynamic date parameters in bi report
 
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
 
Bi email-alert-notification - Fusion Alert
Bi email-alert-notification - Fusion AlertBi email-alert-notification - Fusion Alert
Bi email-alert-notification - Fusion Alert
 
Fusion absence management explained with examples
Fusion absence management   explained with examplesFusion absence management   explained with examples
Fusion absence management explained with examples
 
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 R12 Payroll user manual
Oracle EBS R12 Payroll user manualOracle EBS R12 Payroll user manual
Oracle EBS R12 Payroll user manual
 

Ähnlich wie Oracle Fusion Cloud Payroll Costing Query

You are to write a program that computes customers bill for hisher.docx
 You are to write a program that computes customers bill for hisher.docx You are to write a program that computes customers bill for hisher.docx
You are to write a program that computes customers bill for hisher.docxajoy21
 
End to-end machine learning project for beginners
End to-end machine learning project for beginnersEnd to-end machine learning project for beginners
End to-end machine learning project for beginnersSharath Kumar
 
Is Low Cost Carrier Profitable -Ryan article - Issue No. 2
Is Low Cost Carrier Profitable -Ryan article - Issue No. 2Is Low Cost Carrier Profitable -Ryan article - Issue No. 2
Is Low Cost Carrier Profitable -Ryan article - Issue No. 2Mohammed Awad
 
https://uii.io/ref/hmaadi
https://uii.io/ref/hmaadihttps://uii.io/ref/hmaadi
https://uii.io/ref/hmaadihmaadi96
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidationAmit Sharma
 
Write a banking program that simulates the operation of your local ba.docx
 Write a banking program that simulates the operation of your local ba.docx Write a banking program that simulates the operation of your local ba.docx
Write a banking program that simulates the operation of your local ba.docxajoy21
 
Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxAKHIL969626
 
HS2021 Database Design and UseWeek 2 - 2020 Tutorial
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial        HS2021 Database Design and UseWeek 2 - 2020 Tutorial
HS2021 Database Design and UseWeek 2 - 2020 Tutorialtroutmanboris
 
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docxShiraPrater50
 
JAVA The file being read is called flightdatatxt please in.pdf
JAVA The file being read is called flightdatatxt please in.pdfJAVA The file being read is called flightdatatxt please in.pdf
JAVA The file being read is called flightdatatxt please in.pdfadinathassociates
 
Oracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto InvoiceOracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto InvoiceSekhar Byna
 

Ähnlich wie Oracle Fusion Cloud Payroll Costing Query (14)

Fx oracle - AS400
Fx oracle - AS400Fx oracle - AS400
Fx oracle - AS400
 
You are to write a program that computes customers bill for hisher.docx
 You are to write a program that computes customers bill for hisher.docx You are to write a program that computes customers bill for hisher.docx
You are to write a program that computes customers bill for hisher.docx
 
End to-end machine learning project for beginners
End to-end machine learning project for beginnersEnd to-end machine learning project for beginners
End to-end machine learning project for beginners
 
Is Low Cost Carrier Profitable -Ryan article - Issue No. 2
Is Low Cost Carrier Profitable -Ryan article - Issue No. 2Is Low Cost Carrier Profitable -Ryan article - Issue No. 2
Is Low Cost Carrier Profitable -Ryan article - Issue No. 2
 
https://uii.io/ref/hmaadi
https://uii.io/ref/hmaadihttps://uii.io/ref/hmaadi
https://uii.io/ref/hmaadi
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidation
 
Write a banking program that simulates the operation of your local ba.docx
 Write a banking program that simulates the operation of your local ba.docx Write a banking program that simulates the operation of your local ba.docx
Write a banking program that simulates the operation of your local ba.docx
 
FINAL-Review
FINAL-ReviewFINAL-Review
FINAL-Review
 
Flight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docxFlight Reservation SystemThe flight reservation system” proje.docx
Flight Reservation SystemThe flight reservation system” proje.docx
 
HS2021 Database Design and UseWeek 2 - 2020 Tutorial
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial        HS2021 Database Design and UseWeek 2 - 2020 Tutorial
HS2021 Database Design and UseWeek 2 - 2020 Tutorial
 
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx        HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
HS2021 Database Design and UseWeek 2 - 2020 Tutorial.docx
 
JAVA The file being read is called flightdatatxt please in.pdf
JAVA The file being read is called flightdatatxt please in.pdfJAVA The file being read is called flightdatatxt please in.pdf
JAVA The file being read is called flightdatatxt please in.pdf
 
Base tables for order to cash
Base tables for order to cashBase tables for order to cash
Base tables for order to cash
 
Oracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto InvoiceOracle APPS :Receivables Auto Invoice
Oracle APPS :Receivables Auto Invoice
 

Mehr von 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
 
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
 
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 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 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
 
Oracle EBS Apps HRMS Presentation
Oracle EBS Apps HRMS PresentationOracle EBS Apps HRMS Presentation
Oracle EBS Apps HRMS PresentationFeras Ahmad
 

Mehr von Feras Ahmad (16)

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
 
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
 
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 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 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
 
Oracle EBS Apps HRMS Presentation
Oracle EBS Apps HRMS PresentationOracle EBS Apps HRMS Presentation
Oracle EBS Apps HRMS Presentation
 

Kürzlich hochgeladen

UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsYoss Cohen
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...Karmanjay Verma
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Français Patch Tuesday - Avril
Français Patch Tuesday - AvrilFrançais Patch Tuesday - Avril
Français Patch Tuesday - AvrilIvanti
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfROWELL MARQUINA
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Karmanjay Verma
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Nikki Chapple
 

Kürzlich hochgeladen (20)

UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Infrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platformsInfrared simulation and processing on Nvidia platforms
Infrared simulation and processing on Nvidia platforms
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Français Patch Tuesday - Avril
Français Patch Tuesday - AvrilFrançais Patch Tuesday - Avril
Français Patch Tuesday - Avril
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
QMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdfQMMS Lesson 2 - Using MS Excel Formula.pdf
QMMS Lesson 2 - Using MS Excel Formula.pdf
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
 
How Tech Giants Cut Corners to Harvest Data for A.I.
How Tech Giants Cut Corners to Harvest Data for A.I.How Tech Giants Cut Corners to Harvest Data for A.I.
How Tech Giants Cut Corners to Harvest Data for A.I.
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
Microsoft 365 Copilot: How to boost your productivity with AI – Part two: Dat...
 

Oracle Fusion Cloud Payroll Costing Query

  • 1. with cost_info as ( select pelf.element_link_id, decode(caa.source_sub_type,'COST','Cost Account','BAL','Offset Account','Unknown-'||caa.source_sub_type) as acct_type, caa.segment1 as company, caa.segment2 as department, caa.segment3 as account, caa.segment4 as intercompany, caa.segment5 as future1, caa.segment6 as future2, caa.proportion from pay_cost_allocations_f ca, pay_cost_alloc_accounts caa, pay_element_links_f pelf where sysdate between CA.effective_start_date and CA.effective_end_date and ca.source_type ='EL' and CAA.cost_allocation_record_id = CA.cost_allocation_record_id and pelf.element_link_id = ca.source_id and sysdate between pelf.effective_start_date and pelf.effective_end_date ) select legislative_data_group, element_name, reporting_name, element_effective_start_date, element_effective_end_date, primary_classification, secondary_classification, element_eligibility, eligibility_start_date, eligibility_end_date, costing, costable_type, transfer_to_gl_flag, Costed_Input, COST_COMPANY, COST_DEPARTMENT, COST_ACCOUNT, COST_INTERCOMPANY, OFFSET_COMPANY, OFFSET_DEPARTMENT, OFFSET_ACCOUNT, OFFSET_INTERCOMPANY from ( select
  • 2. nvl(ldg.name,'None') as legislative_data_group, pet.element_name, pet.reporting_name, to_char(pet.effective_start_date,'MM/DD/YYYY') AS element_effective_start_date, to_char(pet.effective_end_date,'MM/DD/YYYY') AS element_effective_end_date, (select distinct class.classification_name from pay_ele_classifications_vl class where class.classification_id = pet.classification_id) as primary_classification, (select distinct class.classification_name from pay_ele_classifications_vl class where class.classification_id = pet.secondary_classification_id) as secondary_classification, pel.element_link_name as element_eligibility, to_char(pel.effective_start_date,'MM/DD/YYYY') as eligibility_start_date, to_char(pel.effective_end_date,'MM/DD/YYYY') as eligibility_end_date, nvl((select distinct nvl2(pci.costed_flag,'Yes','No') from pay_link_input_values_f pelv, PAY_COST_INFO_F pci where pci.source_id = pelv.link_input_value_id and pet.effective_start_date between pci.effective_start_date and pci.effective_end_date and pelv.element_link_id = pel.element_link_id and pet.effective_start_date between pelv.effective_start_date and pelv.effective_end_date and pci.source_type = 'LIV'), 'No') as costing, pivf.base_name Costed_Input, hr_general.decode_lookup ('PAY_COSTABLE_TYPE', pcif.costable_type) costable_type, pcif.transfer_to_gl_flag, COST.company COST_COMPANY, COST.department COST_DEPARTMENT, COST.account COST_ACCOUNT, COST.intercompany COST_INTERCOMPANY, OFFSET.company OFFSET_COMPANY, OFFSET.department OFFSET_DEPARTMENT, OFFSET.account OFFSET_ACCOUNT, OFFSET.intercompany OFFSET_INTERCOMPANY from pay_element_types_vl pet, per_legislative_data_groups_vl ldg, pay_element_links_f pel, pay_cost_info_f pcif, --pay_link_input_values_f pelv, pay_input_values_f pivf, (select * from cost_info where acct_type = 'Cost Account') COST, (select * from cost_info where acct_type = 'Offset Account') OFFSET, (select pelv.element_link_id, pelv.input_value_id from pay_link_input_values_f pelv, PAY_COST_INFO_F pci where pci.source_id = pelv.link_input_value_id
  • 3. and sysdate between pci.effective_start_date and pci.effective_end_date and sysdate between pelv.effective_start_date and pelv.effective_end_date and pci.source_type = 'LIV') Costed_Inputs where 1=1 and pet.legislative_data_group_id = ldg.legislative_data_group_id (+) and pcif.source_id(+) = pel.element_link_id and pcif.source_type(+) = 'EL' and COST.element_link_id(+) = pel.element_link_id and OFFSET.element_link_id(+) = pel.element_link_id and Costed_Inputs.element_link_id(+) = pel.element_link_id and pel.element_type_id (+) = pet.element_type_id and pet.effective_start_date between pcif.effective_start_date (+) and pcif.effective_end_date (+) and pet.effective_start_date between pel.effective_start_date (+) and pel.effective_end_date (+) and Costed_Inputs.input_value_id = pivf.input_value_id(+) and pet.effective_start_date between pivf.effective_start_date(+) and pivf.effective_end_date(+) ) where 1=1 and costing = 'Yes' --and legislative_data_group = 'US Legislative Data Group' and element_eligibility is not null order by element_name, element_eligibility