Fetch next number from number sequence.

Hi,
In order to get the next number from a number sequence,
just select the method in which EDT corresponding to the current number sequence is used.. from the corresponding module parameters table.

NumberSequenceReference nsr;
NumberSeq ns;
;

nsr = custParameters::numRefCustConfirmationLetterNum();
ns = NumberSeq::newGetNum(nsr, false, true);
custTable.TCC_CustConfirmationNumber = ns.num();
ns.used();

Advertisements

4 thoughts on “Fetch next number from number sequence.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s