Read Nullable value

Hi All,

I found this code at this thread https://dynamicsuser.net/ax/f/technical/64486/how-to-pass-a-nullable-1-type-value-to-a-function-in-ax2012

System.Type nullableType = System.Type::GetType('System.Nullable`1[System.Decimal]'); System.Object decimalValue = System.Convert::ToDecimal(123); System.Object[] paramValues = new System.Object[1](); CLRObject nullableValue; paramValues.SetValue(decimalValue, 0); nullableValue = System.Activator::CreateInstance(nullableType, paramValues);

It works good. Now, how I read a Nullable"1 value got from a web service?
Parents
No Data
Reply Children
No Data
Related
Recommended