Filter Data of a Link Field from another link field

I have added a link field as “box_customer” to Item doc type, which get data from Customer List.
In the BOM, I have added a link field as “Customer” at First. First I select the Customer, then I need to filter and only show items related to that Customer in BOM Item to manufactur list.
Can please anyone provide the script for that? :cold_sweat::disappointed_relieved:

I too need the same, Have you find the solution?