Absences Restriction in Oracle Hrms R12.1.3

Hi Friends
Recently we have applied the latest patch R12.1.3 .. and i read some where that by in the oracle R12.1.3 we can restrict the absences.. and for the restriction in that version it is given seeded package HR_RESTRTICTED_PKG.
in this package i have passed my requirement but i am unable to restrict the absences according to the client requirement..
can anyone please help me out in this..
for your information i am keeping the package which i wrote for the restriction of absences..
CREATE OR REPLACE Package Body hr_absence_restricted as
/* $Header: peabrest.pkb 120.0.12010000.4 2010/03/18 10:25:49 ghshanka noship $ */
-- |----------------------< absences_restricted >--------------------------|
function absences_restricted(selected_person_id in varchar2,
          login_person_id in varchar2
          )return varchar2 is
l_respid number;
l_abs number;
l_return number;
begin
----     NULL;
/* Example code logic
     if to_number(selected_person_id) = 36003 then
          return '31044,31045';
     end if;
if to_number(selected_person_id) is not null
then
----     BEGIN
cursor res_cursor is select RESPONSIBILITY_ID
                              from FND_USER_RESP_GROUPS_DIRECT furg,
                                   per_all_assignments_f paaf,
                                   fnd_user fu
                              where selected_person_id = paaf.person_id
                              and paaf.person_id = fu.employee_id
                              and fu.user_id = furg.user_id
                              and trunc(sysdate) between paaf.effective_start_date and paaf.effective_end_date;
cursor c1 is select ABSENCE_ATTENDANCE_TYPE_ID
               from PER_ABSENCE_ATTENDANCE_TYPES
               where BUSINESS_GROUP_ID = 162 and ABSENCE_CATEGORY = 'WP';
     begin
               for j in res_cursor loop
               l_respid := RESPONSIBILITY_ID;
               if l_respid = 20536 then
               for i in c1 loop
          l_abs:=i.ABSENCE_ATTENDANCE_TYPE_ID;
               l_return := l_abs;
                    end loop;
               else
                    l_return := '-1';
end if;                    
          end loop;
     return l_return;
     else
     return '-1';
     end if;
     end;
end absences_restricted;
end hr_absence_restricted;
/

Hi,
Please see if (How To Restrict Absence Type LOV in Oracle Self-Service Human Resources [ID 1122674.1]) helps.
Thanks,
Hussein

Similar Messages

  • Payroll Run request not showing Payroll LOV in Oracle HRMS R12.0.6

    Dear All,
    We implemented Oracle HRMS R12.0.6 to one of our client. But we are facing an issue. We create a responsibility for our payroll user and assign modified menu and Glb Shrms Process and Reports request group to it. We set the profile options (HR:Business Group, HR:Security Profile and HR:User Type) on this responsibility. when we are going to run payroll from this responsibility then on Payroll Run request the LOV of Payroll parameter doesn't show values. Kindly, if any one can have idea related this then please update. Its very urgent..
    Thanx In Advance.
    Regards.

    i don't recall the details, but you have to add a hidden forms function to your menu, so that the concurrent inherits the settings of the caller, so that the LOV's of your concurrent behave.
    Look into the seeded responsibilities, and look for a hidden forms function like multiform or so.
    If it is this, then the issue has nothing to do with 12.0.6 , but is linked to the fact you build your custom menu from scratch.

  • Oracle HRMS R12 training from Oracle University

    Oracle HRMS R12 training from Oracle University
    iWare Logic provides “Oracle Apps Training” and Certification in Oracle HRMS R12 in association with Oracle University.
    Oracle HRMS Training and Certification topics
    R12 E-Business Suite Essentials for Implementers
    R12 Oracle HRMS Work Structures Fundamentals
    R12 Oracle HRMS People Management Fundamentals
    R12 Oracle HRMS iRecruitment Fundamentals
    R12 Oracle Payroll Fundamentals: Configuration (Global)
    R12 Oracle Payroll Fundamentals: Administration (Global)
    R12 Oracle Time and Labor Fundamentals
    R12 Oracle HRMS Self Service Fundamentals
    For details please check
    http://www.iwarelogic.com/training.htm
    for Special Offer on our Oracle Apps trainings please check
    http://www.iwarelogic.com/oracle_applications.htm
    Following are iWare Logic’s contact details,
    iWare Logic Technologies Pvt. Ltd.
    Aditi Samruddhi, Banner,
    Pune, 411045
    Maharashtra, INDIA
    Phone: 91 20 66321113
    Mobile: 91 9326515010
    Email: info at iWareLogic.com
    Website: http://www.iWareLogic.com
    http://www.oracle.com/global/in/education/maps/iware_logic_technologies.html
    Oracle Apps Training http://www.iwarelogic.com/training.htm

    Dear Mohsin,
    Before you acces the Diagrammer, a TCF SocketServer must be running, Please do contact your system Administrator to confirm the same..
    Regards
    Guru K

  • Checklists in Oracle HRMS R12

    Hi All,
    I'm Using Checklists in Oracle HRMS R12.
    When I am trying to create a life event reason(Total compensation-->general definitions-->additional setup)
    I'm not able to select the Person Changes and Related Person Changes tabs as they are being shown as disabled.
    Some one advice me on why those two tabs are disabled?
    I can see the life event reasons which means OAB is installed, I guess
    Any Suggestions?
    Thanks!!

    Hi,
    Oracle Advanced Benefits (OAB) must be installed in order to create a Life Event with Defined Person Changes. So a full install of OAB is a mandatory prerequisite to using Life Event Checklists.
    So Please check, and Install Oracle Advanced Benefits (OAB) in order to set up life events.
    This will resolve your issue.
    ArunachalamR

  • Personalize Absence Details in Oracle Apss R12

    Hi,
    I have some information in "Absence Details" in oracle Apps R12 such as Absence Status,Absence Category, Days, Hours...
    I want to add some details in absence details in "Leave of Absence" in oracle Apps R12 like total of days in this year, current number of absence in current month.
    I have tried to do it under Personalize Stack Layout, but i did not do it.
    How can i do this.

    I have finded the data base tables where i can find this information.

  • Job, Position, Grade setup in Oracle HRMS R12

    Hi All,
    I have created three Flexfield for Job, Position, Grade in HRMS R12. Then i created business group Test ABC Organization.
    The Job, Position and Grade Felexfield is working good using Work Structure. Now i want to add these Flexfield in Assignment window in of People.
    Please help me to find out this solution.
    Your help would highly appreciated
    Thanks.

    HI
    please seee this
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/per/iw04c06.htm
    http://docs.oracle.com/cd/E18727_01/doc.121/e13509/T2096T2100.htm
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/per/flexax.htm
    http://oracle.anilpassi.com/forms-personalization-in-oracle-hrms.html
    ;) AppsmAstI ;)
    Sharing Is Caring

  • Oracle HRMS R12 Organizarion and Position Diagrammer Problem

    Hi everyone,
    In my oracle r12 HRMS, I created the oragnization hierarchy and position hierarchy, when i open diagrammer to check the hierarchy tree, when i click on " open Editor" Button. i got struck on it and no diagrammer is displayed.. is there any settings to be made to see this diagrammer.
    please can any provide me the solution.
    Thank You..

    Dear Mohsin,
    Before you acces the Diagrammer, a TCF SocketServer must be running, Please do contact your system Administrator to confirm the same..
    Regards
    Guru K

  • Oracle Discover and Oracle HRMS R12

    Oracle discoverer have the ability to work with oracle R12 to get quick report, and how I can load my worksheet in oracle R12 any body can guide me, or have the tutorial regarding this topic
    Thanks in Advance

    Please see (How to Create a Link to a Discoverer Workbook in Apps R12 [ID 471303.1]).
    Thanks,
    Hussein

  • Define Head office in Oracle HRMS R12

    Hi,
    Please I need to know how to define the head office of a group the best way:
    I have a defined business group under which is already defined many companies. I need now to define the head office with its own employees.
    Please advice.
    Thanks

    As my understanding you have requirement to create organization wity Type "Head Office" In a Business Group.
    you can create a number of organization with Type Head Office in Business Group and there you can assign employees.
    Change or Include "Head Office" in ORG_TYPE lookups for your requirement.
    Thanks

  • Query for Cost Code in oracle HRMS

    Hello Exports,
    i am new in oacle hrms,
    So Can you please tell how to fetch cost code in oracle hrms r12 ( i need sql query for cost code )
    Thanks

    try the following (assignment costing as at today):
    select ppx.full_name
    ,ppx.employee_number
    ,pax.assignment_number
    ,pax.primary_flag
    ,pcax.proportion
    ,pcak.segment1
    ,pcak.segment2
    ,pcak.segment3
    ,pcak.segment4
    from per_assignments_x pax
    ,per_people_x ppx
    ,pay_cost_allocations_x pcax
    ,pay_cost_allocation_keyflex pcak
    where ppx.person_id = pax.person_id
    and pax.assignment_id = pcax.assignment_id
    and pcak.cost_allocation_keyflex_id = pcax.cost_allocation_keyflex_id

  • Element Entries and Absences in Oracle HRMS 11.5.7 FP.K

    Element Entries and Absences in Oracle HRMS 11.5.7 FP.K
    Does anybody know if there are any changes in FP.K regarding Creation of Element Entries and Absence Monitoring Window?
    I can see the record in ELEMENT ENTRIES for Annual Leave for days entitled
    (tables affected HR.pay_element_entries_f and HR.pay_element_entry_values_f)
    but in Absence Window the Remaining Balance is not changed. (from view PAY_VIEW_ACCRUAL_PLANS_V )
    If anyone has any idea of how this is handled it will be highly appreciated.
    Thanks & regards,
    Elena

    Sean
    I don't think you will find any one place for this documentation!
    Try some of the following:
    The 'product' is sometimes known as 'availability'. That may help MetaLink searches.
    The functionality was delivered in patch 4429140.
    That patch was then included in HR FP.K RUP1 and RUP2. Their redmes may contain soemthing about it.
    The ebst docuemntation I have found is in MetaLink note 414834.1 which in turn relates to a number of other notes.
    Hope this helps. If it doesn't, please come back as I may be able to find some presentatiosn I've given customers. I ahve also impelmented this a few times now and can probably help with further information.
    Regards
    Tim

  • Architectural difference in oracle HRMS 11i and r12

    Hi - does anyone have information on the architectural difference between 11i and r12 in oracle hrms??

    Hi 924227,
    There is not much difference between 11i and R12 with respect to architecture.
    Some D2k forms moved to OAF and mainly bug fixes and minor enhancements.
    You can find all the details in the below note -
    Oracle E-Business Suite HRMS / HCM Information Center [ID 1099813.1]
    In Fusion, there will be many changes as a lot of things are incorporated from Pplsoft.
    Cheers,
    VB

  • Can we have Oracle HRMS Payroll in Fusion and Core HR in R12?

    Hi,
    Currently we are using Oracle R12.1.3 for Oracle HRMS and Oracle Financials. We are planning to implement Oracle Compensation and Payroll Modules in the near future. We are in dilemma whether to go with Oracle fusion or not for these specific modules.
    We know HCM Coexistence enables us to integrate existing Oracle HR Applications with a hosted Oracle Fusion Compensation implementation. But we are nor sure about the payroll module. We need your valuable advises in proceeding with the payroll module implementation.
    1. Is it possible/certified to have payroll and comp module on fusion and remaining all in R12?
    2. (or) Is it good to implement payroll in R12 for now and move it to fusion in later period of time?
    Please let us know your valuable inputs. Thanks in advance.
    Regards,
    Lakshmi

    I got the answer from oracle for the above question.
    It seems Oracle support only outbound interfaces from Fusion Payroll. They do not have inbound payroll interface capabilities or a payroll back feed. We would need to configure Fusion HCM along with all the prerequisite work structures, set the appropriate Payroll license, configure the Fusion Payroll country extension and implement Fusion Coexistence for HCM to maintain the data between EBS and Fusion.
    It means Oracle support Fusion Payroll only when we have the Core HR setup in fusion. It answers my question.
    Thank You,
    Lakshmi

  • Period Closing in Oracle HRMS

    Good day,
    I just would like to inquire if there is a period closing functionality in Oracle HRMS as well (similar to that of the other Oracle applications, Oracle AP)? Is there a way I can limit users from creating entries (say, absence entries) from the previous periods? Kindly advise. Thank you so much in advance.
    Best Regards,
    Jeanette Bago

    Hi Subhasish,
    Will this also restrict users from creating absence entries and making changes to records (people, assignment, salary) with dates effective during the closed periods? Or this setup will only apply to transactions processed within the payroll module. Thanks in advance.
    Best Regards,
    Jeanette Bago

  • Oracle HRMS 11.5.10.2 Custom Alert on Leave

    Hi there
    I have to create a Custom Alert in Oracle HRMS on Specefic Leaves.
    What Step need to be followed?
    """******Process Detai****l""""""
    • Oracle Custom Alert should be created. Which will fire each time when the leave APPROVED in OTL by the authorized person.
    • Email should be sent to the specefic group of people.
    """************l""""""
    Any help Appritiated.
    Thanks
    Discoverer

    Oracle EBS(11i and r12) does not provide you any web services.
    Most of the code is in Pl/sql or C.
    The next version of applications Fusion apps would have readily available web services which can be used to integrate with 3rd party solutions.
    For now, you will either have to write your own Webservices(wrapper on top of Pl/sql APIs) or somehow connect to the EBS database.
    There would be seeded pl/sql APIs/functions for most of the absences stuff.
    Cheers,
    Vignesh

Maybe you are looking for

  • CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.

    Hi, i'm using this in an report. SET PARAMETER ID 'BES' FIELD WA_ITAB-EBELN. SET PARAMETER ID 'BSP' FIELD WA_ITAB-EBELP. CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN. It works OK. Is there any parameter ID to go in a sprecial part of an PO, for exa

  • Dock needs a lot of memory?

    Couldn't resist showing a screen dump of memory allocations for Dock: http://netserv.se/netserv/dock.png It's swedish, but third line is "shared memory size" -- 16777216 TB -- that's pretty much on a PowerBook 12" !

  • Import Trading Partners from XML only

    We have a need to import 300+ trading partners into our development system. After imported we will export to our test and production system using the B2B application. Our idea for the initial import is to use the parnert.xml but when we execute the i

  • Executing sqlplus in windows batch file - URGENT

    Hi Is it possible to run sqlplus.exe thru batch file as follows. set PATH=%PATH%;C:\oracle\product\10.2.0\client_1\BIN; host sqlplus userid=test1/test12@testdev sELECT * FROM CASESTATUS Thanks murali

  • Comptability Issue with IE8.0 in SRM 4.0

    Hi All, Some of my SRM users are facing issue with IE 8.0. I understood that IE 8.0 is not a compatible version for SRM 4.0 But just of checking, if you guys have faced this issue and fixed it. This issue could be related to IE - Java - SRM. In shop