AL
AL copied to clipboard
Adding integers and Dates
It appears that I cannot add a date and an integer together unless the date comes first in the calculation.
License.S365_PetLicenseDate : Date; LicenseTerm.TermInDays : Integer;


This is a bug I think.
This should be consistent with the behavior in C/SIDE. When we implemented this, our goal was to keep the old behavior until we got a better understanding of the subtleties of the language and the runtime. We will consider removing this restriction.
This has been fixed.