November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Bugger... I've just worked this out...
Code is fine, the issue was because the MetaField already existed, i.e. this field was initially created without scale, I removed the field from the MetaClass and ran this again but didn't see it being updated, once I removed the MetaField form the MetaField table and ran the code again, everythign worked as expected. So user error... Anway I guess this code could be enhanced to check for the MetaField already existing and update that.
So hope this helps someone else...
Hi Guys,
I'm trying to create a metafield in code and add this to a metaclass, I've come up with the following code, which works, however the scale for the decimal isn't set, this is always zero.
Any ideas, am I doing this correectly?
Thanks, Mark