DBA Data[Home] [Help]

APPS.OZF_AE_HEADERS_PKG SQL Statements

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

Line: 37

PROCEDURE Insert_Row(
          px_ae_header_id   IN OUT NOCOPY NUMBER,
          px_object_version_number   IN OUT NOCOPY NUMBER,
          p_last_update_date    DATE,
          p_last_updated_by    NUMBER,
          p_creation_date    DATE,
          p_created_by    NUMBER,
          p_last_update_login    NUMBER,
          p_request_id    NUMBER,
          p_program_application_id    NUMBER,
          p_program_update_date    DATE,
          p_program_id    NUMBER,
          p_accounting_event_id    NUMBER,
          p_accounting_date    DATE,
          p_accounting_error_code    VARCHAR2,
          p_ae_category    VARCHAR2,
          p_ae_sequence_id    NUMBER,
          p_ae_sequence_value    NUMBER,
          p_cross_currency_flag    VARCHAR2,
          p_description    VARCHAR2,
          p_gl_reversal_flag    VARCHAR2,
          p_gl_transfer_error_code    VARCHAR2,
          p_gl_transfer_flag    VARCHAR2,
          p_gl_transfer_run_id    NUMBER,
          px_org_id   IN OUT NOCOPY NUMBER,
          p_period_name    VARCHAR2,
          p_set_of_books_id    NUMBER,
          p_attribute_category    VARCHAR2,
          p_attribute1    VARCHAR2,
          p_attribute2    VARCHAR2,
          p_attribute3    VARCHAR2,
          p_attribute4    VARCHAR2,
          p_attribute5    VARCHAR2,
          p_attribute6    VARCHAR2,
          p_attribute7    VARCHAR2,
          p_attribute8    VARCHAR2,
          p_attribute9    VARCHAR2,
          p_attribute10    VARCHAR2,
          p_attribute11    VARCHAR2,
          p_attribute12    VARCHAR2,
          p_attribute13    VARCHAR2,
          p_attribute14    VARCHAR2,
          p_attribute15    VARCHAR2)

 IS
   x_rowid    VARCHAR2(30);
Line: 88

       SELECT NVL(SUBSTRB(USERENV('CLIENT_INFO'),1,10),-99)
       INTO px_org_id
       FROM DUAL;
Line: 97

   INSERT INTO OZF_AE_HEADERS_ALL(
           ae_header_id,
           object_version_number,
           last_update_date,
           last_updated_by,
           creation_date,
           created_by,
           last_update_login,
           request_id,
           program_application_id,
           program_update_date,
           program_id,
           accounting_event_id,
           accounting_date,
           accounting_error_code,
           ae_category,
           ae_sequence_id,
           ae_sequence_value,
           cross_currency_flag,
           description,
           gl_reversal_flag,
           gl_transfer_error_code,
           gl_transfer_flag,
           gl_transfer_run_id,
           org_id,
           period_name,
           set_of_books_id,
           attribute_category,
           attribute1,
           attribute2,
           attribute3,
           attribute4,
           attribute5,
           attribute6,
           attribute7,
           attribute8,
           attribute9,
           attribute10,
           attribute11,
           attribute12,
           attribute13,
           attribute14,
           attribute15
   ) VALUES (
           px_ae_header_id,
           px_object_version_number,
           p_last_update_date,
           p_last_updated_by,
           p_creation_date,
           p_created_by,
           p_last_update_login,
           p_request_id,
           p_program_application_id,
           p_program_update_date,
           p_program_id,
           p_accounting_event_id,
           p_accounting_date,
           p_accounting_error_code,
           p_ae_category,
           p_ae_sequence_id,
           p_ae_sequence_value,
           p_cross_currency_flag,
           p_description,
           p_gl_reversal_flag,
           p_gl_transfer_error_code,
           p_gl_transfer_flag,
           p_gl_transfer_run_id,
           px_org_id,
           p_period_name,
           p_set_of_books_id,
           p_attribute_category,
           p_attribute1,
           p_attribute2,
           p_attribute3,
           p_attribute4,
           p_attribute5,
           p_attribute6,
           p_attribute7,
           p_attribute8,
           p_attribute9,
           p_attribute10,
           p_attribute11,
           p_attribute12,
           p_attribute13,
           p_attribute14,
           p_attribute15);
Line: 183

END Insert_Row;
Line: 202

PROCEDURE Update_Row(
          p_ae_header_id    NUMBER,
          p_object_version_number    NUMBER,
          p_last_update_date    DATE,
          p_last_updated_by    NUMBER,
          p_last_update_login    NUMBER,
          p_request_id    NUMBER,
          p_program_application_id    NUMBER,
          p_program_update_date    DATE,
          p_program_id    NUMBER,
          p_accounting_event_id    NUMBER,
          p_accounting_date    DATE,
          p_accounting_error_code    VARCHAR2,
          p_ae_category    VARCHAR2,
          p_ae_sequence_id    NUMBER,
          p_ae_sequence_value    NUMBER,
          p_cross_currency_flag    VARCHAR2,
          p_description    VARCHAR2,
          p_gl_reversal_flag    VARCHAR2,
          p_gl_transfer_error_code    VARCHAR2,
          p_gl_transfer_flag    VARCHAR2,
          p_gl_transfer_run_id    NUMBER,
          p_org_id    NUMBER,
          p_period_name    VARCHAR2,
          p_set_of_books_id    NUMBER,
          p_attribute_category    VARCHAR2,
          p_attribute1    VARCHAR2,
          p_attribute2    VARCHAR2,
          p_attribute3    VARCHAR2,
          p_attribute4    VARCHAR2,
          p_attribute5    VARCHAR2,
          p_attribute6    VARCHAR2,
          p_attribute7    VARCHAR2,
          p_attribute8    VARCHAR2,
          p_attribute9    VARCHAR2,
          p_attribute10    VARCHAR2,
          p_attribute11    VARCHAR2,
          p_attribute12    VARCHAR2,
          p_attribute13    VARCHAR2,
          p_attribute14    VARCHAR2,
          p_attribute15    VARCHAR2)

 IS
 BEGIN
    Update OZF_AE_HEADERS_ALL
    SET
              ae_header_id = p_ae_header_id,
              object_version_number = p_object_version_number,
              last_update_date = p_last_update_date,
              last_updated_by = p_last_updated_by,
              last_update_login = p_last_update_login,
              request_id = p_request_id,
              program_application_id = p_program_application_id,
              program_update_date = p_program_update_date,
              program_id = p_program_id,
              accounting_event_id = p_accounting_event_id,
              accounting_date = p_accounting_date,
              accounting_error_code = p_accounting_error_code,
              ae_category = p_ae_category,
              ae_sequence_id = p_ae_sequence_id,
              ae_sequence_value = p_ae_sequence_value,
              cross_currency_flag = p_cross_currency_flag,
              description = p_description,
              gl_reversal_flag = p_gl_reversal_flag,
              gl_transfer_error_code = p_gl_transfer_error_code,
              gl_transfer_flag = p_gl_transfer_flag,
              gl_transfer_run_id = p_gl_transfer_run_id,
              org_id = p_org_id,
              period_name = p_period_name,
              set_of_books_id = p_set_of_books_id,
              attribute_category = p_attribute_category,
              attribute1 = p_attribute1,
              attribute2 = p_attribute2,
              attribute3 = p_attribute3,
              attribute4 = p_attribute4,
              attribute5 = p_attribute5,
              attribute6 = p_attribute6,
              attribute7 = p_attribute7,
              attribute8 = p_attribute8,
              attribute9 = p_attribute9,
              attribute10 = p_attribute10,
              attribute11 = p_attribute11,
              attribute12 = p_attribute12,
              attribute13 = p_attribute13,
              attribute14 = p_attribute14,
              attribute15 = p_attribute15
   WHERE AE_HEADER_ID = p_AE_HEADER_ID
   AND   object_version_number = p_object_version_number;
Line: 294

END Update_Row;
Line: 313

PROCEDURE Delete_Row(
    p_AE_HEADER_ID  NUMBER)
 IS
 BEGIN
   DELETE FROM OZF_AE_HEADERS_ALL
    WHERE AE_HEADER_ID = p_AE_HEADER_ID;
Line: 322

 END Delete_Row ;
Line: 345

          p_last_update_date    DATE,
          p_last_updated_by    NUMBER,
          p_creation_date    DATE,
          p_created_by    NUMBER,
          p_last_update_login    NUMBER,
          p_request_id    NUMBER,
          p_program_application_id    NUMBER,
          p_program_update_date    DATE,
          p_program_id    NUMBER,
          p_accounting_event_id    NUMBER,
          p_accounting_date    DATE,
          p_accounting_error_code    VARCHAR2,
          p_ae_category    VARCHAR2,
          p_ae_sequence_id    NUMBER,
          p_ae_sequence_value    NUMBER,
          p_cross_currency_flag    VARCHAR2,
          p_description    VARCHAR2,
          p_gl_reversal_flag    VARCHAR2,
          p_gl_transfer_error_code    VARCHAR2,
          p_gl_transfer_flag    VARCHAR2,
          p_gl_transfer_run_id    NUMBER,
          p_org_id    NUMBER,
          p_period_name    VARCHAR2,
          p_set_of_books_id    NUMBER,
          p_attribute_category    VARCHAR2,
          p_attribute1    VARCHAR2,
          p_attribute2    VARCHAR2,
          p_attribute3    VARCHAR2,
          p_attribute4    VARCHAR2,
          p_attribute5    VARCHAR2,
          p_attribute6    VARCHAR2,
          p_attribute7    VARCHAR2,
          p_attribute8    VARCHAR2,
          p_attribute9    VARCHAR2,
          p_attribute10    VARCHAR2,
          p_attribute11    VARCHAR2,
          p_attribute12    VARCHAR2,
          p_attribute13    VARCHAR2,
          p_attribute14    VARCHAR2,
          p_attribute15    VARCHAR2)

 IS
   CURSOR C IS
        SELECT *
         FROM OZF_AE_HEADERS_ALL
        WHERE AE_HEADER_ID =  p_AE_HEADER_ID
        FOR UPDATE of AE_HEADER_ID NOWAIT;
Line: 407

       AND (    ( Recinfo.last_update_date = p_last_update_date)
            OR (    ( Recinfo.last_update_date IS NULL )
                AND (  p_last_update_date IS NULL )))
       AND (    ( Recinfo.last_updated_by = p_last_updated_by)
            OR (    ( Recinfo.last_updated_by IS NULL )
                AND (  p_last_updated_by IS NULL )))
       AND (    ( Recinfo.creation_date = p_creation_date)
            OR (    ( Recinfo.creation_date IS NULL )
                AND (  p_creation_date IS NULL )))
       AND (    ( Recinfo.created_by = p_created_by)
            OR (    ( Recinfo.created_by IS NULL )
                AND (  p_created_by IS NULL )))
       AND (    ( Recinfo.last_update_login = p_last_update_login)
            OR (    ( Recinfo.last_update_login IS NULL )
                AND (  p_last_update_login IS NULL )))
       AND (    ( Recinfo.request_id = p_request_id)
            OR (    ( Recinfo.request_id IS NULL )
                AND (  p_request_id IS NULL )))
       AND (    ( Recinfo.program_application_id = p_program_application_id)
            OR (    ( Recinfo.program_application_id IS NULL )
                AND (  p_program_application_id IS NULL )))
       AND (    ( Recinfo.program_update_date = p_program_update_date)
            OR (    ( Recinfo.program_update_date IS NULL )
                AND (  p_program_update_date IS NULL )))
       AND (    ( Recinfo.program_id = p_program_id)
            OR (    ( Recinfo.program_id IS NULL )
                AND (  p_program_id IS NULL )))
       AND (    ( Recinfo.accounting_event_id = p_accounting_event_id)
            OR (    ( Recinfo.accounting_event_id IS NULL )
                AND (  p_accounting_event_id IS NULL )))
       AND (    ( Recinfo.accounting_date = p_accounting_date)
            OR (    ( Recinfo.accounting_date IS NULL )
                AND (  p_accounting_date IS NULL )))
       AND (    ( Recinfo.accounting_error_code = p_accounting_error_code)
            OR (    ( Recinfo.accounting_error_code IS NULL )
                AND (  p_accounting_error_code IS NULL )))
       AND (    ( Recinfo.ae_category = p_ae_category)
            OR (    ( Recinfo.ae_category IS NULL )
                AND (  p_ae_category IS NULL )))
       AND (    ( Recinfo.ae_sequence_id = p_ae_sequence_id)
            OR (    ( Recinfo.ae_sequence_id IS NULL )
                AND (  p_ae_sequence_id IS NULL )))
       AND (    ( Recinfo.ae_sequence_value = p_ae_sequence_value)
            OR (    ( Recinfo.ae_sequence_value IS NULL )
                AND (  p_ae_sequence_value IS NULL )))
       AND (    ( Recinfo.cross_currency_flag = p_cross_currency_flag)
            OR (    ( Recinfo.cross_currency_flag IS NULL )
                AND (  p_cross_currency_flag IS NULL )))
       AND (    ( Recinfo.description = p_description)
            OR (    ( Recinfo.description IS NULL )
                AND (  p_description IS NULL )))
       AND (    ( Recinfo.gl_reversal_flag = p_gl_reversal_flag)
            OR (    ( Recinfo.gl_reversal_flag IS NULL )
                AND (  p_gl_reversal_flag IS NULL )))
       AND (    ( Recinfo.gl_transfer_error_code = p_gl_transfer_error_code)
            OR (    ( Recinfo.gl_transfer_error_code IS NULL )
                AND (  p_gl_transfer_error_code IS NULL )))
       AND (    ( Recinfo.gl_transfer_flag = p_gl_transfer_flag)
            OR (    ( Recinfo.gl_transfer_flag IS NULL )
                AND (  p_gl_transfer_flag IS NULL )))
       AND (    ( Recinfo.gl_transfer_run_id = p_gl_transfer_run_id)
            OR (    ( Recinfo.gl_transfer_run_id IS NULL )
                AND (  p_gl_transfer_run_id IS NULL )))
       AND (    ( Recinfo.org_id = p_org_id)
            OR (    ( Recinfo.org_id IS NULL )
                AND (  p_org_id IS NULL )))
       AND (    ( Recinfo.period_name = p_period_name)
            OR (    ( Recinfo.period_name IS NULL )
                AND (  p_period_name IS NULL )))
       AND (    ( Recinfo.set_of_books_id = p_set_of_books_id)
            OR (    ( Recinfo.set_of_books_id IS NULL )
                AND (  p_set_of_books_id IS NULL )))
       AND (    ( Recinfo.attribute_category = p_attribute_category)
            OR (    ( Recinfo.attribute_category IS NULL )
                AND (  p_attribute_category IS NULL )))
       AND (    ( Recinfo.attribute1 = p_attribute1)
            OR (    ( Recinfo.attribute1 IS NULL )
                AND (  p_attribute1 IS NULL )))
       AND (    ( Recinfo.attribute2 = p_attribute2)
            OR (    ( Recinfo.attribute2 IS NULL )
                AND (  p_attribute2 IS NULL )))
       AND (    ( Recinfo.attribute3 = p_attribute3)
            OR (    ( Recinfo.attribute3 IS NULL )
                AND (  p_attribute3 IS NULL )))
       AND (    ( Recinfo.attribute4 = p_attribute4)
            OR (    ( Recinfo.attribute4 IS NULL )
                AND (  p_attribute4 IS NULL )))
       AND (    ( Recinfo.attribute5 = p_attribute5)
            OR (    ( Recinfo.attribute5 IS NULL )
                AND (  p_attribute5 IS NULL )))
       AND (    ( Recinfo.attribute6 = p_attribute6)
            OR (    ( Recinfo.attribute6 IS NULL )
                AND (  p_attribute6 IS NULL )))
       AND (    ( Recinfo.attribute7 = p_attribute7)
            OR (    ( Recinfo.attribute7 IS NULL )
                AND (  p_attribute7 IS NULL )))
       AND (    ( Recinfo.attribute8 = p_attribute8)
            OR (    ( Recinfo.attribute8 IS NULL )
                AND (  p_attribute8 IS NULL )))
       AND (    ( Recinfo.attribute9 = p_attribute9)
            OR (    ( Recinfo.attribute9 IS NULL )
                AND (  p_attribute9 IS NULL )))
       AND (    ( Recinfo.attribute10 = p_attribute10)
            OR (    ( Recinfo.attribute10 IS NULL )
                AND (  p_attribute10 IS NULL )))
       AND (    ( Recinfo.attribute11 = p_attribute11)
            OR (    ( Recinfo.attribute11 IS NULL )
                AND (  p_attribute11 IS NULL )))
       AND (    ( Recinfo.attribute12 = p_attribute12)
            OR (    ( Recinfo.attribute12 IS NULL )
                AND (  p_attribute12 IS NULL )))
       AND (    ( Recinfo.attribute13 = p_attribute13)
            OR (    ( Recinfo.attribute13 IS NULL )
                AND (  p_attribute13 IS NULL )))
       AND (    ( Recinfo.attribute14 = p_attribute14)
            OR (    ( Recinfo.attribute14 IS NULL )
                AND (  p_attribute14 IS NULL )))
       AND (    ( Recinfo.attribute15 = p_attribute15)
            OR (    ( Recinfo.attribute15 IS NULL )
                AND (  p_attribute15 IS NULL )))
       ) THEN
       RETURN;