Link multilpe field to one field

Hello community,

I have created one dropdown of supplier and customer
If i select supplier in dropdown then I want to display only suppler name or if i select customer then i want to display only customer name in same field…

I am sharing screen shot for that.
please suggest custom script for that to me…

Untitled123Capture

Dynamic link fields should help -

https://erpnext.org/docs/user/manual/en/customize-erpnext/articles/managing-dynamic-link-fields

1 Like