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 2 years ago
3 Posts
2 Users
0 Reactions
928 Views
RSS
Felipe Garcia
Posts: 4
 Felipe Garcia
Topic starter
May 30, 2024 6:05 am
(@fgarcia)
Active Member
Joined: 2 years 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: 3196
 Tim Rodman
Admin
May 30, 2024 8: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 9:06 am
(@fgarcia)
Active Member
Joined: 2 years 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
  • Pick List report suddenly not splitting on Shipment
    3 months ago
  • QR Code Size
    10 months ago
  • Print multiple report at the same time on a single printer using device hub
    1 year ago
  • Long text truncated/cut off
    1 year ago
  • Latest Vendor for
    1 year ago
Topic Tags:  report designer (47) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,527 Topics
  • 10.9 K Posts
  • 31 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Invoice subreport for line-level tax breakdown not tieing to taxes subtotal
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

 No online members at the moment

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.

‹›×

    ‹›×