How to create Prepayment post partial sales delivery in Sage X3

In this blog, you will learn how to create Prepayments on Sales order post partial sales delivery in Sage X3. Create a Sales order. Create a partial delivery on a Sales order. Create a prepayment for sales order from prepayment menu. Issue prepayment. Create a Receipt on prepayment. Now the prepayment is paid. You can… Read More »

How to add properties to the object

You may come across the situation where you want to give some summary information linked to the current record. Thanks to the menu File / Properties where we can add the information. This information will be available by right click (Properties line) for all fields corresponding to the key for an object. Set up -> General Parameters -> Properties… Read More »

To identify the server in which the current folder is installed in Sage X3

adxmac is a function used to identify the server in which the current folder, or one of its reference folder, is installed. It also allows you to obtain the network name of the client (in version 7 mode, the client is the node.js server) Syntax:  adxmac(Index) Examples:  # What is the application server name APPSERV_NAME=adxmac(0)… Read More »

How to skip entry transaction pop-up and select a default entry transaction?

You might have come across a situation where you might have to open a window via code. Here, if there are multiple entry transactions for the window, then the Entry Transaction Dialog will pop-up and would require the user to manually select the Entry transaction before the opening of the desired window. This can be… Read More »

How to hold a Payment of particular Supplier in Sage Enterprise Management (formerly Sage X3)

We may come across a scenario where we want to hold a payment of particular supplier. Navigate to the supplier for which you want to hold the payment. Follow below steps to do the same: Go to: Common Data > Bps > Suppliers > Management tab. Tick the checkbox ‘Payment Hold’ and click on save button.… Read More »

How to set report destination by user in Sage Enterprise Management (formerly Sage X3)

You may come across the situation where you need to set different report destinations for different users. To set the destination user go to Set up >>Destination by user Select a user for which you want to set a destination, report name, and destination. About Us Greytrix is a one-stop solution provider for Sage ERP… Read More »

How to Know Current User Code in Sage X3

In Sage X3, there exist some standard global variables which provide information regarding current functional processing. For eg., current function, current user, a name of current user etc. The global variable GUSER provides a code of a user which is currently logged into Sage X3 applications. You can easily use this global variable into your… Read More »

How to get the message for numeric error code when an error occurs

errmes$ returns the message associated with a numeric error code available when an error occurs. It is frequently used when the error code errn is used, in the error handling routine set by Onerrgo. Syntax : errmes$(INT_EXPR) where INT_EXPR is an expression returning an integer value Example: Let’s trigger an error (division by zero). Description… Read More »

How to get Log File name generated using openlog in Sage X3

We can generate logs using openlog. Also, it is possible to get the name of the log file generated using getlogname() function.  Syntax: LOG_FILE = getlogname() This function returns the file name of the last Sage ERP X3 engine log. When the log mode is activated, a file located in the ‘TMP’ subfolder of the folder… Read More »