Item Name will fetch automatically?

We have created this, when we select item code repective Item Name will auto fetch ?
that is not happening ?

Please suggest

For the field item name, keep fieldtype as read only and in options add code item_code.item_name

Thank you so much rohit :slight_smile: it worked .

Same as when select Customer OR Supplier respective address will also display ?? please suggest.

For this you need to write server side function and call that function from JS using frappe.call on selection of customer or supplier, for reference check below code

2 Likes

Actually we have created Doctype Delivery Challan from Setup, so .py or .js file automatically created or directories of that doctype will created automatic ???