• How to call action flags in "Standard Processing" types of functions - FUNCLEAR (Close & Reopen Purchase Orders)

    Hello! I've added a field, ZMNSTA, to the CLE2 (Close & Reopen Purchase Orders) screen, in order to display a custom field from ITMMASTER for each product. However, upon entering my code into SPECLE2, it seems that no actions are being called at all…
  • "Entry impossible: the preparation code for this site has not been set up!"

    Hello, I have a need to explore the usage of "preparation codes", however, when I try to set one up, I get an error: How do I bypass this, or set up a preparation code at the site as mentioned? I cannot click in the preparation code box. A site…
  • Adding custom fields to PAY1

    Hi there, I have a need to add a custom field to the grid array in screen PAY1, but I noticed the screen itself it is marked as "Templ. screen" and the verification button is greyed out. I tried adding the field anyways and verifying entry transaction…
  • Manual Matching (LETTRAGE) screen - actions are not being called?

    Hello, I want to make a simple specific script modification for the manual matching screen (SPELTR) however, it seems that actions do not work on the screen. The code is as follows: $ACTION Case ACTION When "AVANTBOUT" : gosub ZSOLCPT When default…
  • View Archive Folder scripts from the Web Service script editor

    Hello, I want to make some modifications to SPEITM, but I noticed that our Sage x3 provider has done some of their own in a custom file, YSPEITM which they've called at the action runtime in SPEITM: Unfortunately, this script does not exist in the…
  • Delete/insert lines with SOAP web service

    Hi, I don't understand how to set up the parameters to insert and delete lines via web service; actually, I can't find much on those parameters in general (their definition, when should I use which, etc). A simple example would do the job as well, I…
  • Any Easy way to exclude weekend from date calculation in 4GL?

    Is there any easy way to exclude the weekend from my date calculations in X3? For example, my delivery is suppose to arrive on Monday. It takes 3 business days to get to the customer. If I do Monday - 3, I would get ship date of Friday when I actually…
  • 4GL Subtracting Time

    Hi, How do you subtract time with the 4GL language? Thanks, Chris
  • Delivery Locking after validating

    I trying to validate my deliveries using the VALIDATION() subprogram in the TRTVENLIVV file. Whenever, I successfully validate a delivery, the record is locked up. I added the Unlock = "SDH"+delivery_number command, but the record is still locked…
  • How to turn off carrier price calculation?

    On the delivery screen, when I work with web services, when I save a record, it asks web service the following message and web services responds with a yes. The carrier, shipping address, or weight/volume was modified: Search for the carrier price?…
  • 4GL- Calling IMPORTSIL from grid contextual menu (GBOUT1) doesn't work

    Hi, I'm facing a weird behaviour. In my specific, I've developed a routine that uses IMPORTSIL to add a new line to an existing sales order. This routine is simple: Reads current SOH data and generates a text file Add a new text line from parameters…
  • CALL LISTE (GESATH) with LISTENAME and PARAMETERS

    Hi guys. I'm developing a map that aggregates a series of data by article (i.e. to the sum of the quantities in order). On the row I have a series of button actions, I would like to call consultations (created by GESALH) to show a details of data…
  • Recursive Funprog 4GL not working

    Hi all, i have a problem with this function: Funprog SUM_TOTAL(PROJECT,BUDGET) Value Char PROJECT Value Char BUDGET Local Decimal TOTAL If !clalev([F:PJBU]) Local File PJMBUD [PJBU] : Endif If !clalev([F:PJLB]) Local File PJMBUDLIG [PJLB] : Endif If…
  • Problem during modification of something with a new picking left list

    Hi, as mentioned in the subject when i try to modify a screen with a new picking list row inserted it returns to me this error: WNUMDOC-WLINDOC Undefined Parameter But i can't find these parameters anywhere I tried in OPOH window in Sage X3 V11
  • [4GL] Remove Row on a Screen

    Hi all, how can i remove, via 4GL, an ITMREF row on a Screen, for example, knowing only row's index number on Sage X3 V11?
  • Clob Field not Pulling Values(Menu item)

    Hi I have a task where I have to add a Text Field(CLOB) on the customer screen as a menu item(on right side) So far this is what I accomplished 1.Added menu item and Enabled it in SETBOUT 2.Created a new screen(ZACLOB) with a CLOB field When…
  • Add Line to Grid

    HI all, in Sage X3 v11 I need to fill a grid on click but I can't find a way to add lines to my grid, can someone share a script to help me, i'm currently working on Sage X3 SPE Script of that window?
  • List folder content in native mode

    Hi We have tried listing folder contents using this two approaches without success. First approach used to work in classic mode. 1. Call SYSTEME2(adxmac(0),"LSADX"-FOLDER,"",FILCOUNT, FILLIST) From ORDSYS (error, 'Unexpected end of JSON input') …