Skip to main content
Solved

How to select Customer Ship To on Report after selecting Customer

  • February 8, 2022
  • 4 replies
  • 276 views

Forum|alt.badge.img
  • Freshman I
  • 26 replies

I am making a Sales Order based Report. I want my users to select a Customer ID and then a customer Ship To Location. I want the Customer Ship To Locations to only be for the Customer ID. Right now I can’t even get the Customer Locations to pull up...How do I make this happen in a report?

I’m including a screen shot of the parameter screen and the relationship tab from the build schema part of the report. Please note, I’m a novice, so any help would be appreciated.

 

 

 

Best answer by hkabiri

@sarah Please use the following statement for View Name of your customer location parameter:

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

You do not need to add the ARPayment table to the report.

Let me know how it goes.

 

 

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

4 replies

hkabiri
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Support Team
  • 226 replies
  • February 9, 2022

@sarah  You may need to use following KB which touches on how to add dependent value as parameter to Reports. In your case, you need to pass the Customer parameter to the Location to filter the Locations of selected customer.

https://community.acumatica.com/reports-and-generic-inquires-83/how-to-add-dependent-parameters-to-a-report-89

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 26 replies
  • February 9, 2022

@hkabiri thanks for the KB article - 

Since I’m new to this, I’m not sure how to properly say show me the Customer Location, after I select the Customer.

I tried the syntax shown in the KB article example and I thought the following would work: =Report.GetFieldSchema('SOOrder.CustomerLocationID,CustomerID') 

but the Ship To lookup is still blank.  Is there a “friendly” name i need to use here?


hkabiri
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Support Team
  • 226 replies
  • Answer
  • February 10, 2022

@sarah Please use the following statement for View Name of your customer location parameter:

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

You do not need to add the ARPayment table to the report.

Let me know how it goes.

 

 


Forum|alt.badge.img
  • Author
  • Freshman I
  • 26 replies
  • February 10, 2022

UPDATE - 2/10 - 5:18 PM CST

The drop-down list for the customer ship to locations populated with the statement you sent but when I run my report and select the Customer and the Customer Ship To, there’s nothing on the report.  If I run the report and only select the Customer, I get the data I need…

Now what could I be missing???

 

@hkabiri Thanks so much for your guidance and assistance.

The statement you sent worked!!!


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