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...
Default date to the...
 
Notifications
Clear all

Questions Default date to the previous month

 
Acumatica Report Designer
Last Post by prathyusha melapindi 8 years ago
5 Posts
2 Users
1 Reactions
5,042 Views
RSS
prathyusha melapindi
Posts: 15
 prathyusha melapindi
Topic starter
January 24, 2018 4:19 pm
(@prathyusha-melapindi)
Member
Joined: 8 years ago

Whenever I run a report, I want it to run to the previous month. Not sure what formula to use in the report designer


4 Replies
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
January 24, 2018 4:23 pm
(@timrodman)
Famed Member
Joined: 10 years ago

What report are you using? Is it an out-of-the-box report?


Reply
prathyusha melapindi
 prathyusha melapindi
(@prathyusha-melapindi)
Joined: 8 years ago

Member
Posts: 15
January 24, 2018 4:40 pm
Reply toTim RodmanTim Rodman

It is the report in AR674000


Reply
Tim Rodman
Posts: 3195
 Tim Rodman
Admin
January 24, 2018 5:11 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Try adding a DateAdd function to the StartDate and EndDate parameters.

 

For StartDate, put this in the Default value field:

=DateAdd(DateAdd(Report.GetDefExt('AccessInfo.BusinessDate'), 'd', -(Day(Report.GetDefExt('AccessInfo.BusinessDate')) - 1)),'m',-1)

 

For EndDate, put this in the Default value field:

=DateAdd(Report.GetDefExt('AccessInfo.BusinessDate'),'m',-1)


Reply
prathyusha melapindi
 prathyusha melapindi
(@prathyusha-melapindi)
Joined: 8 years ago

Member
Posts: 15
February 7, 2018 5:02 pm
Reply toTim RodmanTim Rodman

Thank you! This worked perfectly


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 26 Online
  • 2,411 Members
Our newest member: thollings
Latest Post: Generic inquiry with information from Audit history(CT301000)
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.

‹›×

    ‹›×