Dear All
i’m trying to add customer name and supplier name in Journal Entry account i add custo field called
party name
how to add script to fetch customer_name from Customer when selected party type is customer
and supplier_name when selected party type is supplier
i tried
cur_frm.add_fetch(“party”, “customer_name”, “party_name”);
it’s work good with customer but when supplier give error
OperationalError: (1054, “Unknown column ‘customer_name’ in ‘field list’”) which is logic
i’m using codes for customer and supplier that why i need names in jv
any help please