enum2str Function in AX

This function is used to converts the specified enumerated text to a string.  There is only a parameter in this function :

  1. _enum : The enumerated text to convert.

Example :

static void enum2StrExample(Args _arg)
 InventTransType itTypeSU, itTypeSO;
 LedgerTransType ltType;
 itTypeSU = InventTransType::SummedUp;
 itTypeSO = InventTransType::Sales;
 ltType = LedgerTransType::ExchAdjustment;

this is the result :



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: