Skip to main content
Solved

Navigation for lobby element/data source based on IAL


Forum|alt.badge.img+7

Dear all,

I created a lobby element based on an IAL. 

The navigation from the counter to the target-window does not transfer the result even if I use the option “Use data source condition”. 

Instead the target window is populating all data. For “non-IAL” data sources the target-page gets the right values.

 

Is there a trick how to make that work for IALs?

 

Thanks a lot in advance!

 

Best

Fabian

Best answer by anmise

IFSmattis wrote:

Hi Jack,

I made this setup:

IAL:

select 
a.project_id, 
a.order_no, 
a.state,
a.customer_po_no, 
a.CF$_C_CONTRACT_REF, 
a.REGION_CODE, 
a.DELIVERY_TERMS, 
a.PAY_TERM_ID, 
b.vendor_no,
from 
ifsapp.customer_order_cfv a LEFT OUTER JOIN (select * from ifsapp.customer_order_line where line_item_no <> '-1') b
ON a.order_no = b.order_no

 

data source:

lobby element: 

 

But unfortunately it is not working when I click on the lobby element:

 

I assume the problem is the JOIN in the IAL or did I miss something?

 

Perhaps you have an idea.

 

 

Thank you! 

 

Best

Mattis

Change the target column from distinct(ORDER_NO) to just ORDER_NO, and it should work.

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

3 replies

Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 5 replies
  • April 14, 2020

I presume that your WHERE part of query is within the IAL - that should be the reason.

When you use “Use data source condition”, the navigation uses conditions set in data source to filter data in form/table you’re sent to. 

You can try doing your data aggregation within IAL and moving WHERE to data source (shouldn’t be an issue if your IAL is set for ‘Live Data’).

If you were to use different Lobby Elements you can also make use of ‘Column values’:

 


Forum|alt.badge.img+7
  • Author
  • Sidekick
  • 19 replies
  • June 5, 2020

Hi Jack,

I made this setup:

IAL:

select 
a.project_id, 
a.order_no, 
a.state,
a.customer_po_no, 
a.CF$_C_CONTRACT_REF, 
a.REGION_CODE, 
a.DELIVERY_TERMS, 
a.PAY_TERM_ID, 
b.vendor_no,
from 
ifsapp.customer_order_cfv a LEFT OUTER JOIN (select * from ifsapp.customer_order_line where line_item_no <> '-1') b
ON a.order_no = b.order_no

 

data source:

lobby element: 

 

But unfortunately it is not working when I click on the lobby element:

 

I assume the problem is the JOIN in the IAL or did I miss something?

 

Perhaps you have an idea.

 

 

Thank you! 

 

Best

Mattis


  • Superhero (Employee)
  • 1426 replies
  • Answer
  • June 10, 2020
IFSmattis wrote:

Hi Jack,

I made this setup:

IAL:

select 
a.project_id, 
a.order_no, 
a.state,
a.customer_po_no, 
a.CF$_C_CONTRACT_REF, 
a.REGION_CODE, 
a.DELIVERY_TERMS, 
a.PAY_TERM_ID, 
b.vendor_no,
from 
ifsapp.customer_order_cfv a LEFT OUTER JOIN (select * from ifsapp.customer_order_line where line_item_no <> '-1') b
ON a.order_no = b.order_no

 

data source:

lobby element: 

 

But unfortunately it is not working when I click on the lobby element:

 

I assume the problem is the JOIN in the IAL or did I miss something?

 

Perhaps you have an idea.

 

 

Thank you! 

 

Best

Mattis

Change the target column from distinct(ORDER_NO) to just ORDER_NO, and it should work.


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