RKL eSolutions Blog

Add Selection Conditions To Formulas When Running Inquiries in X3

Written by LeeAnn Segan | May 3, 2017 8:58:34 AM


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.

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.
  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.