DBA Data[Home] [Help]

APPS.OKE_FUNDINGALLOCATION_PVT SQL Statements

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

Line: 5

PROCEDURE Insert_Row(X_Rowid              IN OUT NOCOPY VARCHAR2,
     		     X_Fund_Allocation_Id		NUMBER,
 		     X_Funding_Source_Id		NUMBER,
		     X_Object_Id			NUMBER,
		     X_K_Line_Id			NUMBER,
		     X_Project_Id			NUMBER,
		     X_Task_Id			        NUMBER,
		     X_Amount				NUMBER,
		     X_Previous_Amount			NUMBER,
		     X_Hard_Limit			NUMBER,
		     X_Revenue_Hard_Limit		NUMBER,
		     X_Fund_Type			VARCHAR2,
		     X_Funding_Status			VARCHAR2,
		     X_Fiscal_Year			VARCHAR2,
		     X_Reference1			VARCHAR2,
		     X_Reference2			VARCHAR2,
		     X_Reference3			VARCHAR2,
		     X_PA_Conversion_Type		VARCHAR2,
		     X_PA_Conversion_Date		DATE,
		     X_PA_Conversion_Rate		NUMBER,
		     X_Insert_Update_Flag		VARCHAR2,
                     X_Start_Date_Active		DATE,
                     X_End_Date_Active		        DATE,
                     X_Funding_Category			VARCHAR2,
                     X_Last_Update_Date                 DATE,
                     X_Last_Updated_By                  NUMBER,
                     X_Creation_Date                    DATE,
                     X_Created_By                       NUMBER,
                     X_Last_Update_Login                NUMBER,
                     X_Attribute_Category               VARCHAR2,
                     X_Attribute1                       VARCHAR2,
                     X_Attribute2                       VARCHAR2,
                     X_Attribute3                       VARCHAR2,
                     X_Attribute4                       VARCHAR2,
                     X_Attribute5                       VARCHAR2,
                     X_Attribute6                       VARCHAR2,
                     X_Attribute7                       VARCHAR2,
                     X_Attribute8                       VARCHAR2,
                     X_Attribute9                       VARCHAR2,
                     X_Attribute10                      VARCHAR2,
                     X_Attribute11                      VARCHAR2,
                     X_Attribute12                      VARCHAR2,
                     X_Attribute13                      VARCHAR2,
                     X_Attribute14                      VARCHAR2,
                     X_Attribute15                      VARCHAR2,
                     X_PA_Attribute_Category            VARCHAR2,
                     X_PA_Attribute1                    VARCHAR2,
                     X_PA_Attribute2                    VARCHAR2,
                     X_PA_Attribute3                    VARCHAR2,
                     X_PA_Attribute4                    VARCHAR2,
                     X_PA_Attribute5                    VARCHAR2,
                     X_PA_Attribute6                    VARCHAR2,
                     X_PA_Attribute7                    VARCHAR2,
                     X_PA_Attribute8                    VARCHAR2,
                     X_PA_Attribute9                    VARCHAR2,
                     X_PA_Attribute10                   VARCHAR2
  ) is

    cursor C is
       select rowid
       from   OKE_K_FUND_ALLOCATIONS
       where  fund_allocation_id = X_fund_allocation_id;
Line: 69

       select major_version + 1
       from   okc_k_vers_numbers
       where  chr_id = x_object_id
    for update of chr_id nowait;
Line: 86

       insert into OKE_K_FUND_ALLOCATIONS(
              fund_allocation_id,
              funding_source_id,
              object_id,
              k_line_id,
              project_id,
              task_id,
              amount,
              previous_amount,
              hard_limit,
              revenue_hard_limit,
              fund_type,
              funding_status,
              fiscal_year,
              reference1,
              reference2,
              reference3,
              pa_conversion_type,
              pa_conversion_date,
              pa_conversion_rate,
              insert_update_flag,
              start_date_active,
              end_date_active,
              funding_category,
              created_in_version,
              last_update_date,
              last_updated_by,
              creation_date,
              created_by,
              last_update_login,
              attribute_category,
              attribute1,
              attribute2,
              attribute3,
              attribute4,
              attribute5,
              attribute6,
              attribute7,
              attribute8,
              attribute9,
              attribute10,
              attribute11,
              attribute12,
              attribute13,
              attribute14,
              attribute15,
              pa_attribute_category,
              pa_attribute1,
              pa_attribute2,
              pa_attribute3,
              pa_attribute4,
              pa_attribute5,
              pa_attribute6,
              pa_attribute7,
              pa_attribute8,
              pa_attribute9,
              pa_attribute10
             ) VALUES (
              X_Fund_Allocation_Id,
 	      X_Funding_Source_Id,
	      X_Object_Id,
	      X_K_Line_Id,
	      X_Project_Id,
	      X_Task_Id,
              X_Amount,
              X_Previous_Amount,
              X_Hard_Limit,
              X_Revenue_Hard_Limit,
	      X_Fund_Type,
	      X_Funding_Status,
	      X_Fiscal_Year,
	      X_Reference1,
	      X_Reference2,
	      X_Reference3,
	      X_PA_Conversion_Type,
	      X_PA_Conversion_Date,
	      X_PA_Conversion_Rate,
	      X_Insert_Update_Flag,
              X_Start_Date_Active,
              X_End_Date_Active,
              X_Funding_Category,
              l_version,
              X_Last_Update_Date,
              X_Last_Updated_By,
              X_Creation_Date,
              X_Created_By,
              X_Last_Update_Login,
              X_Attribute_Category,
              X_Attribute1,
              X_Attribute2,
              X_Attribute3,
              X_Attribute4,
              X_Attribute5,
              X_Attribute6,
              X_Attribute7,
              X_Attribute8,
              X_Attribute9,
              X_Attribute10,
              X_Attribute11,
              X_Attribute12,
              X_Attribute13,
              X_Attribute14,
              X_Attribute15,
              X_PA_Attribute_Category,
              X_PA_Attribute1,
              X_PA_Attribute2,
              X_PA_Attribute3,
              X_PA_Attribute4,
              X_PA_Attribute5,
              X_PA_Attribute6,
              X_PA_Attribute7,
              X_PA_Attribute8,
              X_PA_Attribute9,
              X_PA_Attribute10
             );
Line: 210

end Insert_Row;
Line: 265

    select fund_allocation_id,
           funding_source_id,
           object_id,
           k_line_id,
           project_id,
           task_id,
           amount,
           previous_amount,
           hard_limit,
           revenue_hard_limit,
           fund_type,
           funding_status,
           fiscal_year,
           reference1,
           reference2,
           reference3,
           pa_conversion_type,
           pa_conversion_date,
           pa_conversion_rate,
           start_date_active,
           end_date_active,
           funding_category,
           attribute_category,
           attribute1,
           attribute2,
           attribute3,
           attribute4,
           attribute5,
           attribute6,
           attribute7,
           attribute8,
           attribute9,
           attribute10,
           attribute11,
           attribute12,
           attribute13,
           attribute14,
           attribute15,
           pa_attribute_category,
           pa_attribute1,
           pa_attribute2,
           pa_attribute3,
           pa_attribute4,
           pa_attribute5,
           pa_attribute6,
           pa_attribute7,
           pa_attribute8,
           pa_attribute9,
           pa_attribute10
    from   OKE_K_FUND_ALLOCATIONS
    where  fund_allocation_id = X_Fund_Allocation_Id
    for update of fund_allocation_id nowait;
Line: 326

       fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
Line: 435

PROCEDURE Update_Row(X_Fund_Allocation_Id		NUMBER,
		     X_Amount				NUMBER,
		     X_Previous_Amount			NUMBER,
		     X_Object_Id			NUMBER,
		     X_K_Line_Id			NUMBER,
		     X_Project_Id			NUMBER,
		     X_Task_Id				NUMBER,
		     X_Hard_Limit			NUMBER,
		     X_Revenue_Hard_Limit		NUMBER,
		     X_Fund_Type			VARCHAR2,
		     X_Funding_Status			VARCHAR2,
		     X_Fiscal_Year			VARCHAR2,
		     X_Reference1			VARCHAR2,
		     X_Reference2			VARCHAR2,
		     X_Reference3			VARCHAR2,
		     X_PA_Conversion_Type		VARCHAR2,
		     X_PA_Conversion_Date		DATE,
		     X_PA_Conversion_Rate		NUMBER,
                     X_Start_Date_Active		DATE,
                     X_End_Date_Active		        DATE,
                     X_Insert_Update_Flag		VARCHAR2,
                     X_Funding_Category			VARCHAR2,
                     X_Last_Update_Date                 DATE,
                     X_Last_Updated_By                  NUMBER,
                     X_Last_Update_Login                NUMBER,
                     X_Attribute_Category               VARCHAR2,
                     X_Attribute1                       VARCHAR2,
                     X_Attribute2                       VARCHAR2,
                     X_Attribute3                       VARCHAR2,
                     X_Attribute4                       VARCHAR2,
                     X_Attribute5                       VARCHAR2,
                     X_Attribute6                       VARCHAR2,
                     X_Attribute7                       VARCHAR2,
                     X_Attribute8                       VARCHAR2,
                     X_Attribute9                       VARCHAR2,
                     X_Attribute10                      VARCHAR2,
                     X_Attribute11                      VARCHAR2,
                     X_Attribute12                      VARCHAR2,
                     X_Attribute13                      VARCHAR2,
                     X_Attribute14                      VARCHAR2,
                     X_Attribute15                      VARCHAR2,
                     X_PA_Attribute_Category            VARCHAR2,
                     X_PA_Attribute1                    VARCHAR2,
                     X_PA_Attribute2                    VARCHAR2,
                     X_PA_Attribute3                    VARCHAR2,
                     X_PA_Attribute4                    VARCHAR2,
                     X_PA_Attribute5                    VARCHAR2,
                     X_PA_Attribute6                    VARCHAR2,
                     X_PA_Attribute7                    VARCHAR2,
                     X_PA_Attribute8                    VARCHAR2,
                     X_PA_Attribute9                    VARCHAR2,
                     X_PA_Attribute10                   VARCHAR2
  ) is

    cursor c1 is
       select major_version + 1
       from   okc_k_vers_numbers
       where  chr_id = x_object_id
    for update of chr_id nowait;
Line: 507

    update OKE_K_FUND_ALLOCATIONS
    set
       amount		     	       =     X_Amount,
       previous_amount		       =     X_Previous_Amount,
       k_line_id		       =     X_K_Line_Id,
       project_id		       =     X_Project_Id,
       task_id			       =     X_Task_Id,
       hard_limit		       =     X_Hard_Limit,
       revenue_hard_limit	       =     X_Revenue_Hard_Limit,
       fund_type	  	       =     X_Fund_Type,
       funding_status		       =     X_Funding_Status,
       fiscal_year		       =     X_Fiscal_Year,
       reference1		       =     X_Reference1,
       reference2		       =     X_Reference2,
       reference3		       =     X_Reference3,
       pa_conversion_type	       =     X_PA_Conversion_Type,
       pa_conversion_date	       =     X_PA_Conversion_Date,
       pa_conversion_rate	       =     X_PA_Conversion_Rate,
       insert_update_flag 	       =     X_Insert_Update_Flag,
       start_date_active	       =     X_Start_Date_Active,
       end_date_active		       =     X_End_Date_Active,
       funding_category		       =     X_Funding_Category,
       updated_in_version	       =     l_version,
       last_update_date                =     X_Last_Update_Date,
       last_updated_by                 =     X_Last_Updated_By,
       last_update_login               =     X_Last_Update_Login,
       attribute_Category              =     X_Attribute_Category,
       attribute1                      =     X_Attribute1,
       attribute2                      =     X_Attribute2,
       attribute3                      =     X_Attribute3,
       attribute4                      =     X_Attribute4,
       attribute5                      =     X_Attribute5,
       attribute6                      =     X_Attribute6,
       attribute7                      =     X_Attribute7,
       attribute8                      =     X_Attribute8,
       attribute9                      =     X_Attribute9,
       attribute10                     =     X_Attribute10,
       attribute11                     =     X_Attribute11,
       attribute12                     =     X_Attribute12,
       attribute13                     =     X_Attribute13,
       attribute14                     =     X_Attribute14,
       attribute15                     =     X_Attribute15,
       pa_attribute_Category           =     X_PA_Attribute_Category,
       pa_attribute1                   =     X_PA_Attribute1,
       pa_attribute2                   =     X_PA_Attribute2,
       pa_attribute3                   =     X_PA_Attribute3,
       pa_attribute4                   =     X_PA_Attribute4,
       pa_attribute5                   =     X_PA_Attribute5,
       pa_attribute6                   =     X_PA_Attribute6,
       pa_attribute7                   =     X_PA_Attribute7,
       pa_attribute8                   =     X_PA_Attribute8,
       pa_attribute9                   =     X_PA_Attribute9,
       pa_attribute10                  =     X_PA_Attribute10
    where fund_allocation_id = X_Fund_Allocation_Id;
Line: 566

end Update_Row;
Line: 568

PROCEDURE Delete_Row(X_Rowid		 VARCHAR2
  		      ) is

begin

   DELETE FROM OKE_K_FUND_ALLOCATIONS
   WHERE rowid = X_Rowid;
Line: 580

end delete_row;