Following Code To auto generate BOM id for BOM Item in Axapta 2012.
NumberSeq numberSeq;
numberSeq = BOMTable::numberSeq();
numberSeq.used();
return numberSeq.num();
Comments