DBA Data[Home] [Help]

APPS.GL_AUTOPOST_OPTIONS_PKG SQL Statements

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

Line: 16

      SELECT 'Duplicate'
      FROM   GL_AUTOMATIC_POSTING_OPTIONS apo
      WHERE  apo.autopost_set_id = x_autopost_set_id
      AND    apo.ledger_id = x_ledger_id
      AND    apo.actual_flag = x_actual_flag
      AND    apo.period_name = x_period_name
      AND    apo.je_source_name = x_source_name
      AND    apo.je_category_name = x_category_name
      AND    (   row_id is null
              OR apo.rowid <> row_id);
Line: 49

PROCEDURE Insert_Row(X_Rowid                        IN OUT NOCOPY VARCHAR2,
                     X_Autopost_Set_Id                     NUMBER,
                     X_Ledger_Id                           NUMBER,
                     X_Actual_Flag                         VARCHAR2,
                     X_Period_Name                         VARCHAR2,
                     X_Je_Source_Name                      VARCHAR2,
                     X_Je_Category_Name                    VARCHAR2,
                     X_Posting_Priority                    NUMBER,
                     X_Last_Update_Date                    DATE,
                     X_Last_Updated_By                     NUMBER,
                     X_Creation_Date                       DATE,
                     X_Created_By                          NUMBER,
                     X_Last_Update_Login                   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_OPTIONS
             WHERE autopost_set_id = X_autopost_set_id
             AND   ledger_id = X_ledger_Id
             AND   actual_flag = X_Actual_Flag
             AND   period_name = X_Period_Name
             AND   je_source_name = X_Je_Source_Name
             AND   je_category_name = X_Je_Category_Name;
Line: 89

  INSERT INTO GL_AUTOMATIC_POSTING_OPTIONS(
	  autopost_set_id,
          ledger_id,
	  actual_flag,
	  period_name,
	  je_source_name,
	  je_category_name,
          posting_priority,
          last_update_date,
          last_updated_by,
          creation_date,
          created_by,
          last_update_login,
          attribute1,
          attribute2,
          attribute3,
          attribute4,
          attribute5,
          attribute6,
          attribute7,
          attribute8,
          attribute9,
          attribute10,
          attribute11,
          attribute12,
          attribute13,
          attribute14,
          attribute15,
          context
         ) VALUES (
          X_Autopost_Set_Id,
          X_Ledger_Id,
          X_Actual_Flag,
          X_Period_Name,
          X_Je_Source_Name,
          X_Je_Category_Name,
          X_Posting_Priority,
          X_Last_Update_Date,
          X_Last_Updated_By,
          X_Creation_Date,
          X_Created_By,
          X_Last_Update_Login,
          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: 157

END Insert_Row;
Line: 185

      SELECT *
      FROM   GL_AUTOMATIC_POSTING_OPTIONS
      WHERE  rowid = X_Rowid
      FOR UPDATE of autopost_set_id NOWAIT;
Line: 276

PROCEDURE Update_Row(X_Rowid                               VARCHAR2,
                     X_Autopost_Set_ID                     NUMBER,
                     X_Ledger_Id                           NUMBER,
                     X_Actual_Flag                         VARCHAR2,
                     X_Period_Name                         VARCHAR2,
                     X_Je_Source_Name                      VARCHAR2,
                     X_Je_Category_Name                    VARCHAR2,
                     X_Posting_Priority                    NUMBER,
                     X_Last_Update_Date                    DATE,
                     X_Last_Updated_By                     NUMBER,
                     X_Last_Update_Login                   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_OPTIONS
  SET

    autopost_set_id                           =    X_Autopost_Set_Id,
    ledger_id                                 =    X_Ledger_Id,
    actual_flag                               =    X_Actual_Flag,
    period_name                               =    X_Period_Name,
    je_source_name                            =    X_Je_Source_Name,
    je_category_name                          =    X_Je_Category_Name,
    posting_priority                          =    X_Posting_Priority,
    last_update_date                          =    X_Last_Update_Date,
    last_updated_by                           =    X_Last_Updated_By,
    last_update_login                         =    X_Last_Update_Login,
    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: 340

END Update_Row;
Line: 343

PROCEDURE Delete_Row(X_Rowid VARCHAR2) IS
BEGIN
  DELETE FROM GL_AUTOMATIC_POSTING_OPTIONS
  WHERE  rowid = X_Rowid;
Line: 351

END Delete_Row;