I want to add a custom field to the Item Group form type that is a calculated field. It is the product of the multiplication of two other fields length and width in the same form.
Here’s an example where I have two custom fields under Description on Item Group with unit in mm:
length
width
I want to add a new field called area which is the product of (length*width) /1 million to get result in metre square.
I tried the below script in custom script - Item Group Doc Type but I received the error “Item Group -Client already exist” and the script gets saved but I am unable to access the Item group form. I can understand that there is a problem in script so please check my script and advise the solutions if any.
In this page, i am able to search the sales order only with the title name but i want to search with SO numbers. How can i do that? Also, i want to change the column fields or i want to include more columns. Please advise.
Regards,
Sandhya
–
Sandhya Anbu
rohit_w
March 17
Hi @san_aet
Try below code
frappe.ui.form.on(“Item Group”, {
validate: function(frm) {
frm.trigger(“calculate_area”)
},
–
Sandhya Anbu
JoEz
March 19
Add a filter and choose name
Visit Topic or reply to this email to respond.
In Reply To
san_aet
March 19
Hi Rohit,
In this page, i am able to search the sales order only with the title name but i want to search with SO numbers. How can i do that? Also, i want to change the column fields or i want to include more columns. Please advise.
I want to create a table for the fields under carton details. How can i create a table?
Regards,
san
–
Sandhya Anbu
JoEz
March 19
Add a filter and choose name
Visit Topic or reply to this email to respond.
In Reply To
san_aet
March 19
Hi Rohit,
In this page, i am able to search the sales order only with the title name but i want to search with SO numbers. How can i do that? Also, i want to change the column fields or i want to include more columns. Please advise.
–
Sandhya Anbu
JoEz
March 19
Add a filter and choose name
Visit Topic or reply to this email to respond.
In Reply To
san_aet
March 19
Hi Rohit,
In this page, i am able to search the sales order only with the title name but i want to search with SO numbers. How can i do that? Also, i want to change the column fields or i want to include more columns. Please advise.
I created an Item group named PCB but i am getting the error("Server error: please check ur server logs or contact tech support ") when i save this page after entering data in fields.
I doubt the way i created item groups.
Could you please advise on how to create item groups ?
After creating groups, How can i fetch the bunch of data (Product description) from item group form to another form Quotation?
rohit_w
March 20
Sandhya Anbu san_aet:
I want to create a table for the fields under carton details. How can i create a table?
Make new custom doctype(example: Test Child Doc) and enable Is Child Table option in the doctype.
*
Create custom field for stock entry doctype with field type as Table and options as name of the above doctype(example: Test Child Doc)
Check how to make custom doctype here
Visit Topic or reply to this email to respond.
In Reply To
san_aet
March 20
I want to create a table for the fields under carton details. How can i create a table?
Regards, san
– Sandhya Anbu JoEz March 19 Add a filter and choose name
Visit Topic or reply to this email to respond.
In Reply To san_aet March 19 Hi Rohit,
I created an Item group named PCB but i am getting the error("Server error: please check ur server logs or contact tech support ") when i save this page after entering data in fields.I doubt the way i created item groups.
please advise on how to create item groups ?
After creating groups, How can i fetch the bunch of data (Product description) from item group form to another form Quotation?
I created an Item group named PCB but i am getting the error("Server error: please check ur server logs or contact tech support ") when i save this page after entering data in fields.
I doubt the way i created item groups.
Could you please advise on how to create item groups ?
After creating groups, How can i fetch the bunch of data (Product description) from item group form to another form Quotation?
rohit_w
March 20
Sandhya Anbu san_aet:
I want to create a table for the fields under carton details. How can i create a table?
Make new custom doctype(example: Test Child Doc) and enable Is Child Table option in the doctype.
*
Create custom field for stock entry doctype with field type as Table and options as name of the above doctype(example: Test Child Doc)
Check how to make custom doctype here
Visit Topic or reply to this email to respond.
In Reply To
san_aet
March 20
I want to create a table for the fields under carton details. How can i create a table?
Regards, san
– Sandhya Anbu JoEz March 19 Add a filter and choose name
Visit Topic or reply to this email to respond.
In Reply To san_aet March 19 Hi Rohit,
I added many custom fields but i did not receive error at that time. I receive this error suddenly after creating item and when i wanted to do quotation.