Ir al contenido principal

Entradas

Mostrando entradas de julio, 2024

How to Popup File Selection Window in Sage X3

  Fuente original: https://www.greytrix.com/blogs/sagex3/2018/07/22/how-to-popup-file-selection-window-in-sage-x3/ By  Greytrix   |   July 22, 2018 0 Comment As you know, whenever we want to upload any file either in Sage X3 or in any programming, we get drop box from standard for file selection where we can select the file to be uploaded. As said, this pop up comes from standard. But, in Sage X3 we can pop up dropbox through our code, too. Sage X3 provides a special function to pop up dropbox for file selection. Below is the syntax: Syntax :   Call COPSRV(FICCLI,FICSRV,ASTATUS) From ORDSYS   where,   FICSRV : Temporary path where the file will be stored   ASTATUS : Returns an integer value 0 or 1.                    0  :  If file is selected                    1  :  If file is not selected Example :   Here, we pop up drop box for file selection using code. Refer below screenshot for snippet of code. code Output: file_upload file selection Hope this helps!

How to skip entry transaction pop-up and select a default entry transaction?

  Fuente original: https://www.greytrix.com/blogs/sagex3/2018/07/22/how-to-popup-file-selection-window-in-sage-x3/ By  Greytrix   |   May 8, 2018 0 Comment You might have come across a situation where you might have to open a window via code. Here, if there are multiple entry transactions for the window, then the Entry Transaction Dialog will pop-up and would require the user to manually select the Entry transaction before the opening of the desired window. This can be avoided by setting the value of GFLAG after the standard action of “DEFTRANS”. Syntax: In the Specific Processing file for the Window, call the Standard action first and set the GFLAG variable with the desired transaction. In the below case the default transaction is set as “ALL”. Fig: Code Snippet Hope this blog helps!