HRMS Oracle EBS absence request

Hello

I'm trying to recover the history of the absence of a specific person (approved, pending, rejected, go back to the Correction).

I am just new on EBS and PL/SQL. I found on the net some useful sql queries but I understand fully sense.

The following query is to find the approved absence:

SELECT pat. name        absence_type

       AAP . date_start leave_start_date

       AAP . date_end    leave_end_date,

       AAP . absence_days ,

       AAP . abs_information_category ,

       AAP . abs_information2 ,

       AAP . abs_information3 ,

       AAP . abs_information4

DE per_absence_attendances AAP

per_absence_attendance_types pat

per_all_people_f women's wear

  paa. absence_attendance_type_id = pat. absence_attendance_type_id

       AND papf. person_id = paa. person_id

       AND Trunc (paa. date_start ) BETWEEN Trunc (papf. effective_start_date ) AND

                                          Trunc (papf. effective_end_date )

-I removed the following section

/ * AND TRUNC (p_date) BETWEEN TRUNC (paa.date_start)
AND TRUNC (NVL (paa.date_end,
PAA.date_start
)
)
*/

       AND papf. person_id = :p_person_id;

Correct me if I'm wrong, what I understand of this application is that if absence start date is between the effective date of the employee in the per_all_people_f table his request for a leave of absence is approved? And there is no aspect of the supervisor and posting here?

The ongoing absence request, to query the tables:


HR_API_TRANSACTIONS

HR_API_TRANSACTION_STEPS

HR_API_TRANSACTION_VALUES

and hr_api_transactions.status = 'Y '.

The other found State:

'IR' = return of correction

'E' = error

but that means 'W' and had "?"

And how do I get the absence rejected by the contractor?


HR_API tables, I understand that self-service is used.

When you create the request on self-service, happening in HR_API TABLES, and a WF is launched for the approval process.

Once the WF is lance, the api.status has the value 'W' on hr_api_transactions, and a part of the WF and the keys are saved. If approved, the information used to create a record in per_absence_attendances.

Now, to your questions:

Correct me if I'm wrong, what I understand of this application is that if absence start date is between the effective date of the employee in the per_all_people_f table his request for a leave of absence is approved? And there is no aspect of the supervisor and posting here?

If there is a record in the table of absences, it is approved. The range of date condition is to identify the person's record at the date of the absence. Assignment information is stored on per_all_assignments_f, where the controller id is stored.

The ongoing absence request, to query the tables:

HR_API_TRANSACTIONS

HR_API_TRANSACTION_STEPS

HR_API_TRANSACTION_VALUES

and hr_api_transactions.status = 'Y '.

The other found State:

'IR' = return of correction

'E' = error

but that means 'W' and had "?"

And how do I get the absence rejected by the contractor?

I use the following to identify in the absence of process applications (somehow the editor added some formatting of table):

AND api.status NOT IN (A ',' E ',' CA ')
(hr_absutil_ss.getabsencetype(api.transaction_id,) IS NULL AND not api .status = 'W')

the other statutes are transient, in my opinion, and you should not worry about their.

The rejection, the API tables information is deleted, if you want to dig into it, I think that you might want to then rely on workflow tables, if he is not already served.

Note: If you are looking for a complete story you must also consider item post absence balances (again, the formatting is a failure):

-Select / * + leading (AAP) * / nvl (fnd_number.canonical_to_number (pev.screen_entry_value), 0),
Select nvl (fnd_number.canonical_to_number (pev.screen_entry_value), 0),- bug 7579341, tip removed
PEV.effective_start_date,
PEV.effective_end_date
of pay_element_entry_values_f EPI,.
pay_element_entries_f wee,
per_all_assignments_f AAP,
per_absence_attendance_types abt
where pev.element_entry_id = pee.element_entry_id
and pev.input_value_id = abt.input_value_id
and pee.assignment_id = paa.assignment_id
and paa.person_id = p_person_id
and abt.absence_attendance_type_id = p_absence_attendance_type_id
- and pee.creator_type <> 'A' - Bug 4422696
and pee.creator_type No in('A','EE','NR','PR','R','RR') - Bug 4422696
and pee.element_type_id =
(select pet.element_type_id
of animal pay_element_types_f.
pay_input_values_f piv
where abt.input_value_id = piv.input_value_id
and piv.element_type_id = pet.element_type_id
and p_date_to between piv.effective_start_date
and piv.effective_end_date
and p_date_to between pet.effective_start_date
and pet.effective_end_date)
and p_date_to between paa.effective_start_date
and paa.effective_end_date
and paa.primary_flag = 'Y '.
and pee.effective_start_date<= p_date_to="" ;="">

Tags: Oracle Applications

Similar Questions

  • Absence pending query Oracle EBS 12

    Hello

    I started to retrieve the data waiting for applications for leave from Oracle EBS R12.2.


    I was able to read information such as the absence_type, absence_category, approval_status, start_date, end_date, absence_hours, absence_days, absence_status, with the help of hr_absutil_ss and hr_api_transactions, tables hr_api_transaction_steps.

    But I'm looking for the following data reason start_time, end_time, replaced_by and comments.

    I have not found the data in the table HR_API_TRANSACTION_VALUES .

    Thank you in advance.

    Hello

    Start_time, end_time, reason, replaced_by information and comments. will be available in the hr_api_transactions table in the column transaction_document which is a CLOB field containing data XML.


    You can use the query for this information below.

    SELECT

    hr_absutil_ss.getAbsenceStatus (Hat.transaction_id, null) AbsenceStatus

    hr_absutil_ss.getabsencetype (hat.transaction_id, null) AbsenceType

    hr_absutil_ss.getAbsenceCategory (hat.transaction_id, null) Absencecategory

    flv.description AS AbsenceReason

    , to_char (hr_absutil_ss.getStartDate (hat.transaction_id, null), 'DD-MON-YYYY') StartDate

    , to_char (hr_absutil_ss.getEndDate (hat.transaction_id, null), 'DD-MON-YYYY') Enddate

    hr_absutil_ss.getAbsenceDaysDuration (hat.transaction_id, null) days

    ExtractValue (VALUE (xx_row), ' / PerAbsenceAttendancesEORow/AbsAttendanceReasonId ") ReplacedBy

    ExtractValue (VALUE (xx_row), ' / PerAbsenceAttendancesEORow/comments ") AS comments

    Of

    Hat hr_api_transactions

    hr_api_transaction_steps hats

    ,TABLE (xmlsequence (excerpt (xmlparse (document transaction_document correct), )))

    Xx_row ' / transaction/TransCache/AM/TXN/EO/PerAbsenceAttendancesEORow ")))

    MP

  • Oracle EBS notification workflow

    I have a very strange problem with the workflow notification Oracle EBS. All users receive workflow notifications in their email (associated with the management of absences, irecruitment and other self service related applications). I have observed that these notifications will only over e-mail intended for surveillance roles. I created some roles of SSHRC-based position but any notification sent to any role based position does not have to mail the user, but only in the universal inbox. Then any notification RFP/op is not also going to e-mail. I tested all my configurations and since users receive notification of SSHRC which means there is no problem with e-mail or behavior of mail server configurations. Can any body guide me as what to do or how to solve this?

    Kind regards

    Ubaid-ur Rehman

    See if these MOS Docs are relevant

    Doc 1116718.1

    Doc 1107017.1

    Doc 339718.1

  • Double authentication with Oracle EBS at the APEX problem

    Hello

    I am currently working on a project to integrate with Oracle EBS 12.1.3 4.2.4 APEX. We have completed the recommended white paper Oracle configuration.  I joined at the request of the APEX of a responsibility of BSE, when I click on the page of the APEX of the EBS, it navigates me to the login page of the APEX, and after I entered my credentials is to show the "No data found" error on the page. Then when I click the OK button again once he navigates me to the login page of the APEX and is validate my login information, allowing me to enter the APEX successfullly.

    It's really us boring for double login controls. Appreciate your help with this problem as soon as possible.

    Deployment environment

    ===============

    Database: Oracle 11g (11.2.0.2)

    Version APEX: APEX 4.2.4

    Oracle EBS Version: R12.1.3

    Application servers: Apache TomCat 7.0.56 (for APEX), Oracle HTTP Server (EBS)

    Web listening port: Oracle REST Data Services (2.0.6)

    Authentication: Custom authentication (login page validates users EBS)

    Thank you

    Sudhakar

    It seems that the constructed URL is not allowed. We EBS do not build a valid string. You can see where he puts "CallFromForm" and then adds "& p =...". "URL.

    The white paper mentions a required patch, you need else to resolve this problem.

    Use the gateway FND. If you do not need to pass parameters through your form to Apex, Oracle now provides a GWY.jsp which allows you to launch the Apex. Install the patches of R12 12316083 and 12726556. Then use the GWY.jsp based on your shape as described in the white paper "Extending Oracle E-Business Suite Release 12 using Oracle Application Express".

    Patch 12316083 is mentioned in the white paper, you are missing the 12726556.

    Description

    This bug solves the problem of pitcher APEX, at the launch of a whole page of APEX

    Oracle E - Business Suite forms according to the user interface. An additional url

    parameter 'CallFromForm' used to be added to the URL of the APEX, which was originally

    APEX page to fail.

  • Citing the Oracle EBS SOA, Webservice, Got ' 500 Internal Server Error"

    Hope someone know solution to our problem, thanks in advance.

    Version: Oracle eBusiness Suite R12.1.3

    We have a webservice SOA custom in Oracle EBS, test this webservice with SoapUI.

    Found a strange problem,

    If the number of records to return isn't too many (3000 eg.less), then Web service may return records with success;

    But if the number of records to return is too many (eg.more than 6000 records), then Web service returns a "500 Internal Server Error".

    = Detailed beginning of Msg error =.

    <! DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0 / / BY" > ".
    < HTML > < HEAD >
    Server error internal 500 < TITLE > < /title >
    < / HEAD > < BODY >
    Internal error in the server < H1 > < / H1 >
    The server encountered an internal error or
    a misconfiguration and was unable to complete
    your query. < P >
    Please contact the server administrator,
    [email protected] and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error. < P >
    More information about this error may be available
    in the server error log. < P >
    < BODY / > < / HTML >

    = Detailed error Msg end =.

    Thanks Hussein, I understand the problem, to share my solution here

    ---------------------------------

    Cause

    The problem is due to a requested webservice SOAP is too large, then cause the timeout of the Apache HTTP server.

    Solution

    Increase the timeout setting in the ($INST_TOP/ora/10.1.3/Apache/Apache/conf/httpd.conf) Apache config file

    Then restart the HTTP server, check again the issue.

    Thank you

    Paul

  • Oracle ebs multiple simultaneous, locks, the user cannot connect to app.

    We known aircraft crash yesterday afternoon, Oracle EBS app users cannot connect in the app. We noted the very strong 70 to 90% charge in the Grid control and several blocks, a work of rman always running and a job of running stats. However looks after killing an app report dbms_scheduler job, we have solved the problem.

    But this morning, we see still cpu load on the grid of control operations and 70% all huge red and simultaneous locks.

    I like all the gurus here help me to start how to diagnose in Oracle ebs.


    I would like to start from beginning.

    As the links I can read what you have to look inside the database? on the hosts?


    Thanks to a bouquet.

    Among the names of objects, looks like this is a custom query that is managed by a custom concurrent request, if you need to know that you and tune the code.

    Thank you

    Hussein

  • Hardware and software configuration for Oracle EBS implementation

    Hello

    I'm new on implementations in Oracle.

    We must implement Oracle EBS with modules AR, AP, GL, INV, purchases, HRMS, payroll, and discoverer.
    There will be * users * of 50 to 100 using this system.
    We would create two instances(PROD and TEST).

    I saw tasked to obtain the following information: -.
    (* 1) procure.* servers
    (* 2) amount of RAM required.*
    (* 3) disk space required.*
    (* 4) CPU cores *.
    (* 5) best Option for OS.*

    Please can someone help.

    Thanks in advance

    PL see many previous discussions on this topic

    https://forums.Oracle.com/forums/search.jspa?threadID=&q=hardware+and+sizing&objid=C3&DateRange=all&userid=&NumResults=15

    Most major hardware vendors (Oracle/Sun, HP, IBM, etc.) provide a free service where they can size the material of your entries and your requirements

    HTH
    Srini

  • Split Oracle EBS 11i &amp; R12

    Hello

    We're currently on Oracle EBS 11.5.10.2 Financials and HRMS but we are studying the impact of fair value to R12 HRMS and holding financial data on 11i. Has anyone already done this? Is there a documentation of oracle on this operation?

    Thank you
    Roald

    Hi Roal;

    We're currently on Oracle EBS 11.5.10.2 Financials and HRMS but we are studying the impact of fair value to R12 HRMS and holding financial data on 11i. Has anyone already done this? Is there a documentation of oracle on this operation?

    As far as I KNOW answer is no,

    No reason for this process? Why you want to keep your data financial level 11?

    Thanks for the response, at this stage of the upgrade of LATE is not an option. Will we have to make a clean install of R12 for HRMS, 11i HRMS data migration and leave the current 11i for the END? My biggest concern is the trust hierarchy, transfers of payroll to the GL and budgets - there will probably be to write integration between the two

    You can continue to work with oracle finacials and keep working with MFC, but if it has integrated setup that you can develop a custom code for it

    Its best to both for r11 r12

    For your question, its better to take the answer from the support of oracle

    Respect of
    HELIOS

  • How to determine the level of Group of patches for the database Oracle EBS Server?

    Dear
    How findout patches for the database server Oracle EBS group level i.e. 10.2.0.3?

    Concerning

    Dear Suzy,

    I was looking for a patch of database being upgraded. After the database owner (enviroment) to supply file, I used the following command from $ORACLE_RDBMS_HOME/OPatch directory, command like $ OPatch lsinventory, he listed all the patches and updated patch also.

    'OPatch lsinventory' must list all patches applied to $RDBMS_ORACLE_HOME. For the level of database of the Group of hotfixes, you can use one of the instructions above to get the version. In addition, you can check to the BONE by running executable files (i.e. sqlplus, impdb... etc).

    And on request, I used-> -use $AD_TOP/sql/adutconf.sql , it is perfectly correct.

    Ok.

    But I can't go through of OAM,-diagnostics of Applications using, you can guide me. When I select plan of the site-diagnosis & repair - run diagnostic tests, it error. Say year error has occurred!
    Please note: you don't have sufficient privileges to perform this function.

    OAM and Diagnostics Applications are two different things.

    Diagnostics of applications can be run from "Oracle Diagnostic Tool".

    Note: 358831,1 - E-Business Suite Diagnostics run Instructions
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=358831.1

    Note: 167000.1 - Installation Guide for E-Business Suite Diagnostics
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=167000.1

    For the Group of hotfixes in OAM, follow the steps described in the following note:

    Note: 550654.1 - how to get patches Oracle Applications products in R12 group level
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=550654.1

    Kind regards
    Hussein

  • How to get my version of Oracle EBS (Linux)

    Hello

    do you know how to get the version of Oracle EBS (Linux)?

    Thank you!

    OK, now I'm confused...

    cat/etc/redhat-release for the linux version.

    httpd-version to the version of Apache.

    For the version of the application, you can get that from the database. You can get help or request fnd_product_groups-> on the page.

    [If you want the version of the framework: http://[host]. [domain]:[portnumber]/OA_HTML/OAInfo.jsp

    Edited by: Bobcatalog 2 December 2008 13:00

  • Oracle EBS financial novice.

    All,
    I am new to Oracle EBS and would be interested to learn more as where to start a career in finance." Are there books or software that I could start with? other recommendations...? Enjoy all directions... in this. SyMON.

    I think that the best way to learn is to have your own Vision demo instance and start reading Oracle documentation. In addition, Oracle and Metalink articles are also good source of information.

    Applications releases 11i and 12
    http://www.Oracle.com/technology/documentation/applications.html

    Applications Blogs - Oracle Corporation
    http://www.Oracle.com/blogs/applications.html

    If you can afford to attend training at Oracle University courses, go ahead because I think it's worth. Oracle University offers courses that are tailored to work roles you can see at a glance the courses that are recommended for a specific role. Each path indicates a sequence of courses that provide the knowledge and skills necessary for expertise on the job.

    [applications for Oracle E-Business Suite Financials 11i - curriculum | http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getlppage?page_id=212&path=ESFA]

    [Requests for R12 Oracle E-Business Suite Financials - curriculum | http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getlppage?page_id=212&path=EBFN]

    There are a lot of references that should be helpful. See the following links for more details:

    [Oracle E-Business Suite Financials Handbook | http://www.amazon.co.uk/Oracle-E-Business-Suite-Financials-Handbook/dp/0072132302]

    [Oracle E-Business Suite 11i: implementation of Applications Core financial | http://www.amazon.co.uk/Oracle-E-Business-Suite-11i-Implementing/dp/0471412058]

  • application background Oracle EBS/Apps adapter

    version: 12.1.3 (12 c)

    I am using Oracle EBS adapter to call the api of PL/SQL (PO_CHANGE_API1_S.UPDATE_PO) through integration rep.  I referred to the documentation for your card for Oracle Applications Concepts .  I have configured the following properties

    • jca.apps.Username
    • jca.apps.Responsibility
    • jca.apps.ORG_ID
    • jca.apps.RespApplication
    • jca.apps.SecurityGroup

    However, the appeal of the PLSQL API, get the error as

    < UPDATE_PO > 0 < / UPDATE_PO >

    -< X_API_ERRORS >

    -< MESSAGE_NAME >

    < MESSAGE_NAME_ITEM >PO_INVALID_DOC_IDS< / MESSAGE_NAME_ITEM >

    < / MESSAGE_NAME >

    -< MESSAGE_TEXT >

    < MESSAGE_TEXT_ITEM > your ID [Doc Id = & annual] document is invalid or not found. < / MESSAGE_TEXT_ITEM >

    < / MESSAGE_TEXT >

    -< table_name >

    < MESSAGE_NAME_ITEM > PO_HEADERS < / MESSAGE_NAME_ITEM >

    < / TABLE_NAME >

    -< nom_de_colonne >

    < MESSAGE_NAME_ITEM > PO_HEADER_ID < / MESSAGE_NAME_ITEM >

    < / nom_de_colonne >

    -< ENTITY_TYPE >

    < MESSAGE_NAME_ITEM xsi: Nil = "true" / >

    < / ENTITY_TYPE >

    -< ENTITY_ID >

    < ENTITY_ID_ITEM xsi: Nil = "true" / >

    < / ENTITY_ID >

    -< PROCESSING_DATE >

    < PROCESSING_DATE_ITEM > 2016-02-08T 19: 52:06.000 + 05:30 < / PROCESSING_DATE_ITEM >

    < / PROCESSING_DATE >

    -< MESSAGE_TYPE >

    < MESSAGE_TYPE_ITEM xsi: Nil = "true" / >

    < / MESSAGE_TYPE >

    < / X_API_ERRORS >

    Am I missing something here?

    Rgds

    Sen

    I resolved to myself. To restart the server solved the problem.

  • Oracle EBS 12.1.3 last CPP

    Hi, when Oracle plans to publish RPC5. Anyone has idea about it. We intend to apply the last RPC to our Oracle EBS 12.1.3, so for now RPC4's last straight. Please confirm.

    One is applied RPC4 part of their patch updates? If Yes can you give us the issues or bugs. While it will be very useful plan our activities. Thank you.

    There is no date is provided for when a new RPC can be released. As you noted, Oracle E-Business Suite Release 12.1.3 + Recommended Patch Collection 4 [RPC4] has been released via Patch 21236633and is currently the latest EBS CPP, released October 21, 2015.

  • Oracle EBS RUPs vs upgrades

    Can Hello Experts - anyone provide your experience with Oracle EBS ORS and upgrades?

    Our current Version of EBS is 12.1.3.

    We are 2.5 YEARS behind all the ORS. We are weather to think of the upgrade or just Rollup... Pls suggest

    Thank you

    Sandy

    Hello

    Applying the RUP is easier than to do an upgrade.

    Oracle EBS 12.1.3 will be supported for a few years (Dec 2016 for assistance first and December 2019 for the support extended).

    If you wish to enjoy some of the new features in 12.2 then you can do the upgrade.

    Kind regards

    Bashar

  • You want to refresh messge - Oracle EBS

    Hi friends,

    Kindly help me on this. I want to level header to level changes line cascading. Forms of Oracle EBS R12.

    RDBMS: 11.2.0.3.0

    Oracle Applications: 12.1.3

    I did the code changes. But the changes are not thinking at the level of the line. during the review of the code - someone who suggests.

    make a pop as

    You want to update the records?

    YES NO

    If you click Yes - reports should update.

    can someone help me how to do such a pop up and clicking Yes-how do to refresh.

    Let me know if you have any questions.

    Thank you...

    For this error, I think that go_block is not allowed on your action.

    First of all you check your code - go one block then try to execute the query

    you need to debug your code

Maybe you are looking for

  • Wrap the text in the tables?

    Is there a way to wrap the text in a table? Specifically the column headings. If I have a header like input voltage, I love to wrap as in Excel Entry Voltage If the column width does not need to be set just to read the headers

  • Help to change the code on the Admin, when you don't have the code.

    MY WIFE LEFT FOR ANOTHER MAN, OUR ONLY PC THAT I BOUGHT AND HAVE STILL IT WAS PUT AS AN ADMINISTRATOR AND IT DON'T ME NOT GIVE THE CODE, I CAN'T USE IT FOR MORE THAN THE BASIC FUNCTIONS. CHILDREN AND I WOULD LIKE TO USE WISELY IS THERE WAY ROUND THIS

  • Windows media player 11 for vista show Visual effects.

    I was watching some movies on media player, when suddenly, the visuals wouldn't show. I have tryd each video and it would not show Visual, audio only. Any help?

  • AS3 / AIR - BB10 problem: TextInput, counting and Format

    Hello world I hope that I have forget something small and appreciate any help sincerely. Short version of the problem: When I add a skin to a TextInput object, assign a skin, I can't change the color of text.  If I remove the skin, it works.  And the

  • Two sliders in the custom field definition

    Hi guys,. First of all, I want to thank all those who helped me to this day. This forum has been essential for blackberry dev work I do, and I would be screwed without you guys. That being said, I'm having a problem. I install a custom like this text