When we create Sales Order/Invoice we need to add customer name. & what i want “v_vin” data in Customer Vehicle field which is related to the above enter customer name, Can you please help me ?
let me make it more easy. “Customer with vehicle data”
Now. Check this two screenshot
In customer vehicle field there should be only 1 vehicle data because “Ghislain Gervais” only represent only 1 vehicles.
Thank you so much, Can anyone please help me.
Hi
Try this according to document
https://docs.erpnext.com/docs/user/manual/en/customize-erpnext/articles/fetching-data-from-a-document
Hi @Jitendra_Khatri1 @shivkumar @KanchanChauhan @Nick , what I want is a javascript handler that allows me to call add_fetch() after my tcno field loads ( which is linked with the item module ) , both item doc and Tc doc have the same field cmill , I tried to accomplish with the help of @shivkumar with this code , but this is not working , please someone help me ,
frappe.ui.form.on("TC", "onload", function(frm, cdt, cdn){
if (cur_frm.doc.__islocal && cur_frm.doc.item){
frappe.call({
…