Ir al contenido principal

Entradas

Mostrando entradas de marzo, 2023

Compile adonix source from a program

FUENTE ORIGINAL DEL ARTÍCULO  BY  SAGEDEV   · PUBLISHED  JANUARY 9, 2018  · UPDATED  SEPTEMBER 20, 2018 We all know the main way to compile an adonix source: in Sage X3 version 6.x and earlier, in fact, there is a special editor ( ADOTRT  function) available, from where you can compile with the F7 function key or with the appropriate menu. From 7.x, in the web interface there is still the  ADOTRT  function available, with the “Compile” button available, but the F7 key is no longer available, and ESC-F7 escape sequence can not be used. From version 7.x we also have Eclipse available through the  pluging Safe X3 . But if for some reason we needed to compile a source from a program? Or if we wanted to recompile all the sources starting with Y? (By the way, you know that the changes made by the end customer should they start with the Z? The Y would be reserved for consultant developments…) To do this, the following call is helpful: Call VALID(FOLDER,SOURCE, DOSSIER, OK) From VALMSKSUB Wher

How to use time and date

  Fuente original del artículo: SAGEDEV BY  SAGEDEV   · PUBLISHED  FEBRUARY 20, 2018  · UPDATED  SEPTEMBER 20, 2018 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 time in a  Datetime  variable, use the  datetime$  function (only from V7 release). The established form to represent date and time with a string is: YYYY-MM-DDThh:mm:ssZ #attention to the letters T and Z Typically date and time have “YYYY-MM-DDThh:mm:ss” format num$(date$) #To get today's date string num$(time$) #To get the current time as a string num$(datetime$) #To get today's date and time as a string gdat$(DAY,MONTH,YEAR) #To get a date of a day, month and year gdatetime$(str) #To get a Datetime variable from a string year(date) #To get the year of a date month(date) #To get the