Hi Danny, try this:
Numberseq numberseq; ; ttsbegin; numberseq = numberseq::newgetnum(smmparameters::numrefrelationaccount ()); if(numberseq) { print numberseq.num(); numberseq.used(); ttscommit; } Hth Tobias System does not support setup 'continuous' of number sequene 'CRM_119' Number selection is canceled. The code is used during data import to assign values to relaccount . In the data import definition x++ code on a field print numberseq.num () should be input = numberseq.num() I have been using this before without problems. So if someone could help me out here please let me know. Of course I could solve this by disabling the continuous flag, which seem to work. Regards, Danny Sharing the knowledge on Axapta. Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h0359u1/M=362131.6882500.7825259.1493532/D=groups/S=1705001380:TM/Y=YAHOO/EXP=1122989691/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org ">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font> --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/