Sample Enum
ModuleInventPurchSales::Invent
Looping Enum
ModuleInventPurchSales::Invent
Looping Enum
static void EnumIteration(Args _args)
{
DictEnum enum = new DictEnum(enumName2Id("TestEnum"));
int i;
for (i=0; i < enum.values(); i++)
{
info(enum.index2Label(i));
}
}
Enum to String
str enumStr(enum enum)SamplePurchLine purchLine;info(enum2Str(purchLine.PurchStatus));
https://msdn.microsoft.com/en-us/library/aa656503.aspx
Comments
Post a Comment