ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Filtering Child table that has link


Hello there

Uhm i need help filtering a table. i keep getting the TypeError: frm.doc.fields_dict is undefined error when i try adding code.

I have 3 doctypes.

  1. Unit
  2. AvailableUnits
  3. Jobs

A unit consists of different resource and a unit_status(Available, Busy) .
Jobs have a table that where i need to select which unit is available to do a job .
So in jobs, the table needs to filter out by unit_status. Therefore it links to the childtable which links to unit but how do you filter it if unit_status is =“Available”


Any updates ???