Tag Archives: Sage X3 Blogs

How to solve webservice error: ”nextLong”

We may come across the “nextLong “error while invoking web service. One way to resolve the “nextLong” error is below. In Version 11 and Version 12, created object based web service for saving the product .While trying to save new product we received nextLong error with Type 4. Refer. Fig., 1.1 Cause: If no field… Read More »

How to enable the Source transaction in Journal entry

In Sage X3 version 12 release, there is an amendment to the existing feature for the journal entry transaction screen. Where we can now get the journal entry source transaction details which is mapped with the respective transactions. This addition will ease the auditing of journal entry. To enable this amendment you need to follow… Read More »

Enable the menu button in Sage Enterprise Management

In Sage Enterprise Management, when we add the menu button and its lines in any window it is disabled by default. Perform the following to enable this menu buttons. Here, CHMEN is the keyword to enable the menu button. And “Z6” and “Z5” are the button code. Hope this blog helps! About Us Greytrix – a… Read More »

How to add dimensional field in object selection

We might know how to add the Single dimensional field in the selection tab while creating the object. Refer to the below screenshot, to add a field in object selection. Navigational Path – Development->Script Dictionary->Objects Here is the Screenshot below to add Multidimensional field in the selection tab of objects. Make Table and Field column… Read More »

How to get descriptive values from Miscellaneous Tables Value in Sage Enterprise Management

You may come across the situation, where you need to read the description from the miscellaneous table. One of the possible ways to do is as below: If !clalev ([ZAT]) : Local File ATEXTRA[ZAT]  : Endif For  [ZAT] WHERE CODFIC=’ATABDIV’ AND IDENT1=’32’ AND ZONE=’LNGDES’ AND LANGUE=GLANGUE infbox num$(TEXTE) next The TEXTE will return you the… Read More »

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 find Database size of your folder

You may come across the situation where you would like to know the database size of the folder or amount of space utilized by the folder in the database. Sage X3 has a special feature of getting database size of a particular folder in the screen. New Stuff: How to define filter criterion on database query… Read More »

How to set the default Category as “ACTUAL” in Journal

We have come across the scenario where the Journal which are created from the Sales or Purchase Invoice should not be editable. We have parameter values which will set the Category as Default when we Post the transaction. Img: Parameter Values → Common data(TC) –> Group CPT This will set default value as actual, which will… Read More »