Add default fields to custom doctype

Hey how can i add these fields to my custom doctype?

At the bottom of the doctype, check for Linked Documents.

That will help you create the links section for the doctype.

Hi thanks for replying, I cannot locate the above mentioned section in my doctype settings?

Can you please help find it?

In Doctype, scroll all the way down to the end of the page:

PS: this feature is only available in version 13. If you’re on older versions of Frappe/ERPNext, you’ll need to make a file like this one:

Hi, thanks for the reply.

I actually did wrote this function in the file that i created.

But my changes are not reflecting on the doctype, is there something else that i need to do in order to make it available, currently i am on a live server, is this something have to do with build.

Any sort of help would be appreciated.