suppose I want next number sequence of routeId

static void bomRouteTest(Args    _args)

{

    NumberSequenceReference numSeq;

    numSeq = RouteParameters::numRefRouteId();

    info (strFmt (‘%1’, NumberSeq::newGetNum(numSeq).num()));

}

Note : “RouteParameters” is a table.

This will generate the next number sequence of route Id.

Advertisements