Category: SageX3

Are you a developer? Do you want to learn programming in Sage X3’s language?
Here you will find lots of information and examples to quickly deal with the various problems that may arise

0

Tables Join in Sage X3 adonix with Link instruction

The instruction that Sage X3 makes available to make a join between two tables is Link. Here we see how to create a join between the TAB1 table and the TAB2 table; TAB1 is...

0

2 ways for obtaining the current window name

To obtain the name of a window in Sage X3 there are at least two ways. The first one consists in recovering current mask name with F6 key ( ESC-F6 from v7 version), then...

0

How to use time and date

Let’s see today how to use time and date in Sage X3. To get the current date in a Date variable, use the date$ function. In the same way to have current date and...

0

Loops and conditions

Conditions If Then Else The following scripts are equivalent: If I=1 Then J=2 Else J=3 : Endif If I=1  : J=2 Else J=3 : Endif # the “:” allow to write one instruction after the other...

0

Sorting an array in Sage X3

To sort an array use Sorta with the following syntax: SORTA NUMVALUE_ToORDER ARRAY [Desc] SORTA NUMVALUE_ToORDER ARRAY1, array2 [Desc] (array2 ordered following the order of ARRAY1) Example: Local Char STR(255)(0..4) Local Integer NUMBER(0..4) Local...

0

Master/detail pattern management

Sage X3 allow to create the management of a new object practically with only parameterization. But if tou need to achieve an object with master/detail pattern you must follow a very precise procedure that...