Tag Archives: 4GL code

Defaulting Screen/Mask fields in Sage X3

In Sage X3, every now and then a requirement requires a defaulting screen/mask field with a value upon initialization or start of processing. To achieve this requirement, Sage X3 offers several ways such as scripting in the Action script under specific events or through screen dictionaries.Below we are demonstrating how to default value through screen… Read More: Defaulting Screen/Mask fields in Sage X3 »

Change the Date Format Using 4GL Script

As we know, Sage X3 supports multiple date formats as per the user’s requirement. The default date format in Sage X3 is set in setup–> Parameters. The developers who want to manipulate the date field value can use the date format using 4GL script. Also, there is an inbuilt string function that can be useful… Read More: Change the Date Format Using 4GL Script »

How to use 2-dimensional array in Sage Enterprise Management

In Sage X3, we may come across a scenario where we need to use a 2-dimensional array in our code. Please refer the below steps to use a multi-dimensional array in 4GL code. Syntax: Local Char ZLChar (chrlen)(Xlen,Ylen) Where chrlen is the length of the string character. Xlen is the array length along x-direction. Ylen… Read More: How to use 2-dimensional array in Sage Enterprise Management »