Jump to content
Sign in to follow this  

Automatically fill a field on detail_cr

Recommended Posts

Good night people.
I'm trying to make a customization that makes it possible to fill in the "Responsible site" (Local responsavel) field based on the information that was filled in the "Assignee" (Responsável) field.
The information I want to put in the "Responsible site" (Local responsavel) field is part of the attributes of the Assignee:
Any suggestions on how to do this customization?

Share this post

Link to post
Share on other sites

hi, this is complex task and I don't have any solution that can fit your requirements.

If you want dynamic solution that will work on the go, you need to: 

  • catch when hidden input "SET.attr_name" will be changed
  • fetch related value using key from changed input using ajax
  • write new value to visible and hidden inputs

otherwise POST_VALIDATE trigger suggested on ca community would be the best way.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this