Hi
I have two parent docs utilizing the same child doc as a table.
Parent_Doc_1 : with table child_doc
Parent_Doc_2 : with table child_doc
I can execute code for the child doc by placing the code in the parent JS-file but then
I would have to put the code in both the JS-file for Parent_Doc_1 and Parent_Doc_2.
I tried putting the code that is executed for the child_doc in the JS-file in the child_doc folder on
the server, but it does not trigger ?
Please if I can ask for some guidance ?
Abdeali
2
Hi,
You can make common code for this and use this on both doctype.
Example:
It is just reference, you can do it something similar to this.