Metadata object properties
System enumerations are used to define a certain set of preset values. System enums of this group are accessed as properties of the MetadataObjectEnumeratedProperties object (by collection ObjectProperties). Specific values are listed after the name of a system enumeration. You should use the point symbol as a separator. System enums of this group are usually used to determine values of metadata object properties in logical expressions.Example:
Message("Document number periodicity - year: " +(Metadata.Documents.Account.NumberPeriodicity= Metadata.ObjectProperties.DocumentNumberPeriodicity.Year)); |