Источник:
http://blogs.msdn.com/x/archive/2007...aged-code.aspx
==============
As you all know, Dynamics AX supports 32 bit integers in its int datatype. However, sometimes you need to transfer an int16 value to a managed method. Currently the easiest way to acheive this is by doing:
static void Job2(Args _args)
{ System.Int16
short;
int num =
2356;
;
short = System.Convert::ToInt16(num);
print
short;
pause;
}
Источник:
http://blogs.msdn.com/x/archive/2007...aged-code.aspx