August 22, 2014

Generate Number Sequence In AX 2012

static void GenerateNumberSeq(Args _args)
{
      NumberSeq numberSeq;
      Str salesId;

     numberSeq = NumberSeq::newGetNum(SalesParameters::numRefSalesId());
     salesId = numberSeq.num();
     info(strFmt("%1",salesId));
}

0 comments:

Post a Comment