RKL eSolutions Blog Trends and Insights

Add Selection Conditions To Formulas When Running Inquiries in X3


A recent request from a client was to only show Active products when running the Stock By Product Inquiry. The default settings will show all items regardless of the status of the product.

Sage X3 allows the user to add formulas in an inquiries Criteria that can help filter out a specific data set.

In this example, I will create a formula that can be used in the Stock By Product inquiry as well as other inquiries throughout Sage X3.

Create the Formula:

  1. Expand Setup > General Parameters > Formulas
  2. Click ‘New’ to create a new Formula.
  3. Select “Stock selections” as the Formula Type.
  4. Create a Code, Description, and Short Description.
  5. Enter the Formula [F:ITM]ITMSTA = 1 (Only select items were the Item Status is Active)
    • If you need help with your formula click the Formula Action Box and select the “Formula Wizard”.
  6. Click ‘Create’ to complete the creation of your formula.

Sage X3 Formula

Use your formula when running an Inquiry:

  1. Expand Stock, Inquiries, Stock By Product.
  2. Click the ‘Criteria’ button.
  3. Scroll down to the Formula field and select the selection formula you just created.Sage X3 Forumula Field
  4. Click ‘OK’.
  5. Click ‘Search’ to refresh the data results and show only the items marked Active in the Products table.

Now you know how to add selection conditions to formulas to help filter down the data set to what is relevant to you.

Tags: Sage X3
LeeAnn Segan

Written by LeeAnn Segan

LeeAnn Segan is an ERP Support Specialist with RKL eSolutions LLP. She supports Sage 500 ERP and Sage X3. LeeAnn specializes in the financial and distribution modules. Her background includes managing distribution and warehousing for ecommerce based companies. When not working, LeeAnn enjoys working out, volunteering with groups that support special needs, and spending time at the beach with family and friends.