DBA Data[Home] [Help]

APPS.PAY_BATCH_ELEMENT_ENTRY_API SQL Statements

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

Line: 19

      select bth.business_group_id
        from pay_batch_headers bth
       where bth.batch_id = p_batch_id
       union all
      select bth.business_group_id
        from pay_batch_headers bth,
             pay_batch_lines btl
       where bth.batch_id = btl.batch_id
         and btl.batch_line_id = p_batch_line_id;
Line: 64

       select HL.lookup_code
         from hr_lookups HL
        where HL.lookup_type = p_lookup_type
          and HL.meaning     = p_meaning;
Line: 148

       select inv.uom,inv.lookup_type,inv.value_set_id
       from   pay_input_values_f  inv
       where  inv.element_type_id   = p_ele_type_id
       and    p_eff_date between inv.effective_start_date
                         and     inv.effective_end_date
       order by inv.display_sequence
       ,        inv.name;
Line: 175

       select pet.element_type_id,pet.input_currency_code
         from pay_element_types_f pet
        where p_ele_id is null
          and upper(pet.element_name) = upper(p_ele_name)
          and p_eff_date between pet.effective_start_date
                         and     pet.effective_end_date
          and (pet.business_group_id = p_bus_group_id
                 or (pet.business_group_id is null
                     and pet.legislation_code = p_leg_code)
                 or (pet.business_group_id is null
                     and pet.legislation_code is null))
       union all
       select pet.element_type_id,pet.input_currency_code
         from pay_element_types_f pet
        where p_ele_id is not null
          and pet.element_type_id = p_ele_id
          and p_eff_date between pet.effective_start_date
                         and     pet.effective_end_date;
Line: 201

     select effective_date
       into l_effective_date
       from pay_batch_lines pbl
      where pbl.batch_line_id = p_batch_line_id;
Line: 210

     select pbl.element_type_id
       into l_element_type_id
       from pay_batch_lines pbl
      where pbl.batch_line_id = p_batch_line_id;
Line: 221

        select pbl.batch_id
          into l_batch_id
          from pay_batch_lines pbl
         where pbl.batch_line_id = p_batch_line_id;
Line: 230

        select pbl.element_name
          into l_element_name
          from pay_batch_lines pbl
         where pbl.batch_line_id = p_batch_line_id;
Line: 238

     select pbg.business_group_id,pbg.legislation_code
       into l_business_group_id,l_legislation_code
       from per_business_groups pbg,
            pay_batch_headers pbh
      where pbh.batch_id = l_batch_id
        and pbg.business_group_id = pbh.business_group_id;
Line: 443

  ,p_ROLLBACK_ENTRY_UPDATES        in     varchar2 default 'N'
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc                   varchar2(72) := g_package||'create_batch_header';
Line: 483

      ,p_ROLLBACK_ENTRY_UPDATES         => p_ROLLBACK_ENTRY_UPDATES
      );
Line: 514

      ,p_ROLLBACK_ENTRY_UPDATES   => p_ROLLBACK_ENTRY_UPDATES
      ,p_batch_id                 => l_batch_id
      ,p_object_version_number    => l_object_version_number);
Line: 539

      ,p_ROLLBACK_ENTRY_UPDATES         => p_ROLLBACK_ENTRY_UPDATES
      );
Line: 1356

procedure update_batch_header
  (p_validate                      in     boolean  default false
  ,p_session_date                  in     date
  ,p_batch_id                      in     number
  ,p_object_version_number         in out nocopy number
  ,p_action_if_exists              in     varchar2 default hr_api.g_varchar2
  ,p_batch_name                    in     varchar2 default hr_api.g_varchar2
  ,p_batch_reference               in     varchar2 default hr_api.g_varchar2
  ,p_batch_source                  in     varchar2 default hr_api.g_varchar2
  ,p_batch_status                  in     varchar2 default hr_api.g_varchar2
  ,p_comments                      in     varchar2 default hr_api.g_varchar2
  ,p_date_effective_changes        in     varchar2 default hr_api.g_varchar2
  ,p_purge_after_transfer          in     varchar2 default hr_api.g_varchar2
  ,p_reject_if_future_changes      in     varchar2 default hr_api.g_varchar2
  ,p_reject_if_results_exists      in     varchar2 default hr_api.g_varchar2
  ,p_purge_after_rollback          in     varchar2 default hr_api.g_varchar2
  ,p_batch_type                    in     varchar2 default hr_api.g_varchar2
  ,p_REJECT_ENTRY_NOT_REMOVED      in     varchar2 default hr_api.g_varchar2
  ,p_ROLLBACK_ENTRY_UPDATES        in     varchar2 default hr_api.g_varchar2
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc                   varchar2(72) := g_package||'update_batch_header';
Line: 1388

  savepoint update_batch_header;
Line: 1401

    pay_batch_element_entry_bk4.update_batch_header_b
      (p_session_date                   => l_session_date
      ,p_batch_id                       => p_batch_id
      ,p_object_version_number          => l_object_version_number
      ,p_action_if_exists               => p_action_if_exists
      ,p_batch_name                     => p_batch_name
      ,p_batch_reference                => p_batch_reference
      ,p_batch_source                   => p_batch_source
      ,p_batch_status                   => p_batch_status
      ,p_comments                       => p_comments
      ,p_date_effective_changes         => p_date_effective_changes
      ,p_purge_after_transfer           => p_purge_after_transfer
      ,p_reject_if_future_changes       => p_reject_if_future_changes
      ,p_reject_if_results_exists       => p_reject_if_results_exists
      ,p_purge_after_rollback           => p_purge_after_rollback
      ,p_batch_type                     => p_batch_type
      ,p_REJECT_ENTRY_NOT_REMOVED       => p_REJECT_ENTRY_NOT_REMOVED
      ,p_ROLLBACK_ENTRY_UPDATES         => p_ROLLBACK_ENTRY_UPDATES
      );
Line: 1423

        (p_module_name => 'update_batch_header_b'
        ,p_hook_type   => 'BP'
        );
Line: 1450

      ,p_ROLLBACK_ENTRY_UPDATES   => p_ROLLBACK_ENTRY_UPDATES);
Line: 1455

    pay_batch_element_entry_bk4.update_batch_header_a
      (p_session_date                   => l_session_date
      ,p_batch_id                       => p_batch_id
      ,p_object_version_number          => l_object_version_number
      ,p_action_if_exists               => p_action_if_exists
      ,p_batch_name                     => p_batch_name
      ,p_batch_reference                => p_batch_reference
      ,p_batch_source                   => p_batch_source
      ,p_batch_status                   => p_batch_status
      ,p_comments                       => p_comments
      ,p_date_effective_changes         => p_date_effective_changes
      ,p_purge_after_transfer           => p_purge_after_transfer
      ,p_reject_if_future_changes       => p_reject_if_future_changes
      ,p_reject_if_results_exists       => p_reject_if_results_exists
      ,p_purge_after_rollback           => p_purge_after_rollback
      ,p_batch_type                     => p_batch_type
      ,p_REJECT_ENTRY_NOT_REMOVED       => p_REJECT_ENTRY_NOT_REMOVED
      ,p_ROLLBACK_ENTRY_UPDATES         => p_ROLLBACK_ENTRY_UPDATES
      );
Line: 1477

        (p_module_name => 'update_batch_header_a'
        ,p_hook_type   => 'AP'
        );
Line: 1499

    rollback to update_batch_header;
Line: 1510

    rollback to update_batch_header;
Line: 1514

end update_batch_header;
Line: 1521

procedure update_batch_line
  (p_validate                      in     boolean  default false
  ,p_session_date                  in     date
  ,p_batch_line_id                 in     number
  ,p_batch_line_status             in     varchar2 default hr_api.g_varchar2
  ,p_object_version_number         in out nocopy number
  ,p_assignment_id                 in     number   default hr_api.g_number
  ,p_assignment_number             in     varchar2 default hr_api.g_varchar2
  ,p_attribute_category            in     varchar2 default hr_api.g_varchar2
  ,p_attribute1                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute2                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute3                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute4                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute5                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute6                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute7                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute8                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute9                    in     varchar2 default hr_api.g_varchar2
  ,p_attribute10                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute11                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute12                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute13                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute14                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute15                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute16                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute17                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute18                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute19                   in     varchar2 default hr_api.g_varchar2
  ,p_attribute20                   in     varchar2 default hr_api.g_varchar2
  ,p_entry_information_category    in     varchar2  default hr_api.g_varchar2
  ,p_entry_information1            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information2            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information3            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information4            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information5            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information6            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information7            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information8            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information9            in     varchar2  default hr_api.g_varchar2
  ,p_entry_information10           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information11           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information12           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information13           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information14           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information15           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information16           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information17           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information18           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information19           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information20           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information21           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information22           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information23           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information24           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information25           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information26           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information27           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information28           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information29           in     varchar2  default hr_api.g_varchar2
  ,p_entry_information30           in     varchar2  default hr_api.g_varchar2
  ,p_date_earned                   in     date      default hr_api.g_date
  ,p_personal_payment_method_id    in     number    default hr_api.g_number
  ,p_subpriority                   in     number    default hr_api.g_number
  ,p_batch_sequence                in     number   default hr_api.g_number
  ,p_concatenated_segments         in     varchar2 default hr_api.g_varchar2
  ,p_cost_allocation_keyflex_id    in     number   default hr_api.g_number
  ,p_effective_date                in     date     default hr_api.g_date
  ,p_effective_start_date          in     date     default hr_api.g_date
  ,p_effective_end_date            in     date     default hr_api.g_date
  ,p_element_name                  in     varchar2 default hr_api.g_varchar2
  ,p_element_type_id               in     number   default hr_api.g_number
  ,p_entry_type                    in     varchar2 default hr_api.g_varchar2
  ,p_reason                        in     varchar2 default hr_api.g_varchar2
  ,p_segment1                      in     varchar2 default hr_api.g_varchar2
  ,p_segment2                      in     varchar2 default hr_api.g_varchar2
  ,p_segment3                      in     varchar2 default hr_api.g_varchar2
  ,p_segment4                      in     varchar2 default hr_api.g_varchar2
  ,p_segment5                      in     varchar2 default hr_api.g_varchar2
  ,p_segment6                      in     varchar2 default hr_api.g_varchar2
  ,p_segment7                      in     varchar2 default hr_api.g_varchar2
  ,p_segment8                      in     varchar2 default hr_api.g_varchar2
  ,p_segment9                      in     varchar2 default hr_api.g_varchar2
  ,p_segment10                     in     varchar2 default hr_api.g_varchar2
  ,p_segment11                     in     varchar2 default hr_api.g_varchar2
  ,p_segment12                     in     varchar2 default hr_api.g_varchar2
  ,p_segment13                     in     varchar2 default hr_api.g_varchar2
  ,p_segment14                     in     varchar2 default hr_api.g_varchar2
  ,p_segment15                     in     varchar2 default hr_api.g_varchar2
  ,p_segment16                     in     varchar2 default hr_api.g_varchar2
  ,p_segment17                     in     varchar2 default hr_api.g_varchar2
  ,p_segment18                     in     varchar2 default hr_api.g_varchar2
  ,p_segment19                     in     varchar2 default hr_api.g_varchar2
  ,p_segment20                     in     varchar2 default hr_api.g_varchar2
  ,p_segment21                     in     varchar2 default hr_api.g_varchar2
  ,p_segment22                     in     varchar2 default hr_api.g_varchar2
  ,p_segment23                     in     varchar2 default hr_api.g_varchar2
  ,p_segment24                     in     varchar2 default hr_api.g_varchar2
  ,p_segment25                     in     varchar2 default hr_api.g_varchar2
  ,p_segment26                     in     varchar2 default hr_api.g_varchar2
  ,p_segment27                     in     varchar2 default hr_api.g_varchar2
  ,p_segment28                     in     varchar2 default hr_api.g_varchar2
  ,p_segment29                     in     varchar2 default hr_api.g_varchar2
  ,p_segment30                     in     varchar2 default hr_api.g_varchar2
  ,p_value_1                       in     varchar2 default hr_api.g_varchar2
  ,p_value_2                       in     varchar2 default hr_api.g_varchar2
  ,p_value_3                       in     varchar2 default hr_api.g_varchar2
  ,p_value_4                       in     varchar2 default hr_api.g_varchar2
  ,p_value_5                       in     varchar2 default hr_api.g_varchar2
  ,p_value_6                       in     varchar2 default hr_api.g_varchar2
  ,p_value_7                       in     varchar2 default hr_api.g_varchar2
  ,p_value_8                       in     varchar2 default hr_api.g_varchar2
  ,p_value_9                       in     varchar2 default hr_api.g_varchar2
  ,p_value_10                      in     varchar2 default hr_api.g_varchar2
  ,p_value_11                      in     varchar2 default hr_api.g_varchar2
  ,p_value_12                      in     varchar2 default hr_api.g_varchar2
  ,p_value_13                      in     varchar2 default hr_api.g_varchar2
  ,p_value_14                      in     varchar2 default hr_api.g_varchar2
  ,p_value_15                      in     varchar2 default hr_api.g_varchar2
  ,p_canonical_date_format         in     varchar2 default 'Y'
  ,p_iv_all_internal_format        in     varchar2 default 'N'
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc                   varchar2(72) := g_package||'update_batch_line';
Line: 1676

  savepoint update_batch_line;
Line: 1741

    pay_batch_element_entry_bk5.update_batch_line_b
      (p_session_date                   => l_session_date
      ,p_batch_line_id                  => p_batch_line_id
      ,p_batch_line_status              => p_batch_line_status
      ,p_object_version_number          => l_object_version_number
      ,p_assignment_id                  => p_assignment_id
      ,p_assignment_number              => p_assignment_number
      ,p_attribute_category             => p_attribute_category
      ,p_attribute1                     => p_attribute1
      ,p_attribute2                     => p_attribute2
      ,p_attribute3                     => p_attribute3
      ,p_attribute4                     => p_attribute4
      ,p_attribute5                     => p_attribute5
      ,p_attribute6                     => p_attribute6
      ,p_attribute7                     => p_attribute7
      ,p_attribute8                     => p_attribute8
      ,p_attribute9                     => p_attribute9
      ,p_attribute10                    => p_attribute10
      ,p_attribute11                    => p_attribute11
      ,p_attribute12                    => p_attribute12
      ,p_attribute13                    => p_attribute13
      ,p_attribute14                    => p_attribute14
      ,p_attribute15                    => p_attribute15
      ,p_attribute16                    => p_attribute16
      ,p_attribute17                    => p_attribute17
      ,p_attribute18                    => p_attribute18
      ,p_attribute19                    => p_attribute19
      ,p_attribute20                    => p_attribute20
      ,p_entry_information_category     => p_entry_information_category
      ,p_entry_information1             => p_entry_information1
      ,p_entry_information2             => p_entry_information2
      ,p_entry_information3             => p_entry_information3
      ,p_entry_information4             => p_entry_information4
      ,p_entry_information5             => p_entry_information5
      ,p_entry_information6             => p_entry_information6
      ,p_entry_information7             => p_entry_information7
      ,p_entry_information8             => p_entry_information8
      ,p_entry_information9             => p_entry_information9
      ,p_entry_information10            => p_entry_information10
      ,p_entry_information11            => p_entry_information11
      ,p_entry_information12            => p_entry_information12
      ,p_entry_information13            => p_entry_information13
      ,p_entry_information14            => p_entry_information14
      ,p_entry_information15            => p_entry_information15
      ,p_entry_information16            => p_entry_information16
      ,p_entry_information17            => p_entry_information17
      ,p_entry_information18            => p_entry_information18
      ,p_entry_information19            => p_entry_information19
      ,p_entry_information20            => p_entry_information20
      ,p_entry_information21            => p_entry_information21
      ,p_entry_information22            => p_entry_information22
      ,p_entry_information23            => p_entry_information23
      ,p_entry_information24            => p_entry_information24
      ,p_entry_information25            => p_entry_information25
      ,p_entry_information26            => p_entry_information26
      ,p_entry_information27            => p_entry_information27
      ,p_entry_information28            => p_entry_information28
      ,p_entry_information29            => p_entry_information29
      ,p_entry_information30            => p_entry_information30
      ,p_date_earned                    => l_date_earned
      ,p_personal_payment_method_id     => p_personal_payment_method_id
      ,p_subpriority                    => p_subpriority
      ,p_batch_sequence                 => p_batch_sequence
      ,p_concatenated_segments          => p_concatenated_segments
      ,p_cost_allocation_keyflex_id     => p_cost_allocation_keyflex_id
      ,p_effective_date                 => l_effective_date
      ,p_effective_start_date           => l_effective_start_date
      ,p_effective_end_date             => l_effective_end_date
      ,p_element_name                   => p_element_name
      ,p_element_type_id                => p_element_type_id
      ,p_entry_type                     => p_entry_type
      ,p_reason                         => p_reason
      ,p_segment1                       => p_segment1
      ,p_segment2                       => p_segment2
      ,p_segment3                       => p_segment3
      ,p_segment4                       => p_segment4
      ,p_segment5                       => p_segment5
      ,p_segment6                       => p_segment6
      ,p_segment7                       => p_segment7
      ,p_segment8                       => p_segment8
      ,p_segment9                       => p_segment9
      ,p_segment10                      => p_segment10
      ,p_segment11                      => p_segment11
      ,p_segment12                      => p_segment12
      ,p_segment13                      => p_segment13
      ,p_segment14                      => p_segment14
      ,p_segment15                      => p_segment15
      ,p_segment16                      => p_segment16
      ,p_segment17                      => p_segment17
      ,p_segment18                      => p_segment18
      ,p_segment19                      => p_segment19
      ,p_segment20                      => p_segment20
      ,p_segment21                      => p_segment21
      ,p_segment22                      => p_segment22
      ,p_segment23                      => p_segment23
      ,p_segment24                      => p_segment24
      ,p_segment25                      => p_segment25
      ,p_segment26                      => p_segment26
      ,p_segment27                      => p_segment27
      ,p_segment28                      => p_segment28
      ,p_segment29                      => p_segment29
      ,p_segment30                      => p_segment30
      ,p_value_1                        => l_value_1
      ,p_value_2                        => l_value_2
      ,p_value_3                        => l_value_3
      ,p_value_4                        => l_value_4
      ,p_value_5                        => l_value_5
      ,p_value_6                        => l_value_6
      ,p_value_7                        => l_value_7
      ,p_value_8                        => l_value_8
      ,p_value_9                        => l_value_9
      ,p_value_10                       => l_value_10
      ,p_value_11                       => l_value_11
      ,p_value_12                       => l_value_12
      ,p_value_13                       => l_value_13
      ,p_value_14                       => l_value_14
      ,p_value_15                       => l_value_15
      );
Line: 1862

        (p_module_name => 'update_batch_line_b'
        ,p_hook_type   => 'BP'
        );
Line: 1998

    pay_batch_element_entry_bk5.update_batch_line_a
      (p_session_date                   => l_session_date
      ,p_batch_line_id                  => p_batch_line_id
      ,p_batch_line_status              => p_batch_line_status
      ,p_object_version_number          => l_object_version_number
      ,p_assignment_id                  => p_assignment_id
      ,p_assignment_number              => p_assignment_number
      ,p_attribute_category             => p_attribute_category
      ,p_attribute1                     => p_attribute1
      ,p_attribute2                     => p_attribute2
      ,p_attribute3                     => p_attribute3
      ,p_attribute4                     => p_attribute4
      ,p_attribute5                     => p_attribute5
      ,p_attribute6                     => p_attribute6
      ,p_attribute7                     => p_attribute7
      ,p_attribute8                     => p_attribute8
      ,p_attribute9                     => p_attribute9
      ,p_attribute10                    => p_attribute10
      ,p_attribute11                    => p_attribute11
      ,p_attribute12                    => p_attribute12
      ,p_attribute13                    => p_attribute13
      ,p_attribute14                    => p_attribute14
      ,p_attribute15                    => p_attribute15
      ,p_attribute16                    => p_attribute16
      ,p_attribute17                    => p_attribute17
      ,p_attribute18                    => p_attribute18
      ,p_attribute19                    => p_attribute19
      ,p_attribute20                    => p_attribute20
      ,p_entry_information_category     => p_entry_information_category
      ,p_entry_information1             => p_entry_information1
      ,p_entry_information2             => p_entry_information2
      ,p_entry_information3             => p_entry_information3
      ,p_entry_information4             => p_entry_information4
      ,p_entry_information5             => p_entry_information5
      ,p_entry_information6             => p_entry_information6
      ,p_entry_information7             => p_entry_information7
      ,p_entry_information8             => p_entry_information8
      ,p_entry_information9             => p_entry_information9
      ,p_entry_information10            => p_entry_information10
      ,p_entry_information11            => p_entry_information11
      ,p_entry_information12            => p_entry_information12
      ,p_entry_information13            => p_entry_information13
      ,p_entry_information14            => p_entry_information14
      ,p_entry_information15            => p_entry_information15
      ,p_entry_information16            => p_entry_information16
      ,p_entry_information17            => p_entry_information17
      ,p_entry_information18            => p_entry_information18
      ,p_entry_information19            => p_entry_information19
      ,p_entry_information20            => p_entry_information20
      ,p_entry_information21            => p_entry_information21
      ,p_entry_information22            => p_entry_information22
      ,p_entry_information23            => p_entry_information23
      ,p_entry_information24            => p_entry_information24
      ,p_entry_information25            => p_entry_information25
      ,p_entry_information26            => p_entry_information26
      ,p_entry_information27            => p_entry_information27
      ,p_entry_information28            => p_entry_information28
      ,p_entry_information29            => p_entry_information29
      ,p_entry_information30            => p_entry_information30
      ,p_date_earned                    => l_date_earned
      ,p_personal_payment_method_id     => p_personal_payment_method_id
      ,p_subpriority                    => p_subpriority
      ,p_batch_sequence                 => p_batch_sequence
      ,p_concatenated_segments          => p_concatenated_segments
      ,p_cost_allocation_keyflex_id     => p_cost_allocation_keyflex_id
      ,p_effective_date                 => l_effective_date
      ,p_effective_start_date           => l_effective_start_date
      ,p_effective_end_date             => l_effective_end_date
      ,p_element_name                   => p_element_name
      ,p_element_type_id                => p_element_type_id
      ,p_entry_type                     => p_entry_type
      ,p_reason                         => p_reason
      ,p_segment1                       => p_segment1
      ,p_segment2                       => p_segment2
      ,p_segment3                       => p_segment3
      ,p_segment4                       => p_segment4
      ,p_segment5                       => p_segment5
      ,p_segment6                       => p_segment6
      ,p_segment7                       => p_segment7
      ,p_segment8                       => p_segment8
      ,p_segment9                       => p_segment9
      ,p_segment10                      => p_segment10
      ,p_segment11                      => p_segment11
      ,p_segment12                      => p_segment12
      ,p_segment13                      => p_segment13
      ,p_segment14                      => p_segment14
      ,p_segment15                      => p_segment15
      ,p_segment16                      => p_segment16
      ,p_segment17                      => p_segment17
      ,p_segment18                      => p_segment18
      ,p_segment19                      => p_segment19
      ,p_segment20                      => p_segment20
      ,p_segment21                      => p_segment21
      ,p_segment22                      => p_segment22
      ,p_segment23                      => p_segment23
      ,p_segment24                      => p_segment24
      ,p_segment25                      => p_segment25
      ,p_segment26                      => p_segment26
      ,p_segment27                      => p_segment27
      ,p_segment28                      => p_segment28
      ,p_segment29                      => p_segment29
      ,p_segment30                      => p_segment30
      ,p_value_1                        => l_value_1
      ,p_value_2                        => l_value_2
      ,p_value_3                        => l_value_3
      ,p_value_4                        => l_value_4
      ,p_value_5                        => l_value_5
      ,p_value_6                        => l_value_6
      ,p_value_7                        => l_value_7
      ,p_value_8                        => l_value_8
      ,p_value_9                        => l_value_9
      ,p_value_10                       => l_value_10
      ,p_value_11                       => l_value_11
      ,p_value_12                       => l_value_12
      ,p_value_13                       => l_value_13
      ,p_value_14                       => l_value_14
      ,p_value_15                       => l_value_15
      );
Line: 2119

        (p_module_name => 'update_batch_line_a'
        ,p_hook_type   => 'AP'
        );
Line: 2141

    rollback to update_batch_line;
Line: 2152

    rollback to update_batch_line;
Line: 2156

end update_batch_line;
Line: 2163

procedure update_batch_total
  (p_validate                      in     boolean  default false
  ,p_session_date                  in     date
  ,p_batch_control_id              in     number
  ,p_object_version_number         in out nocopy number
  ,p_control_status                in     varchar2 default hr_api.g_varchar2
  ,p_control_total                 in     varchar2 default hr_api.g_varchar2
  ,p_control_type                  in     varchar2 default hr_api.g_varchar2
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc                   varchar2(72) := g_package||'update_batch_total';
Line: 2184

  savepoint update_batch_total;
Line: 2197

    pay_batch_element_entry_bk6.update_batch_total_b
      (p_session_date                   => l_session_date
      ,p_batch_control_id               => p_batch_control_id
      ,p_object_version_number          => l_object_version_number
      ,p_control_status                 => p_control_status
      ,p_control_total                  => p_control_total
      ,p_control_type                   => p_control_type
      );
Line: 2208

        (p_module_name => 'update_batch_total_b'
        ,p_hook_type   => 'BP'
        );
Line: 2229

    pay_batch_element_entry_bk6.update_batch_total_a
      (p_session_date                   => l_session_date
      ,p_batch_control_id               => p_batch_control_id
      ,p_object_version_number          => l_object_version_number
      ,p_control_status                 => p_control_status
      ,p_control_total                  => p_control_total
      ,p_control_type                   => p_control_type
      );
Line: 2240

        (p_module_name => 'update_batch_total_a'
        ,p_hook_type   => 'AP'
        );
Line: 2262

    rollback to update_batch_total;
Line: 2273

    rollback to update_batch_total;
Line: 2277

end update_batch_total;
Line: 2284

procedure delete_batch_header
  (p_validate                      in     boolean  default false
  ,p_batch_id                      in     number
  ,p_object_version_number         in     number
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc                  varchar2(72) := g_package||'delete_batch_header';
Line: 2295

     select btl.batch_line_id,btl.object_version_number
       from pay_batch_lines btl
      where btl.batch_id = p_batch_id;
Line: 2300

     select bct.batch_control_id,bct.object_version_number
       from pay_batch_control_totals bct
      where bct.batch_id = p_batch_id;
Line: 2309

  savepoint delete_batch_header;
Line: 2314

    pay_batch_element_entry_bk7.delete_batch_header_b
      (p_batch_id                       => p_batch_id
      ,p_object_version_number          => p_object_version_number
      );
Line: 2321

        (p_module_name => 'delete_batch_header_b'
        ,p_hook_type   => 'BP'
        );
Line: 2338

      delete from pay_message_lines
       where SOURCE_TYPE = 'L'
         and SOURCE_ID = cssr.batch_line_id;
Line: 2356

      delete from pay_message_lines
       where SOURCE_TYPE = 'C'
         and SOURCE_ID = cssr.batch_control_id;
Line: 2370

  delete from pay_message_lines
   where SOURCE_TYPE = 'H'
     and SOURCE_ID = p_batch_id;
Line: 2387

    pay_batch_element_entry_bk7.delete_batch_header_a
      (p_batch_id                       => p_batch_id
      ,p_object_version_number          => p_object_version_number
      );
Line: 2394

        (p_module_name => 'delete_batch_header_a'
        ,p_hook_type   => 'AP'
        );
Line: 2412

    ROLLBACK TO delete_batch_header;
Line: 2419

  ROLLBACK TO delete_batch_header;
Line: 2423

end delete_batch_header;
Line: 2430

procedure delete_batch_line
  (p_validate                      in     boolean  default false
  ,p_batch_line_id                 in     number
  ,p_object_version_number         in     number
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc                  varchar2(72) := g_package||'delete_batch_line';
Line: 2445

  savepoint delete_batch_line;
Line: 2450

    pay_batch_element_entry_bk8.delete_batch_line_b
      (p_batch_line_id                  => p_batch_line_id
      ,p_object_version_number          => p_object_version_number
      );
Line: 2457

        (p_module_name => 'delete_batch_line_b'
        ,p_hook_type   => 'BP'
        );
Line: 2470

  delete from pay_message_lines
   where SOURCE_TYPE = 'L'
     and SOURCE_ID = p_batch_line_id;
Line: 2487

    pay_batch_element_entry_bk8.delete_batch_line_a
      (p_batch_line_id                  => p_batch_line_id
      ,p_object_version_number          => p_object_version_number
      );
Line: 2494

        (p_module_name => 'delete_batch_line_a'
        ,p_hook_type   => 'AP'
        );
Line: 2512

    ROLLBACK TO delete_batch_line;
Line: 2519

  ROLLBACK TO delete_batch_line;
Line: 2523

end delete_batch_line;
Line: 2530

procedure delete_batch_total
  (p_validate                      in     boolean  default false
  ,p_batch_control_id              in     number
  ,p_object_version_number         in     number
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc                  varchar2(72) := g_package||'delete_batch_total';
Line: 2545

  savepoint delete_batch_total;
Line: 2550

    pay_batch_element_entry_bk9.delete_batch_total_b
      (p_batch_control_id               => p_batch_control_id
      ,p_object_version_number          => p_object_version_number
      );
Line: 2557

        (p_module_name => 'delete_batch_total_b'
        ,p_hook_type   => 'BP'
        );
Line: 2570

  delete from pay_message_lines
   where SOURCE_TYPE = 'C'
     and SOURCE_ID = p_batch_control_id;
Line: 2587

    pay_batch_element_entry_bk9.delete_batch_total_a
      (p_batch_control_id               => p_batch_control_id
      ,p_object_version_number          => p_object_version_number
      );
Line: 2594

        (p_module_name => 'delete_batch_total_a'
        ,p_hook_type   => 'AP'
        );
Line: 2612

    ROLLBACK TO delete_batch_total;
Line: 2619

  ROLLBACK TO delete_batch_total;
Line: 2623

end delete_batch_total;