Dict types usage in AX
Dict types are used to manage EDT’S. They are used to fetch the
properties of an EDT.
Below code helps You in finding out the label name of an EDT used
to generate a Number sequence
‘Inve_77′.
static void Dicttypes(Args _args)
{
dicttype
dictype;
NumberSequenceReference
NumberSequenceReference;
;
select
firstonly NumberSequenceReference
where
NumberSequenceReference.NumberSequence == ‘Inve_77′;
if
(NumberSequenceReference)
{
dictype
= new dicttype(NumberSequenceReference.DataTypeId);
}
info(dictype.label());
}
Leave a Comment