DBA Data[Home] [Help]

APPS.CE_STAT_LINES_INF_PKG SQL Statements

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

Line: 17

  PROCEDURE Insert_Row(X_Rowid                   IN OUT NOCOPY VARCHAR2,
                       X_Bank_Account_Num               VARCHAR2,
                       X_Statement_Number               VARCHAR2,
                       X_Line_Number                    NUMBER,
                       X_Trx_Date                       DATE,
                       X_Trx_Code                       VARCHAR2,
                       X_Effective_Date                 DATE,
                       X_Trx_Text                       VARCHAR2,
                       X_Invoice_Text                   VARCHAR2,
		       X_Bank_Account_Text		VARCHAR2,
                       X_Amount                         NUMBER,
                       X_Charges_Amount                 NUMBER,
		       X_Currency_Code                  VARCHAR2,
                       X_Exchange_Rate                  NUMBER,
                       X_user_exchange_rate_type        VARCHAR2,
                       X_exchange_rate_date		DATE,
		       X_original_amount		NUMBER,
                       X_Bank_Trx_Number                VARCHAR2,
                       X_Customer_Text                  VARCHAR2,
                       X_Created_By                     NUMBER,
                       X_Creation_Date                  DATE,
                       X_Last_Updated_By                NUMBER,
                       X_Last_Update_Date               DATE,
                       X_Attribute_Category             VARCHAR2,
                       X_Attribute1                     VARCHAR2,
                       X_Attribute10                    VARCHAR2,
                       X_Attribute11                    VARCHAR2,
                       X_Attribute12                    VARCHAR2,
                       X_Attribute13                    VARCHAR2,
                       X_Attribute14                    VARCHAR2,
                       X_Attribute15                    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
  ) IS
    CURSOR C IS SELECT rowid FROM CE_STATEMENT_LINES_INTERFACE
                 WHERE statement_number = X_Statement_Number
                 AND   bank_account_num = X_Bank_Account_Num
                 AND   line_number = X_Line_Number;
Line: 65

       INSERT INTO CE_STATEMENT_LINES_INTERFACE(
              bank_account_num,
              statement_number,
              line_number,
              trx_date,
              trx_code,
              effective_date,
              trx_text,
              invoice_text,
	      bank_account_text,
              amount,
	      charges_amount,
              currency_code,
              exchange_rate,
   	      user_exchange_rate_type,
	      exchange_rate_date,
              original_amount,
              bank_trx_number,
              customer_text,
              created_by,
              creation_date,
              last_updated_by,
              last_update_date,
              attribute_category,
              attribute1,
              attribute10,
              attribute11,
              attribute12,
              attribute13,
              attribute14,
              attribute15,
              attribute2,
              attribute3,
              attribute4,
              attribute5,
              attribute6,
              attribute7,
              attribute8,
              attribute9

             ) VALUES (

              X_Bank_Account_Num,
              X_Statement_Number,
              X_Line_Number,
              X_Trx_Date,
              X_Trx_Code,
              X_Effective_Date,
              X_Trx_Text,
              X_Invoice_Text,
	      X_Bank_Account_Text,
              X_Amount,
	      X_Charges_Amount,
              X_Currency_Code,
              X_Exchange_Rate,
   	      X_user_exchange_rate_type,
	      X_exchange_rate_date,
	      X_original_amount,
              X_Bank_Trx_Number,
              X_Customer_Text,
              X_Created_By,
              X_Creation_Date,
              X_Last_Updated_By,
              X_Last_Update_Date,
              X_Attribute_Category,
              X_Attribute1,
              X_Attribute10,
              X_Attribute11,
              X_Attribute12,
              X_Attribute13,
              X_Attribute14,
              X_Attribute15,
              X_Attribute2,
              X_Attribute3,
              X_Attribute4,
              X_Attribute5,
              X_Attribute6,
              X_Attribute7,
              X_Attribute8,
              X_Attribute9
             );
Line: 154

  END Insert_Row;
Line: 194

        SELECT *
        FROM   CE_STATEMENT_LINES_INTERFACE
        WHERE  rowid = X_Rowid
        FOR UPDATE of Statement_Number NOWAIT;
Line: 206

      FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_DELETED');
Line: 316

  PROCEDURE Update_Row(X_Rowid                          VARCHAR2,
                       X_Bank_Account_Num               VARCHAR2,
                       X_Statement_Number               VARCHAR2,
                       X_Line_Number                    NUMBER,
                       X_Trx_Date                       DATE,
                       X_Trx_Code                       VARCHAR2,
                       X_Effective_Date                 DATE,
                       X_Trx_Text                       VARCHAR2,
                       X_Invoice_Text                   VARCHAR2,
		       X_Bank_Account_Text		VARCHAR2,
                       X_Amount                         NUMBER,
                       X_Charges_Amount                         NUMBER,
		       X_Currency_Code                  VARCHAR2,
                       X_Exchange_Rate                  NUMBER,
                       X_user_exchange_rate_type        VARCHAR2,
                       X_exchange_rate_date		DATE,
		       X_original_amount		NUMBER,
                       X_Bank_Trx_Number                VARCHAR2,
                       X_Customer_Text                  VARCHAR2,
                       X_Last_Updated_By                NUMBER,
                       X_Last_Update_Date               DATE,
                       X_Attribute_Category             VARCHAR2,
                       X_Attribute1                     VARCHAR2,
                       X_Attribute10                    VARCHAR2,
                       X_Attribute11                    VARCHAR2,
                       X_Attribute12                    VARCHAR2,
                       X_Attribute13                    VARCHAR2,
                       X_Attribute14                    VARCHAR2,
                       X_Attribute15                    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

  ) IS
  BEGIN
    UPDATE CE_STATEMENT_LINES_INTERFACE
    SET
       bank_account_num                =     X_Bank_Account_Num,
       statement_number                =     X_Statement_Number,
       line_number                     =     X_Line_Number,
       trx_date                        =     X_Trx_Date,
       trx_code                        =     X_Trx_Code,
       effective_date                  =     X_Effective_Date,
       trx_text                        =     X_Trx_Text,
       invoice_text                    =     X_Invoice_Text,
       bank_account_text	       =     X_Bank_Account_Text,
       amount                          =     X_Amount,
       charges_amount                  =     X_Charges_Amount,
       currency_code                   =     X_Currency_Code,
       exchange_rate                   =     X_Exchange_Rate,
       user_exchange_rate_type	       =     X_user_exchange_rate_type,
       exchange_rate_date	       =     X_exchange_rate_date,
       original_amount		       =     X_original_amount,
       bank_trx_number                 =     X_Bank_Trx_Number,
       customer_text                   =     X_Customer_Text,
       last_updated_by                 =     X_Last_Updated_By,
       last_update_date                =     X_Last_Update_Date,
       attribute_category              =     X_Attribute_Category,
       attribute1                      =     X_Attribute1,
       attribute10                     =     X_Attribute10,
       attribute11                     =     X_Attribute11,
       attribute12                     =     X_Attribute12,
       attribute13                     =     X_Attribute13,
       attribute14                     =     X_Attribute14,
       attribute15                     =     X_Attribute15,
       attribute2                      =     X_Attribute2,
       attribute3                      =     X_Attribute3,
       attribute4                      =     X_Attribute4,
       attribute5                      =     X_Attribute5,
       attribute6                      =     X_Attribute6,
       attribute7                      =     X_Attribute7,
       attribute8                      =     X_Attribute8,
       attribute9                      =     X_Attribute9
    WHERE rowid = X_Rowid;
Line: 399

  END Update_Row;
Line: 400

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

  END Delete_Row;
Line: 415

      SELECT 'Duplicate'
      FROM   CE_STATEMENT_LINES_INTERFACE csr
      WHERE  csr.statement_number       = X_statement_number
      AND    csr.bank_account_num       = X_bank_account_num
      AND    csr.line_number            = X_line_number
      AND    (   X_row_id is null
              OR csr.rowid <> chartorowid(X_row_id));