Announcements
In my form I have a field of type Int, but now by default it's all 0's for the records that are already there.
Is there any way to define a default value for that field, for all the existing records and to be inserted records ? I want to default it to blank or null values.
I can not leave the Initial Value null for this field and so it is set to a zero. If I null out the values from the form property it throws an error " Property value is invalid ".
Thank you.
Thank you both.
We can't change the "Show Zero" property of the Integer field to No because zero is one of the valid values in the field. If I make this property to No then the field doesn't show any zero values as its always blank. This will not work for us. Will find a work around.
Thanks again.
Hi Ann,
AX does not support the concept of null values that is available in many other Database Management Systems . A field in AX always has a type and a value. For Integer, the default value is always 0.
-
As Daniel said, to make these show as blank on forms instead of as 0.
You just need to change the "Show Zero" property of the Integer field, not even EDT.
Integer fields in D365 F&O are non-nullable. To make these show as blank on forms instead of as 0, change the extended data type property "Show Zero" to "No" on the EDT of your field.
André Arnaud de Cal...
294,110
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator