Skip to main content
Question

Error when Increasing the Segment Length

  • September 16, 2026
  • 2 replies
  • 21 views

Hi,

I want to increase the Segment length of the the Subaccount from the current Value, however I’m facing the Below
Errror: “Updating  'Segment' record raised at least one error. Please review the errors. Segment '1' has values and cannot be updated”.

I have deleted the existing Segment Values to be able to try this & re-import them. However the Default vlue get saved automaticaly.

 

What’s the best approach to increase the Segment Length for the Subaccounts.

 

Thanks!

2 replies

mohammadnawaz51
Varsity I
Forum|alt.badge.img+7

@Avishka 

 

Please create a new one.Once Segment 1 of the SUBACCOUNT segmented key already has values, Acumatica does not allow changing that existing segment length from Segmented Keys (CS202000). The reason is that existing subaccount values and posted/historical GL references depend on the current segment structure. Acumatica documentation notes that segment values are controlled by the segment length defined in Segmented Keys, and existing values remain tied to that setup.


Forum|alt.badge.img+6
  • Jr Varsity II
  • September 16, 2026

Hi ​@Avishka ,

Acumatica deliberately restricts changing the length of an existing segment via the UI because:

  1. Existing Segment Values (SegmentValue table): Values already exist for DimensionID = 'SUBACCOUNT' and SegmentID = 1.
  2. Existing Subaccounts (Sub table): Subaccount IDs are stored as segmented strings (or mapped to specific segment positions). Changing segment length alters parsing and key formatting for all existing subaccount records.

Depending on whether this is an active production environment or a development/testing environment, you have a few ways to resolve or work around this:

If business requirements allow:

  1. Navigate to Segmented Keys (CS202000).
  2. Select Dimension IDSUBACCOUNT.
  3. Keep Segment 1 as it is, and click + (Add Row) to add Segment 2 (or a subsequent segment) to cover the extra length needed.
  4. Save and configure segment values for the new segment.

Option 2: Remove Existing Segment Values (Only if No Transactions Exist)

If this is a new setup, sandbox, or subaccount values were entered by mistake and no GL transactions / history reference these subaccounts:

  1. Go to the Segment Values (CS203000) screen.
  2. Select SUBACCOUNT and Segment 1.
  3. Delete all defined segment values for Segment 1.
  4. Go to Subaccounts (GL203000) and verify no subaccount records exist (delete them if empty/unused).
  5. Return to Segmented Keys (CS202000), select SUBACCOUNT, and update the length.
  6. Re-add the required Segment Values and Subaccounts.

Hope above helps!!