ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Employee Grade based on Custom Field

Hi,
I have created a custom [select] field “Employee Category” in Employee doctype which has options:

  • Management
  • Non-Management.

I have added similar custom field in Employee Grade.
Now I want that Employee grades appear in Employee doctype only based on selection of Employee Category.
For Example if Management is selected in Employee Doctype M1, M2 appear and if non-management is selected NM1 and NM2.

Any advise how to achieve this please?

You could do that in a client script using the set_df_property API call.

1 Like