Skip to main content
Answer

Cannot get INLocation.LocationCD to be a lookup parameter on a report

  • September 23, 2021
  • 15 replies
  • 599 views

Forum|alt.badge.img

The report only has one table, INLocation.  I want a parameter linked to LocationCD to be a lookup.  I cannot get that to work.  Here is my setup:

 

What are the rules for adding a lookup parameter to a report?

Best answer by Naveen Boga

Hi @brucewarrell96  It seems Selector is NOT working with INLocation table, instead I have worked with INLocationStatus table and it is working as selector. 

Please find the attached report and screenshot. Hope this helps!!

 

 

15 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • September 23, 2021

Hi @brucewarrell96  Long back I have tried like below to get the Location ID filter. Hope this helps you as well.

=Report.GetFieldSchema('ARPayment.CustomerLocationID,StatementCustomerId')

 


Forum|alt.badge.img
  • Author
  • Varsity I
  • September 23, 2021

@Naveen B - my image is similar to yours but not having much luck.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • September 23, 2021

@brucewarrell96  Hope you have tried this way as well? 

Instead of LocationCD below, try with LocationID

 

=Report.GetFieldSchema('INLocation.LocationID,Warehouse')

 

 


Forum|alt.badge.img
  • Author
  • Varsity I
  • September 23, 2021

Tried that - no luck.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • September 24, 2021

Hi @brucewarrell96 If possible, Can you please attach your report here.


Forum|alt.badge.img
  • Author
  • Varsity I
  • September 27, 2021

@Naveen B  - see attached.  Thanks.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • September 27, 2021

@brucewarrell96  Thanks for sharing this and will look into it and let you know.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • Answer
  • September 27, 2021

Hi @brucewarrell96  It seems Selector is NOT working with INLocation table, instead I have worked with INLocationStatus table and it is working as selector. 

Please find the attached report and screenshot. Hope this helps!!

 

 


Forum|alt.badge.img
  • Author
  • Varsity I
  • September 27, 2021

Thank you.  That worked.  I didn’t need to add the table to the report.  I just added the table reference in the view field.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • September 27, 2021

Great News :) Thanks for sharing the update.


  • May 11, 2022

Any other solutions for this?  We were using the INLocationStatus table which was working fine until we upgraded to 21 R2.  Now we’re not getting any records on the Selector popup.


  • Freshman I
  • June 30, 2022

I’m having the same issue. Cannot get Location selector to populate. Used same setup as the on provided in the solution and no luck.


darylbowman
Captain II
Forum|alt.badge.img+15

Try creating a SiteID parameter like this:

 

Then define the LocationID parameter like this:

 

 

After picking the Warehouse, you should get this result:

 


Forum|alt.badge.img
  • Freshman II
  • December 17, 2024

Is there a list of item selectors available somewhere? I am having issues with the look up on Project ID. 


Forum|alt.badge.img
  • Jr Varsity III
  • January 14, 2025

Hi, I was able to output the parameter by using =Report.GetFieldSchema('ARPayment.CustomerLocationID,CustomerID') without even declaring the table or the relationship. However, this parameter does not apply to the filter. Would anyone know if that needs to be created a table/relationship? Thank you.