Char Account Number Auto number in V-14

Hello ,
First of all, thank you for an amazing product.

I am working in erpnext 14 version
1-Can I make the Account number filed Automatically?
2 - Also when we add new child or sub account the number should completely related to the main account number for example if the main account number is 101 the first child number should be 101001
and the second child number should be 101002
the third child 1001003

please guide me how to do it.

Hi @Hamza_Erpnext,

might be it can be possible using server script logic but it can be done only if you create a new account from list view, not in the tree view.