Attribute, function, action or parameter datatype.
Syntax:
( Identity | Alpha | Text | Boolean [ (TrueValue ,FalseValue )] | Binary [ (MimeType )] | Integer | Number [ (Precision [ ,Scale ] )] | Date | Time | Timestamp [ (Precision )] | LongText [ (MimeType )] | Stream [ (MimeType )] | GUID | Structure (StructureRef )| Entity (EntityRef )| Enumeration (EnumerationRef [ .EnumerationSubset ] )| Lookup (EnumerationRef )| List <( Identity | Alpha | Text | Boolean [ (TrueValue ,FalseValue )] | Integer | Number [ (Precision [ ,Scale ] )] | Date | Time | Timestamp | GUID | Structure (StructureRef )| Entity (EntityRef )| Enumeration (EnumerationRef [ .EnumerationSubset ] )| Lookup (EnumerationRef )) >)
Primitive datatypes, typically set on attributes, specifies the type for a single value. For example:
attribute Name Text { maxlength = 50; } attribute RunwayLength Integer; attribute Temperaure Number(4,2); attribute NextMaintanance Date;
Enumerations are specified by their underlying type, as defined in as enumeration model. For example:
attribute TransportedAs Enumeration(DeliveryType);
Record Structures are specified by the structure name. For example:
function Me Entity(Person);
Entities are specified by their underlying type, as defined in the corresponding entity model. For example:
function Me Entity(Person);
All of the above datatypes can also be passed as arrays. For example:
function Friends List<Entity(Person)>;
or
attribute TransportOptions List<Enumeration(DeliveryType)>;
Attributes can also be of a complex type, such as Currency or Measure.
Note: Default type is Text with unlimited number of characters, unless maxlength is specified.
Type structure name
Syntax:
<Identifier>
Type entity name
Syntax:
<Identifier>
Type enumeration name
Syntax:
<Identifier>
Type enumeration subset name
Syntax:
<Identifier>
Number of digits
Syntax:
<Integer>
Number of decimals
Syntax:
<Integer>
Value representing TRUE
Syntax:
<String>
Restrictions:
Value representing FALSE
Syntax:
<String>
Restrictions:
Content mime type
Syntax:
<String>
Restrictions:
This page is generated from IFS Developer Studio at 2021-08-13 08:48.