• Graphical Query tool - selection criteria based on Expression

    Trying to create a query based on items that are out on loan to customers. My query includes an Expression calculation based on what has been delivered to a customer minus what has been returned. So using two tables QTY on SORDERQ-RETURND, therefore…
  • "LNGDES_0" of table ATABDIV invalid column name in SQL query

    Hello, I have written a simple SQL query that returns info about sales returns. I am trying to get the return code description to show up, from the ATABDIV table (Miscellaneous Tables) but it's throwing this notice that the column name, LNGDES_0,…
  • Can you execute a stored procedure in the Sage X3 SQL Query Tool?

    I am trying to execute a SQL stored procedure using the SQL query tool in X3. I am not getting a validation error but nothing returns when I run it. I do get results when executing the stored procedure in SSMS.
  • Format SYSDATETIME() in SQL Query

    Anyone know how to format that so it displays MM/DD/YYYY HH/MM ? I've tried both data types D and A but just get MM/DD/YYYY.
  • SQL Query Tool

    Where's a good resource to learn more about this? I used SQL years ago but curious about the specifics for the X3 tool.
  • Using UNION or UNION ALL in SQL Query Tools

    Hello all, Has anyone had a luck with using the UNION or UNION ALL join types when creating a new view within the X3? When I try to do it I get the message - [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near '0'. …