In our previous series of technical blogs, we discussed How to find the number of fields of an open Table in Sage X3 (Sage Enterprise Management). In this blog we would learn about another function of Sage X3, which is used to define different data types. These data types can be used in all the dictionaries which have defined data like report parameters, screen fields, table fields, etc.
A data type, attaches a given number of characteristics (like length, actions, internal type, etc.) to be automatically assigned to the fields. However, it is not necessary to define all the characteristics of a data type.
Indeed, the non-defined characteristics at the type level will be requested at the definition of the screen, which makes it possible to define the generic types. ADONIX delivers a certain number of data types containing only the internal type, that is to say the field storage type. These data types cannot be modified. Here is the list:
Type code | Definition |
A | Alphanumeric string |
ABB | Blob |
ACB | Clob |
C | Short integer |
D | Date |
DCB | Decimal amount |
L | Long integer |
M | Local menu |
MM | Local menu with the possibility to filter the elements |
Fig 1- Data types containing only the internal type
In the table shown below are displayed the data types corresponding to the supervisor technical elements:
Type code | Definition |
ABS | Variable at the bottom of the grid |
AT | Field indicating the type of a blob |
AX1 | Translated text (length 12) |
AX2 | Translated text (length 20) |
AX3 | Translated text (length 30) |
W | Filler |
Fig 2- Data types corresponding to the supervisor technical elements
Displayed in the table below is a list of the functional type that is particularly important.
Type code | Definition |
MD1 to MD4 | Formats for the amounts depending on the currency (which must be on-line): the 4 corresponding formats are defined in the currency table. |
MC1 to MC4 | Formats for the amounts depending on the currency: These are the same types as above, but they are optimized for use in a scrolling grid in which a column is entered with a currency that does not depend on the current line. |
MS1 to MS4 | Amounts in the site currency |
ADI | Code stored in a miscellaneous table (where the number is given in the table dictionary, by the link expression). |
HM | Hour : minute |
QTY | Quantity |
QT1 to QT5 | Optimized quantity for the grid section (same notes as above : the format of a column must not depend on the current line) |
VCR | Document number (possibility to tunnel to the object declared as setup). |
Fig 3- List of the functional type
For more information on Sage X3 Integration and Services, please contact us at info@akaasa.edev99.in
We will be glad to assist you
Copyright GerminIT © 2024. All Rights Reserved.