DBA Data[Home] [Help]

APPS.OTA_CATEGORY_USAGE_API SQL Statements

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

Line: 314

procedure Update_category
  (p_validate                      in     boolean  default false
  ,p_effective_date                in     date
  ,p_category_usage_id             in     number
  ,p_object_version_number         in out nocopy number
  ,p_category                      in     varchar2
  ,p_type                          in	  varchar2
  ,p_description                   in     varchar2
  ,p_parent_cat_usage_id           in	  number
  ,p_synchronous_flag              in	  varchar2
  ,p_online_flag                   in	  varchar2 default null
  ,p_attribute_category            in     varchar2 default null
  ,p_attribute1                    in     varchar2 default null
  ,p_attribute2                    in     varchar2 default null
  ,p_attribute3                    in     varchar2 default null
  ,p_attribute4                    in     varchar2 default null
  ,p_attribute5                    in     varchar2 default null
  ,p_attribute6                    in     varchar2 default null
  ,p_attribute7                    in     varchar2 default null
  ,p_attribute8                    in     varchar2 default null
  ,p_attribute9                    in     varchar2 default null
  ,p_attribute10                   in     varchar2 default null
  ,p_attribute11                   in     varchar2 default null
  ,p_attribute12                   in     varchar2 default null
  ,p_attribute13                   in     varchar2 default null
  ,p_attribute14                   in     varchar2 default null
  ,p_attribute15                   in     varchar2 default null
  ,p_attribute16                   in     varchar2 default null
  ,p_attribute17                   in     varchar2 default null
  ,p_attribute18                   in     varchar2 default null
  ,p_attribute19                   in     varchar2 default null
  ,p_attribute20                   in     varchar2 default null
  ,p_data_source                   in     varchar2 default null
  ,p_start_date_active             in     date
  ,p_end_date_active               in     date default null
  ,p_comments                      in     varchar2 default null

  ) is
  --
  -- Declare cursors and local variables
  -- get the activity id for the category_usage_id
  CURSOR get_activity_id
      IS
  SELECT activity_id,
         object_version_number
    FROM ota_activity_definitions
   WHERE category_usage_id = p_category_usage_id;
Line: 363

  l_proc                    varchar2(72) := g_package||'Update_category';
Line: 375

  savepoint UPDATE_CATEGORY;
Line: 386

    ota_category_usage_bk2.update_category_b
  (p_effective_date                 => l_effective_date
  ,p_category_usage_id              => p_category_usage_id
  ,p_object_version_number          => p_object_version_number
  ,p_category                       => l_category
  ,p_type                           => p_type
  ,p_parent_cat_usage_id            => p_parent_cat_usage_id
  ,p_synchronous_flag	            => p_synchronous_flag
  ,p_online_flag                    => p_online_flag
  ,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_data_source                    => p_data_source
  ,p_start_date_active              => p_start_date_active
  ,p_end_date_active                => p_end_date_active
  ,p_comments                       => p_comments
  );
Line: 424

        (p_module_name => 'UPDATE_CATEGORY'
        ,p_hook_type   => 'BP'
        );
Line: 513

  ota_category_usage_bk2.update_category_a
  (p_effective_date                 => l_effective_date
  ,p_category_usage_id              => p_category_usage_id
  ,p_object_version_number          => p_object_version_number
  ,p_category                       => l_category
  ,p_type                           => p_type
  ,p_parent_cat_usage_id            => p_parent_cat_usage_id
  ,p_synchronous_flag	            => p_synchronous_flag
  ,p_online_flag                    => p_online_flag
  ,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_data_source                    => p_data_source
  ,p_start_date_active              => p_start_date_active
  ,p_end_date_active                => p_end_date_active
  ,p_comments                       => p_comments

    );
Line: 552

        (p_module_name => 'UPDATE_CATEGORY'
        ,p_hook_type   => 'AP'
        );
Line: 572

    rollback to UPDATE_CATEGORY;
Line: 584

    rollback to UPDATE_CATEGORY;
Line: 588

end update_category;
Line: 594

procedure delete_category
  (p_validate                      in     boolean  default false
  ,p_category_usage_id             in     number
  ,p_object_version_number         in     number
  ) is
  --
  -- Declare cursors and local variables
  --
   -- get the activity id for the category_usage_id
  CURSOR get_activity_id
      IS
  SELECT activity_id,
         object_version_number
    FROM ota_activity_definitions
   WHERE category_usage_id = p_category_usage_id;
Line: 611

  l_proc                    varchar2(72) := g_package||'Delete_category';
Line: 625

  savepoint DELETE_CATEGORY;
Line: 633

    ota_category_usage_bk3.delete_category_b
  (p_category_usage_id           => p_category_usage_id
  ,p_object_version_number       => p_object_version_number
  );
Line: 640

        (p_module_name => 'DELETE_CATEGORY'
        ,p_hook_type   => 'BP'
        );
Line: 678

  ota_category_usage_bk3.delete_category_a
  (p_category_usage_id           => p_category_usage_id
  ,p_object_version_number       => p_object_version_number
  );
Line: 685

        (p_module_name => 'DELETE_CATEGORY'
        ,p_hook_type   => 'AP'
        );
Line: 706

    rollback to DELETE_CATEGORY;
Line: 717

    rollback to DELETE_CATEGORY;
Line: 720

end delete_category;