Skip to main content
Question

Existing data not visible in SQL Quick Report

  • October 22, 2025
  • 6 replies
  • 40 views

Forum|alt.badge.img+8

I have a strange problem. I have developed a SQL Quick Report which execute perfectly: returns 19 rows as expected but no data is shown in some of the columns. These columns are related to Shop Order Costs.

  1. So if I log in to IEE,  go the the SQL QR and execute it: the cost columns are empty for all 19 rows.
  2. If I open the Shop Order Costs form, filter to the same order_no than the SQL QR: I can see the costs. Now if I go back and execute the SQL QR I get: 19 rows and all the empty cost columns are now full of number!

What the hell is going on? Anyone have ideas?

6 replies

Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • 36 replies
  • October 22, 2025

The data that I do not see until I open the Shop Order Costs form is from “shop_order_variance2” view.


Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • 36 replies
  • October 28, 2025

Anyone knows which API method should be invoked in an SQL query to populate the “shop_order_variance2” view?

Any suggestion to get the Standard costs and the Actual Costs from another view(s)?


Abdul
Superhero (Partner)
Forum|alt.badge.img+20
  • Superhero (Partner)
  • 534 replies
  • October 28, 2025

Hi ​@clilouise

I checked, shop_order_variance2 view is based on a temporary table and system does not store data there.

You can use Shop Order Costs screen to get different Shop Order details like Estimated Cost, Standard Cost, WIP Cost, Actual Cost, etc.

 

Regards 

Abdul Rehman 


Forum|alt.badge.img+8
  • Author
  • Do Gooder (Customer)
  • 36 replies
  • November 5, 2025

Hi ​@Abdul,

Do you know in which other view I could access the data for an SQL Quick Report?


Abdul
Superhero (Partner)
Forum|alt.badge.img+20
  • Superhero (Partner)
  • 534 replies
  • November 6, 2025

Hi ​@clilouise,

I am not sure about your business requirements, though, there multiple screens are available to get different types of Shop Order Costs. 

Attaching screenshots for reference.

 

Regards

Abdul Rehman


Forum|alt.badge.img+14
  • Hero (Partner)
  • 219 replies
  • November 6, 2025

@clilouise Try the SHOP_ORDER_COST_DETAIL view.  It should have the same data generated from the Shop_Order_Cost_Util_API.  If that doesn’t work, then try some of the public procedures available in the Shop_Order_Cost_Util_API.