Skip to main content
Solved

current user Ifs


jzouaoui
Sidekick (Customer)
Forum|alt.badge.img+8

hello, 

i need to create a custom Field  which gets me he current user in Ifs. that help me to identify  who create a part (in inventory Part)

 

thank you.

Best answer by paul harland

Hi

Often you can use the substitution variable #USER_ID#

More generally you can use fnd_session_api.get_fnd_user()

View original
Did this topic help you find an answer to your question?

5 replies

paul harland
Superhero (Employee)
Forum|alt.badge.img+24

Hi

Often you can use the substitution variable #USER_ID#

More generally you can use fnd_session_api.get_fnd_user()


jzouaoui
Sidekick (Customer)
Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 36 replies
  • August 25, 2020

It works !!! Great .

thank you so much :) 


jzouaoui
Sidekick (Customer)
Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 36 replies
  • August 25, 2020

 

my idea is to be able to retrieve the history of users who have created new parts and I see with this custom field that I always get the current user .. it is not a persistent field.

thanks for your help


paul harland
Superhero (Employee)
Forum|alt.badge.img+24

you can make the field persistent/text, then use this code as the default value (either context substitution variable or PL/SQL expression).  

That way you can capture who created a record.

Best to also make the field non-editable through the client.


jzouaoui
Sidekick (Customer)
Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • 36 replies
  • August 25, 2020

great ! thank you so much .


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings