Wednesday 25 October 2017

Create Organization Hierarchy in Oracle HRMS using pl/sql

declare

l_hcy_org_structure_id number;
l_hcy_obj_ver_number number;
begin


     Per_Organization_Structure_Api.create_org_struct_and_def_ver
           (
             p_validate                           => FALSE
             , p_effective_date                     =>to_date('1-May-2017')
             , p_name                               => 'Test Hierarchy'
           , p_business_group_id            => 81
           , p_primary_structure_flag        => 'N'
           , p_position_control_structure_f     => 'N'
           , p_organization_structure_id             => l_hcy_org_structure_id
           , p_object_version_number                 => l_hcy_obj_ver_number
           );



end;

No comments:

Post a Comment