DBA Data[Home] [Help]

APPS.GL_AUTHORIZATION_LIMITS_PKG SQL Statements

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

Line: 23

PROCEDURE Insert_Row(X_Rowid                        IN OUT NOCOPY VARCHAR2,
                     X_Ledger_Id                           NUMBER,
                     X_Employee_Id                         NUMBER,
                     X_Authorization_Limit                 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_AUTHORIZATION_LIMITS
             WHERE ledger_id = X_Ledger_Id
             AND   employee_id = X_Employee_Id;
Line: 53

  INSERT INTO GL_AUTHORIZATION_LIMITS(
          ledger_id,
          employee_id,
          authorization_limit,
          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_Ledger_Id,
          X_Employee_Id,
          X_Authorization_Limit,
          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: 112

END Insert_Row;
Line: 149

      SELECT *
      FROM   GL_AUTHORIZATION_LIMITS
      WHERE  rowid = X_Rowid
      FOR UPDATE of Ledger_Id NOWAIT;
Line: 242

PROCEDURE Update_Row(X_Rowid                               VARCHAR2,
                     X_Ledger_Id                           NUMBER,
                     X_Employee_Id                         NUMBER,
                     X_Authorization_Limit                 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_AUTHORIZATION_LIMITS
  SET
    ledger_id                                 =    X_Ledger_Id,
    employee_id                               =    X_Employee_Id,
    authorization_limit                       =    X_Authorization_Limit,
    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: 297

END Update_Row;
Line: 312

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

END Delete_Row;
Line: 346

        SELECT 1
        INTO dummy
        FROM dual
        WHERE EXISTS
                 (SELECT 1
                  FROM   GL_AUTHORIZATION_LIMITS A
                  WHERE  A.ledger_id = X_Ledger_Id
                    AND  A.employee_id = X_Employee_Id
                    AND  ( A.rowid <> X_Rowid  or X_Rowid is null));
Line: 356

        SELECT 1
        INTO dummy
        FROM dual
        WHERE EXISTS
                 (SELECT 1
                  FROM   GL_AUTHORIZATION_LIMITS_V A
                  WHERE  A.ledger_id = X_Ledger_Id
                    AND  A.employee_name = X_employee_name
                    AND  ( A.rowid <> X_Rowid  or X_Rowid is null));