Override Dependent Field

kchorny
Tera Guru

In our instance, the Location field on the task table is dependent on the Company field.   However, in Projects, we want to be able to associate the project to other Companies, but want the location to be restricted to one of our company locations, not the customer company location.  

I'm drawing a blank on how to construct the 'Dependent' override for Location, since our company is not the company associated to the project.   I suppose I could create a new field on the table that points to our company for all projects, and then make Location dependent on that, but I'm sure there's another way to do it.

Thanks for any help!

1 ACCEPTED SOLUTION

Jim Coyne
Kilo Patron

As swamygiri mentioned, you can use a Dictionary Override for the Project table:



find_real_file.png



Select the "Override dependent" checkbox but leave the "Dependent" field empty.   To only allow your company's locations, set a Reference Qualifier of "company=" + the sys_id of your company's Company record.


View solution in original post

4 REPLIES 4

Venkat122
Kilo Guru

Hi Chorny,



You can use dictionary overrides.



http://wiki.servicenow.com/index.php?title=Dictionary_Overrides#gsc.tab=0



Regards


Giri


Jim Coyne
Kilo Patron

As swamygiri mentioned, you can use a Dictionary Override for the Project table:



find_real_file.png



Select the "Override dependent" checkbox but leave the "Dependent" field empty.   To only allow your company's locations, set a Reference Qualifier of "company=" + the sys_id of your company's Company record.


Ugh, I was skipping the reference qualifier piece. Thank you very much!


You are welcome.