Lets say I have three DocTypes, Parent1 doctype, Parent2 doctype, and Child Doctype
Now I have added a field in Parent1 doctype as Table and linked my Child table with it.
Now I want the same Child Table with field values to be linked in my Parent2 Doctype. When I am saying this, I mean that any change either from Parent1 or Parent2 would be reflected on the Child Doctype field values.
If you explain your use case in more detail, you’ll get more accurate responses.
Do you mean the content of one child doctype will be common across all documents of Parent1 and Parent2? If not, when/how will it vary from one document and another from Parent1 as well as Parent2?
Yes, multiple doctype can use the same child table. So, there will be multiple records of that child table with their own corresponding ‘parent’, it will not overwrite each other.
As far as I know, this is not possible even in other database outside MariaDB. It’s not really a framework problem or even Python/JS problem at this point based on the question you’re asking.