Hello Experts,
We have a sales order, there is link field for Territory linked to territory doc.
And also, there is the customer link filed linked to customer doc.
I want to populate only those customers which match the territory selection.
As far I know, Territory is shown after customer selection … So, first of all, you need to customize Sales Order docytpe and remove related “Address & Contact” tab property:
Then, create a client script for Sales Order doctype (and enable it)