- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 07:44 AM
Hello Community,
I have two variables in catalog item
1. Vendor - reference to core_company
2.locations - reference to cmn_location
So if i select company and it should be related locations in location reference
for example if select japan and it should be display only japan locations in locations reference variables
Can you please help me how to sort out this.
Thanks,
Nagesh klv
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 01:00 PM
Hi,
You also need to add the following attribute
ref_qual_elements=vendor
Only then the selected vendor will be passed to the server and fetches the locations accordingly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 08:18 AM
Hi,
If I am not wrong. the question must be like this based on the location field vendor should auto populate or vice-versa. Well here the dependent field concept comes.
In the dictionary, you can specify a dependent field in the User or Location field, which displays the appropriate territory in the selector choice list when a user enters a phone number.
In the dictionary, you can specify a dependent field in the User or Location field, which displays the appropriate territory in the selector choice list when a user enters a phone number. For example, if you enter caller_id in the dependent field in the Incident table, the appropriate territory is added to the territory selector choice list when a user enters caller information.
Read this below link this might help.
If the above code helps then please mark my answer Correct and Helpful.
Thanks and Regards:
Siddhnath Pandey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā09-12-2020 12:15 PM