DBA Data[Home] [Help]

APPS.PAY_KR_BEE_UPLOAD SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 88

   select effective_date
   from   fnd_sessions
   where  session_id = userenv('sessionid');
Line: 93

   select legislation_code
   from   per_business_groups
   where  business_group_id = p_bus_group_id;
Line: 98

   select range_or_match, user_table_id
   from   pay_user_tables
   where  upper(user_table_name) = upper(p_table_name)
   and    nvl (business_group_id,
               p_bus_group_id)   = p_bus_group_id
   and    nvl(legislation_code, l_leg_code) = l_leg_code;
Line: 106

   select  decode(upper(p_low_high_range),'H',R.row_high_range,R.row_low_range_or_name)
   from    pay_user_column_instances_f        CINST
   ,       pay_user_columns                   C
   ,       pay_user_rows_f                    R
   ,       pay_user_tables                    TAB
   where   TAB.user_table_id                = l_table_id
   and     C.user_table_id                  = TAB.user_table_id
   and     nvl (C.business_group_id,
                p_bus_group_id)             = p_bus_group_id
   and     nvl (C.legislation_code,
                l_leg_code)                 = l_leg_code
   and     upper (C.user_column_name)       = upper (p_col_name)
   and     CINST.user_column_id             = C.user_column_id
   and     R.user_table_id                  = TAB.user_table_id
   and     l_effective_date           between R.effective_start_date
   and     R.effective_end_date
   and     nvl (R.business_group_id,
                p_bus_group_id)             = p_bus_group_id
   and     nvl (R.legislation_code,
                l_leg_code)                 = l_leg_code
   and     fnd_number.canonical_to_number (CINST.value) =
                fnd_number.canonical_to_number (p_table_value)
   and     TAB.user_key_units               = 'N'
   and     CINST.user_row_id                = R.user_row_id
   and     l_effective_date           between CINST.effective_start_date
   and     CINST.effective_end_date
   and     nvl (CINST.business_group_id,
                p_bus_group_id)             = p_bus_group_id
   and     nvl (CINST.legislation_code,
                l_leg_code)                 = l_leg_code;
Line: 228

         SELECT legislation_code
           FROM per_business_groups
          WHERE business_group_id = v_bg_id;
Line: 1083

      c_update_action_if_exists        CONSTANT VARCHAR2 (1)    := 'U'; --Update existing element entry
Line: 1084

      c_default_dt_effective_changes   CONSTANT VARCHAR2 (1)    := 'U'; --Update/Change Insert
Line: 1113

      IF (p_action_if_exists = c_update_action_if_exists)
      THEN
         IF (p_date_effective_changes IS NULL)
         THEN -- Default p_date_effective_changes
            l_date_effective_changes := c_default_dt_effective_changes;
Line: 1585

         SELECT paa.assignment_number,
                pos.date_start,
                pos.final_process_date
           FROM per_assignments_f          paa,
                per_periods_of_service     pos
          WHERE paa.assignment_id         = v_assg_id
            AND paa.period_of_service_id  = pos.period_of_service_id
            AND v_effective_date BETWEEN paa.effective_start_date
                                     AND paa.effective_end_date;
Line: 1603

         SELECT paa.assignment_number,
                paa.assignment_id,
                pos.date_start,
                pos.final_process_date
           FROM per_assignments_f            paa,
                per_periods_of_service       pos
          WHERE paa.person_id            = v_person_id
            AND paa.period_of_service_id = pos.period_of_service_id
            AND v_effective_date BETWEEN paa.effective_start_date
                                     AND paa.effective_end_date
            AND paa.business_group_id    = v_bg_id
            AND paa.primary_flag         = 'Y';
Line: 1622

         SELECT paa.assignment_number,
                paa.assignment_id,
                pos.date_start,
                pos.final_process_date
           FROM per_assignments_f paa,
                per_people_f      pap,
                per_periods_of_service pos
          WHERE pap.employee_number      = v_empl_nr
            AND pap.person_id            = paa.person_id
            AND paa.period_of_service_id = pos.period_of_service_id
            AND v_effective_date BETWEEN paa.effective_start_date
                                     AND paa.effective_end_date
            AND v_effective_date BETWEEN pap.effective_start_date
                                     AND pap.effective_end_date
            AND paa.business_group_id    = v_bg_id
            AND paa.primary_flag         = 'Y';
Line: 1645

         SELECT paa.assignment_number,
                paa.assignment_id,
                pos.date_start,
                pos.final_process_date
           FROM per_assignments_f paa,
                per_people_f pap,
                per_periods_of_service pos
          WHERE pap.national_identifier    = v_ni_nr
            AND pap.person_id              = paa.person_id
            AND paa.period_of_service_id   = pos.period_of_service_id
            AND v_effective_date BETWEEN paa.effective_start_date
                                     AND paa.effective_end_date
            AND v_effective_date BETWEEN pap.effective_start_date
                                     AND pap.effective_end_date
            AND paa.business_group_id      = v_bg_id
            AND paa.primary_flag           = 'Y';
Line: 1771

         SELECT pet.element_name,
                pet.element_type_id
           FROM pay_element_types_f pet
          WHERE pet.element_type_id       = v_el_type_id
            AND UPPER (pet.element_name)  = UPPER (v_el_name)
            AND pet.legislation_code      = v_leg_cd
            AND pet.business_group_id     IS NULL;
Line: 1784

         SELECT pet.element_name,
                pet.element_type_id
           FROM pay_element_types_f pet
          WHERE pet.element_type_id   = v_el_type_id
            AND pet.legislation_code  = v_leg_cd
            AND pet.business_group_id IS NULL;
Line: 1793

         SELECT pet.element_name,
                pet.element_type_id
           FROM pay_element_types_f pet
          WHERE UPPER(pet.element_name) = UPPER(v_el_name)
            AND pet.legislation_code    = v_leg_cd
            AND pet.business_group_id   IS NULL;