AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Acumatica Report De...
Total variables in ...
 
Notifications
Clear all

Questions Total variables in a footer based on report date

 
Acumatica Report Designer
Last Post by Felipe Garcia 12 months ago
3 Posts
2 Users
0 Reactions
597 Views
RSS
Felipe Garcia
Posts: 4
 Felipe Garcia
Topic starter
May 30, 2024 7:05 am
(@fgarcia)
Active Member
Joined: 1 year ago

Hello, I am wondering if anyone can help me, I am creating a customer Projected Payment Report based off Bills Pending Payment, and the report is good except for the totals I am looking for at the end. The $PayAmount variable is making this tricky for me. I simply want to sum everything less than the report date (Yellow) and greater than or equal to the report date of 06/08/2024 (Red).  

image
image

 Thank you 

Topic Tags
report designer
2 Replies
Tim Rodman
Posts: 3192
 Tim Rodman
Admin
May 30, 2024 9:37 am
(@timrodman)
Famed Member
Joined: 10 years ago

You actually don't even need a report variable for this. I'm typing this on my phone and going off of memory here, but I think you'll get the general idea. You could do something like this: 

=IIf(
DateDiff([Table.Date],Today())<0 or
DateDiff([Table.Date],'2024-06-08')<0,
[Table.AmountToSum],
0
)
Reply
Felipe Garcia
Posts: 4
 Felipe Garcia
Topic starter
May 30, 2024 10:06 am
(@fgarcia)
Active Member
Joined: 1 year ago

Tim, thank you for responding. What I am trying to display is the sum of =$PayAmount which is=Payments.CuryConvCury([APPaySelReport.DocCuryID], [CashAccount.CuryID], [APPaySelReport.CuryRateType], [APPaySelReport.CuryDocBal], [@ReportDate])-$DiscTaken as of the day the customer chooses or less. I'm sure I can figure out the greater than part once I figure out the first total. I can get a total to display it's just not the correct total. For some reason anything I try only wants to show one line item only and doing a simple =SUM($PayAmount) starts to make the report go crazy. Not sure what other ideas I can try. So for example I have =Sum(IIf([APPaySelReport.PayDate] >= @ReportDate, $PayAmount, 0)) $PayAmount just won't display how I want it. 

image
image

 

Reply
Forum Jump:
  Previous Topic
Next Topic  
Related Topics
  • QR Code Size
    3 months ago
  • Print multiple report at the same time on a single printer using device hub
    7 months ago
  • Long text truncated/cut off
    9 months ago
  • Latest Vendor for
    11 months ago
  • Adding Variables Throwing Error: Exception has been thrown by the target of an invocation.
    11 months ago
Topic Tags:  report designer (46) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,519 Topics
  • 10.9 K Posts
  • 11 Online
  • 2,309 Members
Our newest member: Jason Rhodes
Latest Post: Hello Everyone ,
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

  • Julie Baker
Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×