I am new to erpnext.i want to populate customer address and contact no in respective field after selecting customer .can any one explain how it can be achieve.
Welcome @hemant_Dabholkar
use add_fetch
to fetch values from Customer.
Check this link - > Fetch Values From Master
Thanks Sangram,
cur_frm.add_fetch(‘address’,‘address_line1’,‘address_line1’);
cur_frm.add_fetch(‘address’,‘address_line2’,‘address_line2’);
this script not working
Why?