Skip to main content
Solved

Lobby Element Drill-Down Loading all CustOrd

  • September 22, 2020
  • 4 replies
  • 272 views

Forum|alt.badge.img+10
  • Sidekick (Customer)
  • 119 replies

We have a Counter lobby element that when we drill-down it is loading all CustomerOrders- not just the ones for the SQL behind this element.

The SQL uses an IAL - RW_ORDERS_SHIPPED_TODAY2, which is built on another IAL (RW_ORDERS_SHIPPED_TODAY).

I’ve done other lobbies where the drill-down works, so I don’t see what’s different with  this one, unless somehow IALs aren’t recognized?

 

select count(*) 
from ifsinfo.RW_ORDERS_SHIPPED_TODAY2
where contract = 'W'

Best answer by djay

Yes. In data source don’t create the count column. Select any columns (ex: order no) in the column section. So it lists all the order no’s in data source preview.

In lobby element you can choose the element type counter and choose that column/columns.

 

 

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+7
  • Hero (Customer)
  • 27 replies
  • September 22, 2020

You can use data source view as “&AO.CUSTOMER_ORDER” and in data source condition as below,

 

order_no in (select order_no from ifsinfo.RW_ORDERS_SHIPPED_TODAY2 where contract = 'W')

 

Then drill down filter should work.


Forum|alt.badge.img+10
  • Author
  • Sidekick (Customer)
  • 119 replies
  • September 22, 2020

thx. I tried that and get repeating result rows:

 

 


Forum|alt.badge.img+7
  • Hero (Customer)
  • 27 replies
  • Answer
  • September 23, 2020

Yes. In data source don’t create the count column. Select any columns (ex: order no) in the column section. So it lists all the order no’s in data source preview.

In lobby element you can choose the element type counter and choose that column/columns.

 

 


Forum|alt.badge.img+10
  • Author
  • Sidekick (Customer)
  • 119 replies
  • September 23, 2020

thx; that worked!

That’s nice to know as if offers more flexibility/power!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings