Tuesday, October 24, 2017

WHO COLUMNS in Oracle Apps

  • WHO columns are used to track the information inserted or updated by the users against the tables. FND_STANDARD package is used for this purpose. FND_STANDARD.SET_WHO Procedure is used in BEFORE-INSERT or BEFORE-UPDATE triggers at block level in Oracle Forms to update the WHO columns in a Table when a DML operation s (i.e. INSERT, UPDATE) performed.
    1. Created_by
    2. Creation_date
    3. Last _updated_by
    4. Last_update_date
    5. Last_update_login

  • Use fnd_profile.VALUE ('USER_ID') profile value for retrieving the user_id which will be used by created_by column.
  • Creation date and last_update_date will be normally SYSDATE.
  • Last_updated_by is same as created_by.
  • Use USERENV ('SESSIONID') for getting the last_update_login id.

No comments:

Post a Comment

Query to get the Concurrent Program along with Value Set details

SELECT fcpl1.user_concurrent_program_name       ,fdfcuv.end_user_column_name       ,ffvs.flex_value_set_name value_set_name       ,ffvt.appl...