Need assistance how to override the set_total_advance_paid in AccountsController Class

Is there anyone knowledge about overriding AccountsController Class or directly override its method. I have tried overriding by subclass through Journal Entry since I have there an issue with validation but None of my configuration works.

Your response will be greatly appreciated. Thank you!

If you want to override a method which is not a whitelisted and not under a class , refere this documentstaion

if you want to override a class method then follow this Hooks

1 Like

Hi @Vipul_Kumar . Thank you for recommending this link will use for future development.

Anyways my issue solved.