Warehouse address not setting in the field

In Material Request doctype I have Source Warehouse and Target Warehouse Field. In that when i select the warehouse the address linked to the address needs to be automatically set in the respective custom fields created. How can I do it?

Please check the reference: Fetch address text on a custom field - #2 by NCP

Also check step by step concept: Fetch the entire address text on a custom field

1 Like

Here I need to load the address that is linked to the warehouse. How can I do it.

Hey, the method and code are the same. Now you just need to set your custom field name in the script. It’s important to understand the concept before making these changes. Please review the step-by-step documentation that I provided in the second link.

ok @NCP !