Category Archives: Sage ERP X3

How to generate a Sequence Number manually

You may come across the situation where we have to generate a sequence number manually, consider the following example. Where sale order number is ALLSONAO0110005, we want next sales order number to be generated is ALLSONAO0110008 to do so we have to go to the sequence number values screen. Add the seq counter, give next… Read More »

How to flush the write buffer in Sage X3

Sage X3 version 7 has a new function Flush the Write buffer, which is filled by the Writeb instruction. Flush: The Flush instruction sends to the database the lines that have not already flushed when the Writeb syntax is used to create lines in the database. Syntax: Flush[Class] Parameter Details: CLASS is the abbreviation of the table in which the flush is… Read More »

How to create a restricted Pricelist in Sage X3

Sage X3 provides a functionality to restrict certain products to be sold on the Sales Order, when the products cannot be sold to the customer unless the customer is authorized to buy such products. e.g. liquor products, medicine products etc. Follow below steps to create a restricted pricelist. Navigate: Setup -> Sales -> Pricelists ->… Read More »

How to find the square root of the Number

The Sage X3 function holds the function which calculates the square root of the given number. Below is the syntax to calculate the same. Syntax: sqr(numeric value) Example: The return type of function (i.e sqr()) is double if we will assign a value to integer data type it will parse the value to the integer. This… Read More »

How to find size used for the storage of BLOB or CLOB variable

lobsize returns the size (in bytes) used for the storage of BLOB or CLOB variable. Syntax: lobsize(BLOB_CLOB) Example: # How much space spent for a clob? Local Clbfile MY_CLOB(0) MY_SIZE=lobsize(MY_CLOB) : # Returns 1016 (stores 508 characters) My_CLOB=string$(50,space$(10))+space$(9) : # Assign a 509 character string MY_SIZE=lobsize(MY_CLOB) : # Returns 66550 (MY_CLOB has been automatically enlarged)… Read More »

Extracts the Nth character of a CHAR or CLOB variable

This function extracts the Nth character of a CHAR or CLOB variable. This function runs much faster than the usual functions such as mid$or seg$ when managing large CLOB data. Syntax: EXTRACTED_CHARACTER=Xgetchar(CLOB_SOURCE,POSITION) Parameters: CLOB_SOURCE has been declared by using a Clbfile or a Char  POSITION has been declared by using an Integer EXTRACTED_CHARACTER has been… Read More »

Converting challenges into opportunities for your Manufacturing industries with Sage X3

The growth of industrialization and manufacturing production remains an essential part of Africa’s economic transformation. Manufacturing being among the top three multiplier sectors in terms of value addition, job creation and revenue generation contributes to about 15% of the GDP to the East African regions of Kenya, Tanzania, Rwanda, Ethiopia, and Uganda. Manufacturing sector traditionally… Read More »

Unlock Work Orders

You may come across a situation during the optimization processing in update mode, all selected work orders are locked (their situation flag switches to “Understudy”) and processing go wrong ,it may happen that the selected work orders remain locked and therefore cannot be used in any other function, such as scheduling, release or optimization. Sage… Read More »

Mass Validation of Stock transactions in Sage X3

We may come across a situation where we want to validate multiple stock entry transactions at a time. This can be achieved in Sage X3 by “Validate Stock transactions”Screen. Navigate: Setup -Stock -Entry Transactions – Validate Stock transactions Step 1: Select Stock Transaction Type Step 2: Select Entry Transaction Type Step 3: Click on OK… Read More »

How to Validate Postal code Field in Sage X3

In Sage X3, we can enter the Postal code on the addresses of entities as Company, Site and all the BP entities (BP, Prospect, Customer, Supplier, Carrier and Sales rep). In Sage X3, we can manage the entered postal code by verifying with existing postal code. Kindly follow the below steps to enable this validation.… Read More »