Skip to main content
Question

Lobby Query re navigation

  • February 6, 2021
  • 2 replies
  • 213 views

Forum|alt.badge.img+18

We have a package that creates summary data into a custom logical unit.   This custom logical unit is used utilized by the lobby list element and the aim is to navigate from this list element to a customer order lines saved search.  

The saved search used the following filter:

trunc(promised_delivery_date) < trunc(sysdate) and state <> 'Cancelled'  
and order_state <> 'Partially Delivered'
and customer_no <> 'CA001' and order_no not like 'Y%'
and &AO.accounting_period_api.get_accounting_year(&AO.site_api.get_company(contract),promised_delivery_date) = &AO.accounting_period_api.get_accounting_year(&AO.site_api.get_company(contract),site) 

 

The list element navigation is passing the following column values:

 

It looks like the column values above are being ignored as order lines with that are in an earlier period are being displayed.

 

Is there a better way to achieve this.

Thank you.

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+4
  • Do Gooder (Customer)
  • February 8, 2021

It might not be the solution.  But, try to trace first: 

Have you tried activating the debug console, and check the query statement when the navigated window is populated?  (check whether those 2 fields are in the where condition).


Forum|alt.badge.img+18
  • Author
  • Superhero (Partner)
  • February 9, 2021

@anqjusinl 

Thank you for your reply.

I had already created the custom fields for both prior to creating the lobby element.