Tag Archives: Sage X3 technical blogs

Determine the Length of Data Type, Whose Internal Type is Alphanumeric

It’s Very obvious to declare the variables while developing any kind of application. These variables contains a value for particular field. While declaring this variable, we have to set the length of the variable. Two obvious way to set length and corresponding disadvantages: Check with the length of the field data type of that field.… Read More »

How to add Levels in Graphical Requester in Sage X3?

Sage X3 has a special in-built feature to add levels in graphical requester. Follow the below instructions to add levels to graphical requester. Step1: Go to Setup –>Usage –>Reports –>Graphical requester You will find the Graphical requester screen and create a record as shown below, In the below screen, we have added the “SORDER” and… Read More »

Know Month Name from the Given Date

Sage X3 provides an inbuilt function to retrieve the number and name of month from the particular date. Following are the functions you need to write for the same. To retrieve number of month from given date: month(exp_date) To retrieve name of month from given date or given number of month: month$(exp_date) month$(exp_num) Where, exp_date         … Read More »

How to know a Mask Variable is Initialized or not?

In Sage X3, sometimes you may have to check for the initialization of a particular mask variable. Sage X3 provides an inbuilt function to do the same. Below function is used to know whether a mask variable is initialized or not. varinit ( zone_name [, exp_index ] ) Where, Zone_name :     [ class ] name_of_variable.… Read More »

How to Reopen the Debugging Window in the Eclipse?

If we want to debug the code on version 7 or on any higher version, eclipse will help us in that. We cannot get the window back if we knowingly or unknowingly close the debugging window. Sometimes we may need to uninstall or re-install eclipse, even if we click on debug button. This issue can… Read More »

How to Restrict User from Creating SO for Price below Minimum Sales Price

If you come across a scenario where you want to restrict user from creating a sales order for net price less than minimum price then sage X3 provides a standard functionality Non block ctrl price,profit,qt. Navigation: Setup –> General parameters –> Parameter Values Sales – Authorization —  SDACLOK (Non block ctrl price,profit,qt ) Set  Non… Read More »

How to use Local Menu Message through Coding?

In Sage X3, we may have to display a particular message for several times based on the certain condition. We can define such frequently used messages in a local menu and can access them through coding. To access the message defined in a local menu in coding, Sage X3 provides an inbuilt function: mess(exp_num, exp_chap,… Read More »

How to Reserve the Stock for Particular Customer?

Have you ever come across a circumstance in Sage X3 where you would like to reserve the stock of managed product for customer? Sage X3 has a feature where we can reserve the stock for customers. To successfully bring this functionality follow below steps. Navigate To: Sales>Allocations>Customer reservations We can reserve the product in stock… Read More »

How to Change the Title of a Tab Dynamically?

Sage X3 provides an inbuilt function to rename the title of a tab at runtime. We can change the tab title dynamically using following function: Chgtfd [class] expr_c Where, class: describes an open mask. In the absence of this parameter, the default mask is used. expr_c: describes expression of the type Char containing a valid… Read More »

How to Call “Entry point” from the Code

As you know we have been blogging for quite a while now, however you might have found very few topics on Entry Point. This blog will help you understand the working of Entry Point in Sage X3. In our processing file, there are a lot of coding lines and very few codes would be comprehended… Read More »