Setting Link Filter in Child Table based on another field

Goal - When someone selects a supplier in “Billing From”, only invoices relating to selected supplier be available for selection in “Purchase Invoice” column.

Tried using link filter option in ‘customize form’ for the child table doctype and also thru a client script, but haven’t been to work it out

Can you share what you have tried?
E.G: Client script and conditions of customize form