Number Sequence

hi all,

i have created number sequence for production order based on the production pool. I have set the code in the number sequence master and the number sequence is attached to particular FG item in item master Reference tab - Production pool. Based on these only the number sequence, the production order number sequence is generated.

The problem i faced was, the production order coming with even number sequence only and it is not coming continuous. If i check mark continuous for the number sequence code. I throws error while creating production order.

numberseq = NumberSeq::newGetNumFromCode{ProdPool::find{ProdTable.ProdPoolId}.Poolgroup);

ProdTable.ProdId = Numberseq.num();