DBA Data[Home] [Help]

APPS.CE_TRANSACTION_CODES_PKG SQL Statements

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

Line: 39

  PROCEDURE Insert_Row(X_Rowid                   IN OUT NOCOPY VARCHAR2,
                       X_Transaction_Code_Id     IN OUT NOCOPY NUMBER,
                       X_Bank_Account_Id                NUMBER,
                       X_Trx_Code                       VARCHAR2,
                       X_Trx_Type                       VARCHAR2,
                       X_Description                    VARCHAR2,
                       X_Receivables_Trx_Id             NUMBER,
                       X_Receipt_Method_Id              NUMBER,
                       X_Create_Misc_Trx_Flag           VARCHAR2,
                       X_Reconcile_Flag		        VARCHAR2,
		       X_Float_Days			NUMBER,
		       X_Matching_Against		VARCHAR2,
		       X_Correction_Method		VARCHAR2,
		       X_Start_Date			DATE,
		       X_End_Date			DATE,
                       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_Last_Updated_By                NUMBER,
                       X_Last_Update_Date               DATE,
                       X_Last_Update_Login              NUMBER,
                       X_Created_By                     NUMBER,
                       X_Creation_Date                  DATE,
		       X_payroll_payment_format_Id      NUMBER DEFAULT NULL,
 			X_reconciliation_sequence      NUMBER
  ) IS
    CURSOR C IS SELECT rowid FROM CE_TRANSACTION_CODES
                 WHERE transaction_code_id = X_Transaction_Code_Id;
Line: 80

  CURSOR C2 IS SELECT ce_transaction_codes_s.nextval FROM sys.dual;
Line: 90

        cep_standard.debug('>>insert into CE_TRANSACTION_CODES ');
Line: 93

       INSERT INTO CE_TRANSACTION_CODES(
              transaction_code_id,
              bank_account_id,
              trx_code,
              trx_type,
              description,
              receivables_trx_id,
              receipt_method_id,
              create_misc_trx_flag,
	      reconcile_flag,
	      float_days,
	      matching_against,
	      correction_method,
	      start_date,
	      end_date,
              attribute_category,
              attribute1,
              attribute2,
              attribute3,
              attribute4,
              attribute5,
              attribute6,
              attribute7,
              attribute8,
              attribute9,
              attribute10,
              attribute11,
              attribute12,
              attribute13,
              attribute14,
              attribute15,
              last_updated_by,
              last_update_date,
              last_update_login,
              created_by,
              creation_date,
	      payroll_payment_format_id,
	      reconciliation_sequence
             ) VALUES (
              X_Transaction_Code_Id,
              X_Bank_Account_Id,
              X_Trx_Code,
              X_Trx_Type,
              X_Description,
              X_Receivables_Trx_Id,
              X_Receipt_Method_Id,
              X_Create_Misc_Trx_Flag,
	      X_Reconcile_Flag,
	      X_Float_Days,
	      X_Matching_Against,
	      X_Correction_Method,
	      X_Start_Date,
	      X_End_Date,
              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_Last_Updated_By,
              X_Last_Update_Date,
              X_Last_Update_Login,
              X_Created_By,
              X_Creation_Date,
	      X_payroll_payment_format_id,
	      X_reconciliation_sequence
             );
Line: 170

        cep_standard.debug('>>insert into CE_TRANSACTION_CODES end');
Line: 179

  END Insert_Row;
Line: 228

        SELECT *
        FROM   CE_TRANSACTION_CODES
        WHERE  rowid = X_Rowid
        FOR UPDATE of Transaction_Code_Id NOWAIT;
Line: 238

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

  PROCEDURE Update_Row(X_Rowid                          VARCHAR2,
                       X_Transaction_Code_Id            NUMBER,
                       X_Bank_Account_Id                NUMBER,
                       X_Trx_Code                       VARCHAR2,
                       X_Trx_Type                       VARCHAR2,
                       X_Description                    VARCHAR2,
                       X_Receivables_Trx_Id             NUMBER,
                       X_Receipt_Method_Id              NUMBER,
                       X_Create_Misc_Trx_Flag           VARCHAR2,
                       X_Reconcile_Flag		        VARCHAR2,
		       X_Float_Days			NUMBER,
		       X_Matching_Against		VARCHAR2,
		       X_Correction_Method		VARCHAR2,
		       X_Start_Date			DATE,
		       X_End_Date			DATE,
                       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_Last_Updated_By                NUMBER,
                       X_Last_Update_Date               DATE,
                       X_Last_Update_Login              NUMBER,
		       X_payroll_payment_format_id	NUMBER DEFAULT NULL,
 			X_reconciliation_sequence      NUMBER
  ) IS
  BEGIN
    UPDATE CE_TRANSACTION_CODES
    SET
       transaction_code_id             =     X_Transaction_Code_Id,
       bank_account_id                 =     X_Bank_Account_Id,
       trx_code                        =     X_Trx_Code,
       trx_type                        =     X_Trx_Type,
       description                     =     X_Description,
       receivables_trx_id              =     X_Receivables_Trx_Id,
       receipt_method_id               =     X_Receipt_Method_Id,
       create_misc_trx_flag            =     X_Create_Misc_Trx_Flag,
       reconcile_flag                  =     X_Reconcile_Flag,
       float_days		       =     X_Float_Days,
       matching_against		       =     X_Matching_Against,
       correction_method	       =     X_Correction_Method,
       start_date	 	       =     X_Start_Date,
       end_date		 	       =     X_End_Date,
       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,
       last_updated_by                 =     X_Last_Updated_By,
       last_update_date                =     X_Last_Update_Date,
       last_update_login               =     X_Last_Update_Login,
       payroll_payment_format_id       =     X_payroll_payment_format_id,
	reconciliation_sequence		=    X_reconciliation_sequence
    WHERE rowid = X_Rowid;
Line: 432

  END Update_Row;
Line: 446

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

  END Delete_Row;
Line: 493

  SELECT 'Duplicate'
  FROM   ce_transaction_codes tc
  WHERE  tc.trx_code 	= X_trx_code
  AND   tc. bank_account_id = X_bank_account_id
  AND    (    X_Row_id is null
           OR tc.rowid <> chartorowid( X_Row_id ) )
  AND  exists (select 'x'
		from ce_transaction_codes tc2
		where  tc2.trx_code 	   = tc.trx_code
		  AND  tc2.bank_account_id = tc.bank_account_id
		  AND  tc2.TRX_TYPE 	   <> X_trx_type
		) ;
Line: 508

  SELECT 'Duplicate'
  FROM   ce_transaction_codes tc
  WHERE  tc.trx_code 	= X_trx_code
  AND    tc.bank_account_id = X_bank_account_id
  --AND 	tc.TRX_TYPE 	= X_trx_type
  AND nvl(tc.RECONCILIATION_SEQUENCE,0) = nvl(X_RECONCILIATION_SEQUENCE,0)
  AND    (    X_Row_id is null
           OR tc.rowid <> chartorowid( X_Row_id ) );
Line: 516

/*  AND  exists (select 'x'
		from ce_transaction_codes tc2
		where  tc2.trx_code 	   = tc.trx_code
		  AND  tc2.bank_account_id = tc.bank_account_id
		  AND  tc2.TRX_TYPE 	   <> X_trx_type
		) ;*/
Line: 525

  SELECT 'Duplicate'
  FROM   ce_transaction_codes tc
  WHERE  tc.trx_code 	= X_trx_code
  AND   tc. bank_account_id = X_bank_account_id
  --AND 	tc.TRX_TYPE 	= X_trx_type
  AND   nvl(tc.RECONCILE_FLAG, 'X') = nvl(X_RECONCILE_FLAG, 'X')
  AND    (    X_Row_id is null
           OR tc.rowid <> chartorowid( X_Row_id ) );
Line: 607

  SELECT 'Exists'
  FROM   ce_statement_lines sl
  WHERE  sl.trx_code_id = X_ce_transaction_code_id;
Line: 612

  SELECT 'Exists'
  FROM   ce_arch_lines al
  WHERE  al.trx_code_id = X_ce_transaction_code_id;