Skip to main content

All organization list including their parent organization in Oracle HRMS

We can find the organization list with parent list in Oracle HRMS

select a.organization_id,B.ORGANIZATION_ID_PARENT,C.NAME paret_org_name ,c.type parent_org_type,a.location_id,d.location_code, a.date_from,a.name,a.type
from HR.HR_ALL_ORGANIZATION_UNITS a ,
    PER_ORG_STRUCTURE_ELEMENTS b,
    HR.HR_ALL_ORGANIZATION_UNITS c,
    hr.HR_LOCATIONS_ALL d
where A.ORGANIZATION_ID=B.ORGANIZATION_ID_CHILD and C.ORGANIZATION_ID=B.ORGANIZATION_ID_PARENT and a.location_id=D.LOCATION_ID(+)
and a.internal_external_flag='INT' and a.date_to is null

Comments

Popular posts from this blog

How to get iRecruitment Vacancy details in Oracle HRMS before Vacancy is approved.

Generally details of Vacancies created in Oracle iRecruitment are store in ‘PER_ALL_VACANCIES’ table. But you cant see the vacancy details in ‘PER_ALL_VACANCIES’ table if the vacancy is NOT approved . Where does Vacancy details get stored  before Approval/Rejection As soon as vacancy is created the vacancy related data goes and resides in some temporary tables. This data is retained within the temporary tables until the vacancy is either Rejected or Approved. These temporary table names begin with name ‘HR_API%’. Not only vacancies but also other Self Service HRMS details are stored in temporary table before completion of it entire transaction, i.e either Approved or Rejected. Coming to iRecruitment vacancy, the data entered by the user is either just stored within one table HR_API_TRANSACTIONS or within HR_API_TRANSACTION_VALUES. The entire data entered by the user is captured in a CLOB column of HR_API_TRANSACTIONS. The data is captured into this CLOB Column be...

How to deploy Oracle Custom Application developed in OAF in Oracle Application Server

Step 1:Create your necessary Database Obejcts i.e.Tables,Views,Sequences,Synonims in Apps schema. i) CREATE TABLE apps.XXGP_JDMS_APP_TABLE (   JD_ID               VARCHAR2 ( 100 BYTE),   APP_USER_NAME       VARCHAR2 ( 100 BYTE),   APP_STATUS          VARCHAR2 ( 100 BYTE),   APP_LEVEL           NUMBER ,   APPROVER_COMMENTS   VARCHAR2 ( 1000 BYTE),   NOTIFICATION_ID     VARCHAR2 ( 100 BYTE),   CREATED_BY          NUMBER ,   CREATION_DATE       DATE ,   LAST_UPDATE_LOGIN   NUMBER ,   LAST_UPDATED_BY     NUMBER ,   LAST_UPDATE_DATE    DATE ) ii) DROP SEQUENCE APPS . GP_JDMS_TRX_SEQ ; CREATE SEQUEN...

Query for Employee's Time Card information retrieval

SELECT DISTINCT paaf.assignment_id, hshwf.date_worked,                          TO_CHAR (hshwf.date_worked, 'YYYY') YEAR,                          TO_CHAR (hshwf.date_worked, 'Month') MONTH,                          papf.employee_number,                          hshwf.time_in, hshwf.time_out, hshwf.hours,                          --petf.element_name,                          (select petf1.element_name                           from hr.pay_element_types_f petf1                     ...