Navigate to the Dimensions page and select the required dimension and select Account Type Default Dim. under the edit list tab.
Set TableID to the appropriate table. In my case, I set it as 15: G/L Account. In addition, set the Value Posting field to Code Mandatory.