How to Resolve System Does Not Support Continuous Number Sequences

How to resolve ‘System does not support continuous Number Sequences. 

Scenario: Clicking the ‘New’ button in the form displays the following error: ‘System does not support continuous number sequences’. 

High level resolution steps 

  • Check number sequence setup 
  • Add ttsbegin and ttscommit. 

Detailed resolution steps 

Step 1: set number Sequence setup as Manual = No, Continuous =Yes 

Navigation: Organization administrationàNumber sequencesàNumber sequences 

Step 2: add ttsbegin/ttscommit statement around your number sequence generation code 

Navigation: Goto-FormàDatasourceàcreate method 

Note: if Step1 not worked, go ahead with Step2 

numberSequenceReference = NumberSeqReference::findReference(extendedTypeNum(LFC_DepartmentId)); 

if (numberSequenceReference) 

{ 

    ttsbegin; 

    departmentId = NumberSeq::newGetNum(numberSequenceReference).num(); 

    LFC_PODepartmentConfigurationTable.DepartmentID = departmentId; 

    ttscommit; 

} 

Code Explanation: 

Adding ttsbegin and ttscommit ensures the number sequence operation is handled within a transaction, preventing conflicts with continuous number sequences and ensuring data consistency. 

Output 

Below screenshot: The number sequence is now auto generated for the configuration ID in the form