Thursday, May 30, 2024

What are standard datatypes and extended data types in D365FO?

 Standard Datatypes

Data TypeDescriptionExampleDeclaration
StringA sequence of characters. X++ supports various string types: left-aligned, right-aligned, fixed length, or non-fixed length. Maximum length is 999 characters."Hello, World!"name str
IntegerA whole number without a decimal point.1090age int
RealA number with a decimal point.3.14pi real
DateStores the day, month, and year.10\29\1978birthday date
UTCDateTimeHolds year, month, day, hour, minute, and second, including time zone information.9/28/2008 07:11:02 amutcmeetingTime utcDateTime
EnumA set of named constants with integer values assigned internally. The first value has the number 0, the second has 1, and so on.Color { Red, Green, Blue }
BooleanCan only be true or false.isRegistered boolean
TimeStores hours, minutes, and seconds. Use the timeOfDay system type for declaration.15:23:08meetingDuration timeOfDay
GUIDA Globally Unique Identifier, a reference number that is unique in any context.{3F2504E0-4F89-11D3-9A0C-0305E82C3301}userId guid
Int64A large integer represented by 64 bits.5637144579populationCount int64            


Extended Data Types

No comments:

Post a Comment

How to add a number sequence in a new table in Dynamics 365 for Finance and Operations?

 In this blog , we will create a new number sequence in D365 Finance and Operations form.  And this blog will contain below steps for the us...