Auto populate field value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 04:18 AM
Hi,
I have a variable named Business line. In user record every user has minimum 2 to maximum 8 organization levels. For example: some user have values till organization 8 level filed and some have till 4,5,6 etc.. So, in the variable named Business line, I want to populate the lowest level of the organization which the requested by user has in their user record. Its tricky and I dont know how to do that. Can anyone help please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 05:20 AM
If you want to populate the lowest level of the organization which the requested by user has in their user record. Is there any field in organization table which has user and their level i.e., 1,2,3,...etc ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 05:23 AM
The organization level of each user is mentioned in user record only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 06:03 AM - edited 09-18-2024 06:06 AM
correct me if i'm wrong
you have reference type field (business line) which refer to organization table.
you need prefill business line with lowest org value of user which data is available in organization table
and organization table has only org values 1,2,3....and organization name
and user table has organzation name field data?
what is the relation between user record organization and organization table?? if we have common field between user oragnization and org table then we can write a logic