how to the variables in child table which are inherited from parent table

pk2184046
Tera Expert

Hi there,

I have a requirement that an option called "bsc" to be added unser awating action varaible.

 

that bsc option is present in parent table which is showing in all the child tables.

 

I want it to be hidden in one of the child table called account_receivable table

 

I tried on load script in the parent table for removing the option it is not working

 

NOTE: awaiting action varaibles shows only when the state is selected as awating 

2 ACCEPTED SOLUTIONS

Rupanjani
Giga Guru

Hi @pk2184046,

 

Try writing the onload client script on the child table to remove the option on that field.

Syntax to remove option:  g_form.removeOption('<field_name>', '<value>');

 

Please mark helpful, if it helps.


Mark the response correct and helpful if the answer assisted your question.

View solution in original post

Hi @pk2184046 ,

 

Please find the below link that explains about the Glide From methods.

https://docs.servicenow.com/bundle/washingtondc-api-reference/page/app-store/dev_portal/API_referenc...

 


Mark the response correct and helpful if the answer assisted your question.

View solution in original post

4 REPLIES 4

Rupanjani
Giga Guru

Hi @pk2184046,

 

Try writing the onload client script on the child table to remove the option on that field.

Syntax to remove option:  g_form.removeOption('<field_name>', '<value>');

 

Please mark helpful, if it helps.


Mark the response correct and helpful if the answer assisted your question.

Good to know this helped you.


Mark the response correct and helpful if the answer assisted your question.

pk2184046
Tera Expert

Can you please mention any advance g_form methods which can be helpfull

Hi @pk2184046 ,

 

Please find the below link that explains about the Glide From methods.

https://docs.servicenow.com/bundle/washingtondc-api-reference/page/app-store/dev_portal/API_referenc...

 


Mark the response correct and helpful if the answer assisted your question.