Category Archives: Sage ERP X3

How to find number of Variables defined in a Class

In this blog, we will look how to find the number of variables defined in a class. Sage X3 has the solution to know with the help of keyword “clanbs”’ along condition. Clanbs return the number of variables existing in a class or the number of symbols allocated to a variable class. Syntax: clanbs(<Class/ num_exp>,symb_exp)… Read More »

How to enable Runtime logging to create a debug trace in V7?

There are situations where you have used Eclipse to debug, you may have noticed that for large traces Eclips may hang or product errors. In Sage X3 V7 you can trace an issue of all the code lines in the log file using below steps. To enable runtime logging follow below steps: Navigate : Administration… Read More »

How to call a subroutine or methods in Sage X3 using instance

Like any other programming language, Sage X3 also supports functions/methods/subroutines. Though the syntax for defining these functions are different in all languages, the purpose is similar to perform actions and return (or not to return) any result. But, there are certain subroutines which do not return any value as a result. In Sage X3, these… Read More »

Determine the number of buffers allocated for saving application messages in Sage X3

There may be a scenario where we need to check the number of buffers allocated for saving the application messages in Sage X3. Adxmbm is an Adonix system variable of the Integer Type, which sets the number of buffers from 32 bytes allocated for saving the application messages. Syntax: [S]adxmbm Integer Example:                                                #… Read More »

Thinking on how to resolve “Valuation Method Not Found” error in Sage X3

In Sage X3, you may face an error message that states “Valuation method not found” during creation of Miscellaneous receipt. Follow the following steps to resolve this error in Sage X3: The error can be easily identified with the message as shown in the image below during the creation of miscellaneous receipt. To solve this… Read More »

Stock Change by ADC Screen in Sage X3

In Sage X3, you may come across a scenario wherein you want to move your stock from one location to another. Sage X3 has a special feature to achieve this functionality. There are two methods to achieve this functionality: Stock> Internaltransactions>Stock change ADCs>Stock>Stock changes We have already seen the first method now we will see… Read More »

Learn how to Extract Right Sub-string from a Given String in Sage X3

In Sage X3, you might face various scenarios where you want to get the sub-string from an existing string. You can derive the sub-string from leftmost/rightmost direction, starting from a particular position for a given string using this tip in the blog. This blog will help you to get the rightmost sub-string from any particular… Read More »

How to resolve “Valuation price null not authorized!” error in Sage X3

 While creating miscellaneous receipt transaction in Sage X3, we will often encounter an error “Valuation price null not authorized!”  This error is particularly generated for the products which are not having the value or gross price in stock. We can resolve this by following the below steps: Navigate to: Setup > Stock > Valuation method. Select… Read More »

How to Extract a Left Sub-String from a given string in Sage X3

In Sage X3, you may come across various scenarios where you need to get a sub-string from an existing string. You can derive sub-string from both the ends i.e. from the left or the right or starting from any particular position of a given string. This blog will help you to extract the leftmost sub-string… Read More »

How to Know Error Number and Error Line in Sage X3

In any programming language, we need to do error handling for smooth working of any functionality. In Sage X3, the error management is done by Onerrgo instruction. When the errors are intercepted by the instruction Onerrgo, an error leads to a branching to the corresponding label. The corresponding error number can then be found in… Read More »