Groovy script to get the Customer Account number based on Sales Order Ship-To address
Can someone please help how to get the Customer account number based on the Sales Order Ship-To Address.
In Customer Master, each Ship-To address is associated to one Customer Account and Sales Order has Ship-Toaddress.
Requirement is to get the associated Customer account number based on Sales Order Ship-To address.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):