Can the user enter account code and cost center in the debit note, account details tab?

Suggestions:
Users should not enter the new account in the debit note details tab. Users should save the debit note without adding a new account. After confirmation the account code, cost center and amount gets automatically set in the account details tab. Users should only ensure that the account code is properly mentioned in the debit note header screen in the other group box.