DBA Data[Home] [Help]

APPS.GL_AUTOPOST_SETS_PKG SQL Statements

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

Line: 14

      SELECT 'Duplicate'
      FROM   GL_AUTOMATIC_POSTING_SETS sets
      WHERE  sets.autopost_set_name = x_autopost_set_name
      AND    sets.chart_of_accounts_id = x_Chart_Of_Accounts_Id
      AND    sets.period_set_name = x_Period_Set_Name
      AND    sets.accounted_period_type = x_Accounted_Period_Type
      AND    (   row_id is null
              OR sets.rowid <> row_id);
Line: 45

PROCEDURE Insert_Row(X_Rowid	             IN OUT NOCOPY VARCHAR2,
		     X_Autopost_Set_Id       IN OUT NOCOPY NUMBER,
                     X_Autopost_Set_Name                   VARCHAR2,
                     X_Chart_Of_Accounts_Id                NUMBER,
                     X_Period_Set_Name                     VARCHAR2,
                     X_Accounted_Period_Type               VARCHAR2,
                     X_Enabled_Flag                        VARCHAR2,
                     X_Security_Flag                       VARCHAR2,
                     X_Submit_All_Priorities_Flag          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_description			   VARCHAR2,
		     X_num_of_priority_options             NUMBER,
		     X_effective_days_before               NUMBER,
		     X_effective_days_after                NUMBER,
                     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_Context                             VARCHAR2
 ) IS
   CURSOR C IS SELECT rowid FROM GL_AUTOMATIC_POSTING_SETS
             WHERE autopost_set_id = X_autopost_set_id
             AND   autopost_set_name = X_autopost_set_name;
Line: 84

   CURSOR C2 IS SELECT gl_automatic_posting_sets_s.nextval FROM DUAL;
Line: 94

  INSERT INTO GL_AUTOMATIC_POSTING_SETS(
	  autopost_set_id,
	  autopost_set_name,
          chart_of_accounts_id,
          period_set_name,
          accounted_period_type,
	  enabled_flag,
          security_flag,
	  submit_all_priorities_flag,
          last_update_date,
          last_updated_by,
          creation_date,
          created_by,
          last_update_login,
	  description,
	  num_of_priority_options,
	  effective_days_before,
	  effective_days_after,
          attribute1,
          attribute2,
          attribute3,
          attribute4,
          attribute5,
          attribute6,
          attribute7,
          attribute8,
          attribute9,
          attribute10,
          attribute11,
          attribute12,
          attribute13,
          attribute14,
          attribute15,
          context
         ) VALUES (
          X_Autopost_Set_Id,
          X_Autopost_Set_Name,
          X_Chart_Of_Accounts_Id,
          X_Period_Set_Name,
          X_Accounted_Period_Type,
          X_Enabled_Flag,
          X_Security_Flag,
          X_Submit_All_Priorities_Flag,
          X_Last_Update_Date,
          X_Last_Updated_By,
          X_Creation_Date,
          X_Created_By,
          X_Last_Update_Login,
	  X_Description,
	  X_Num_Of_Priority_Options,
	  X_Effective_Days_Before,
	  X_Effective_Days_After,
          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_Context

  );
Line: 172

END Insert_Row;
Line: 205

      SELECT *
      FROM   GL_AUTOMATIC_POSTING_SETS
      WHERE  rowid = X_Rowid
      FOR UPDATE of autopost_set_id NOWAIT;
Line: 311

PROCEDURE Update_Row(X_Rowid                 IN OUT NOCOPY VARCHAR2,
                     X_Autopost_Set_ID       IN OUT NOCOPY NUMBER,
                     X_Autopost_Set_Name                   VARCHAR2,
                     X_Chart_Of_Accounts_Id                NUMBER,
                     X_Period_Set_Name                     VARCHAR2,
                     X_Accounted_Period_Type               VARCHAR2,
                     X_Enabled_Flag                        VARCHAR2,
                     X_Security_Flag                       VARCHAR2,
                     X_Submit_All_Priorities_Flag          VARCHAR2,
                     X_Last_Update_Date                    DATE,
                     X_Last_Updated_By                     NUMBER,
                     X_Last_Update_Login                   NUMBER,
                     X_Creation_Date                       DATE,
                     X_Created_By                          NUMBER,
                     X_Description                         VARCHAR2,
                     X_Num_Of_Priority_Options             NUMBER,
                     X_Effective_Days_Before               NUMBER,
                     X_Effective_Days_After                NUMBER,
                     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_Context                             VARCHAR2
) IS
BEGIN
  UPDATE GL_AUTOMATIC_POSTING_SETS
  SET

    autopost_set_id                           =    X_Autopost_Set_Id,
    autopost_set_name                         =    X_autopost_set_name,
    chart_of_accounts_id                      =    X_Chart_Of_Accounts_Id,
    period_set_name                           =    X_Period_Set_Name,
    accounted_period_type                     =    X_Accounted_Period_Type,
    enabled_flag                              =    X_enabled_flag,
    security_flag                             =    X_Security_Flag,
    submit_all_priorities_flag                =    X_submit_all_priorities_flag,
    last_update_date                          =    X_Last_Update_Date,
    last_updated_by                           =    X_Last_Updated_By,
    last_update_login                         =    X_Last_Update_Login,
    creation_date			      =    X_Creation_Date,
    created_by                                =    X_Created_By,
    description                               =    X_Description,
    num_of_priority_options                   =    X_Num_Of_Priority_Options,
    effective_days_before                     =    X_effective_days_before,
    effective_days_after                      =    X_effective_days_after,
    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,
    context                                   =    X_Context
  WHERE rowid = X_rowid;
Line: 389

END Update_Row;
Line: 392

PROCEDURE Delete_Row(X_Rowid                        IN OUT NOCOPY VARCHAR2,
                     X_Autopost_Set_ID              IN OUT NOCOPY NUMBER ) IS
BEGIN
  DELETE FROM GL_AUTOMATIC_POSTING_OPTIONS
  WHERE  autopost_set_id = X_Autopost_Set_Id;
Line: 398

  DELETE FROM GL_AUTOMATIC_POSTING_SETS
  WHERE  rowid = X_Rowid;
Line: 404

END Delete_Row;