Hi Tobias,

I have set up a Number sequence 'Cust_03' as continous one. However, when I ran this job, I got the following error message -

------------------------------------------------------
System does not support setup 'continuous' of number sequence 'Cust_03'.


Number selection is cancelled.

------------------------------------------------------


What could be wrong here? Kindly advice.


Regards,

Harish


-- In [EMAIL PROTECTED], "Andrae, Tobias" <[EMAIL PROTECTED]> wrote:
hey - that's a joke, isn't it??
There is a class called NumberSeq that provides you with a valid
number from a Number sequence. The easiest way to use it:
void xyz ()
{
NumberSeq numberSeq;
Voucher voucher;
;
numberSeq = NumberSeq::newGetNumFromCode
("NameOfNumberSequence"); // fill in your wanted number sequence
voucher = numberSeq.num();
}
that's it - no messin' around with tables and formats......
best regards,
Tobias



-----Ursprüngliche Nachricht-----
Von: johnn_16 [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 29. Oktober 2003 16:56
An: [EMAIL PROTECTED]
Betreff: [development-axapta] Get next NumberSequence by
code.
Hi, I would like to create a new line in a table that need
to have a
ParmId. The ParmId isn't a default value so I must set it
by code. I
would like to know if there is a easy way to do that or if I
must to
do it manualy. If I must do it manualy, is there something special to
know? Here's
what I'll do. I'll need to get the NumberSequence format and
the next
value. I'll merge those two values to get the formated NumberSequence and I'll increment the next value in the NumberSequenceTable. Is there something else to do?
Any help will be appreciate. Thanks!
Yahoo! Groups Sponsor ADVERTISEMENT
Click Here!
<http://rd.yahoo.com/M=244522.3707890.4968055.1261774/D=egroupweb/S=1
705006764:HM/A=1595055/R=0/SIG=124j83ehr/*http://ashnin.com/clk/muryu
taitakenattogyo?YH=3707890&yhad=1595055>
<http://us.adserver.yahoo.com/l?
M=244522.3707890.4968055.1261774/D=egroupmail/S=:HM/A=1595055/rand=39
4215220>

Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> .



Yahoo! Groups Sponsor ADVERTISEMENT
click here


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to