Sivakumar looks at Restricting Dimension Codes to Specific Account Numbers
Restricting Dimension Codes to Specific Account Numbers | Interesting Findings & Knowledge Sharing
Archived post from 2011. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.