Monday, November 1, 2021

Get Number sequence by code in D365 FO

NumberSeq   num;

        num = NumberSeq::newGetNum(NumberSeqReference::findReference(extendedTypeNum(DAPTransNum)));

info(num.num());

num.used();