Skip to main content
Solved

Filtering the AR Aged report

  • February 21, 2022
  • 3 replies
  • 354 views

Forum|alt.badge.img
  • Jr Varsity III
  • 39 replies

We would like to get a version of the AR aged report for Customers who have an invoice outstanding over 90 days (age03), and then we want to show all invoices for that customer.  If they do not have an invoice over 90 days old we don’t want them on the report.

 

I thought that there would have to be a way to filter the report using the AgeTot03 variable (<>0) then print but I am not having any success.

Any ideas?

Best answer by lauraj46

Hi @mcoman ,

I don’t believe that you can use the calculated variable results in the report schema filters because the values have not been computed yet.  

One idea would be to add the critieria $AgeTot03>0 on the VisibleExpr of the sections that you want to hide.  You can use the ProcessOrder on variables and sections to control when they are evaluated. 

Set the Process order for the sections you want to hide = WhilePrint. 

The default setting for the variables is that they are calculated WhileRead. 

This should ensure that the $AgeTot03 value is calculated before it is evaluated in the visibility expression.  I tested this and it seemed to work.

Another thought would be instead of a report, to make this a dynamic screen.  In that case you could base it off of the AR-CustomerDetails generic inquiry, which is part of the AR Clerk dashboard in the SalesDemo dashboard customization package.  With a generic inquiry you can apply a filter to the customer totals as is the case on that dashboard.

Hope this helps!

Laura

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

3 replies

lauraj46
Captain II
Forum|alt.badge.img+8
  • Captain II
  • 591 replies
  • Answer
  • February 21, 2022

Hi @mcoman ,

I don’t believe that you can use the calculated variable results in the report schema filters because the values have not been computed yet.  

One idea would be to add the critieria $AgeTot03>0 on the VisibleExpr of the sections that you want to hide.  You can use the ProcessOrder on variables and sections to control when they are evaluated. 

Set the Process order for the sections you want to hide = WhilePrint. 

The default setting for the variables is that they are calculated WhileRead. 

This should ensure that the $AgeTot03 value is calculated before it is evaluated in the visibility expression.  I tested this and it seemed to work.

Another thought would be instead of a report, to make this a dynamic screen.  In that case you could base it off of the AR-CustomerDetails generic inquiry, which is part of the AR Clerk dashboard in the SalesDemo dashboard customization package.  With a generic inquiry you can apply a filter to the customer totals as is the case on that dashboard.

Hope this helps!

Laura


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 39 replies
  • February 22, 2022

Thanks Laura.  


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 39 replies
  • February 27, 2022

I am thinking the customer is the criteria I need to add your formula to, but I am where I would add it.

 

=[@Format]<>'S' AND ($PrintConsolidated <> 1 OR ($PrintConsolidated = 1 AND [CustomerMaster.ParentBAccountID] <> NULL)


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