Monday, 4 November 2019

System does not support setup 'continuous' of number sequence in Dynamics AX 2012 / D365 F&O

If you are facing the issue System does not support setup 'continuous' of number sequence, enclose your code of number sequence assignment within a transaction (TTSBegin & TTSCommit)


NumberSeq  numberSeq;
ttsbegin;
numberSeq = NumberSeq::newGetNum(HrmParameters::numRefApplicantId()).num()

ttscommit;

Error will be resolved!!!

No comments:

Post a Comment

Adding a newline into a string in C# and X++

Below is the sample code we can use for  adding a newline after every occurrence of "@" symbol in the string in C#   using System...