select datatypeid from NUMBERSEQUENCEDATATYPE where recid = ( select NUMBERSEQUENCEDATATYPE from NumberSequenceReference where NUMBERSEQUENCEID = ( select recid from NumberSequencetable where NUMBERSEQUENCE = 'Time_6' ) )Output:
datatypeid ----------- 8374Then job in AX:
static void Job8(Args _args) { info( extendedTypeId2name( 8374 ) ); }Output: