Question and answer on Number Sequences in MSD Axapta 2009

1. When assigning numbers from the numberseq class, when would you use

newGetNumAndVoucherFromCode() and newGetNumAndVoucher()?

ANSWER: NewGetNumAndVoucher() is used to instantiate NumberSeq from NumberSeqReference.

NewGetNumAndVoucherFromCode() is used to instantiate NumberSeq from a NumberSeqCode.

2. What does it mean that a number sequence is continuous?

ANSWER: A continuous number sequence ensures that all numbers in the sequence are used.

3. From which method would you get the number sequence reference used for a sales order number?

ANSWER: SalesParameters.NumRefSalesId().