AL icon indicating copy to clipboard operation
AL copied to clipboard

Cannot set InitValue for field with data type = Duration

Open chiecnhanco opened this issue 9 years ago • 1 comments

ex: field(22;"Process Duration";Duration) { InitValue=60 days; } The property 'InitValue' can only be set if the property 'Type' is set with any of the values of :'BigInteger,Boolean,Code,Date,DateFormula,DateTime,Decimal,Integer,Option,RecordID,Text,Time,TextConst'

chiecnhanco avatar Jul 14 '17 09:07 chiecnhanco

Yes, the InitValue for the Duration type is not supported. Do you see this as a big problem for your scenarios? We did not see this used often therefore the addition of the new syntax (like 60 days, 2 minutes, etc) keeps being postponed.

defr0std avatar Jul 19 '17 11:07 defr0std