• ZONSUI no works

    Hi I try to use zonsui to move cursor in a grid. In After modif subprog field, I added zonsui = "NAMEFIELD", about another field from grid. This optioon no works. I try too zonsui = "NAMEFIELD("+num$(nolign-1)+")" , but no works too. Version…
  • Stock count custom 'Products' formula is misbehaving

    Hi there. I've created a custom Funprog that returns an integer value between 0 and 4, when an item reference is passed into it. The intended use is as a filter for the stock count 'Product' Formula, to only generate a count with items where this Func…
  • What data is passed through AWRKMEL? Workflow code [F:AWA]CODE is null

    Hello, I want to change the workflow sender depending on the workflow code [F:AWA]CODE. The workflow code in question is ZTEST However, in a custom ZAWRKMEL script, the [F:AWA]CODE value does not seem to pass through. The result is an email sent by…
  • What is the file path of printed reports? (GFILPATH)

    Hello, I'm trying to find the directory where printed reports are, and call it in the context of an ASYRMAIL attachment, however, I can't seem to get the code right. I am passing GFILPATH through a workflow, which returns the exact name of the report…
  • Left Join with is null check

    Hello I want to write the following SQL Query as 4 GL Link instruction: As seen in above screenshot this returns a record. With the following Link statement I try to make this SQL in 4GL. In 4 GL I make a left outer join and check with [F:YCFPJOB…
  • AM_ call to update screen field does not update the field

    Hello, I am using a simple piece of code to display a field from another screen in Manual Matching (LETTRAGE). When placed in an infobox, the data displays correctly, but when trying to Affzo the field on the screen, nothing is displayed. When the…
  • [X3v12-4GL] In Script editor, how to open a X3 Storage Area folder to reads its filelist names?

    Hi, 4GL Development question. Not sure the keyword to find for these. In 4GL, I know I can just manually put in the hardcode filepath to open through SYSTEME2 raw OS cmd call but it is very annoying to maintain (about 5+ scripts to update) every time…
  • Display modified fields in a workflow programmatically

    Hello! I have created a simple workflow and script to display fields that have been modified in a PO where the cost is over $10,000. This works by checking the [M] field against the base [F:POH] field, and using RETVAL to display the changed information…
  • SAFE X3 - DelFile comand

    Hi, h ow can I make the equivalent Del *.* or Del *.txt command execute with the DelFile statement? It seems that it only accepts paths with precise filename indications, such as [xxx]/abc/123.txt and instead [xxx]/abc/*.txt fails. Roberto
  • Edit a screen field from script

    Hello, I have a process that sends workflow mail via existing product sites with safety stock, and after it runs, I'd like to set their respective safety stocks to 0. I've marked where I would like to implement this code in my code snippet. I tried…
  • 4GL syntax

    Hello. I'm new in Sage development: I'm studing 4GL for the first time. In a Sage program, I found this variable reference: [M:SOH0] Whats mean [M:]? Is a local memory table? Thanks in advance