Adding recurring to Journal Entry

Hi all,

I’m currently trying to add recurring function to Journal Entry doctype.
For now, i added the necessary field for recurring function. I’m using recurring function in sales order and purchase order doctype as reference.
Can i know the necessary file need to updated for the recurring function to work on Journal Entry?