With the new Subaccount columns in Chart of accounts, Account classes and Branches, in combination with Combine subaccounts from in General ledger preferences, you will now have a possibility to get subaccount from one of these places, or a combination of them.
The subaccount will be suggested depending on the Combination setting. When you change the Account or Branch, a new value will be suggested if there is a different definition for the selected Account or Branch.
A new Manually subaccount column has been added to the Voucher line. It will be checked if the user makes a change to the subaccount.
If the user has made a manual change, changing the account or branch will not update the subaccount, and the manually entered subaccount will remain.