Hi Gopi
Try this:

NumberSeq numberSeq;

ttsBegin;
numberSeq = NumberSeq::newGetNumFromCode("MyNumberSeq");
print numberSeq.num(); //assign the number to your field instead of printing it
ttsCommit;


:-J

Jacob Hjelmer

Thy Data Center Development A/S
Søvej 13b
DK-3460 Birkerød
Denmark

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of gopi b
Sent: 11. juli 2005 05:30
To: [email protected]
Subject: [development-axapta] how to create a number sequence in simple way



hi,

   i am a new guy to this axapta.,

   can u plz tell me how to create a number sequence
for a field in simple way

Regards,

Gopi

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




________________________________

YAHOO! GROUPS LINKS

*      Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
       
*      To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .

________________________________



[Non-text portions of this message have been removed]



YAHOO! GROUPS LINKS




Reply via email to