1. Go to General Ledger > Configuration > Account Setup
  2. Highlight Account Structure
  3. Verify that there is a length for the Account Code segment