AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register

— The Forums are now read-only —

— All new activity now takes place here: —

AugForums.com Discord Server
Forums
AUG Forums
Acumatica Report De...
The expression cont...
 
Notifications
Clear all

Questions The expression contains a call of an undefined function DateAdd()

 
Acumatica Report Designer
Last Post by William Filipiak 5 years ago
2 Posts
2 Users
1 Reactions
1,942 Views
RSS
scotts
Posts: 2
 scotts
Topic starter
June 30, 2021 12:03 pm
(@scotts)
Active Member
Joined: 5 years ago

I'm getting this error message in report designer on the following expression.  DateAdd is listed as an available function.

I currently have the expression in a variable, but I was also getting the error when I embed the DateAdd funtion in a larger expression.

(note: field names are part of a third party customization)

=DateAdd([FSSOEmployee.UsrIGAHWeekDay],'h', DateDiff('h', [FSSOEmployee.UsrIGAHWeekDay], [FSSOEmployee.UsrIGAHStartTime]))

Any ideas?  Am I missing something obvious?

Thanks

Scott

 


1 Reply
William Filipiak
Posts: 10
 William Filipiak
July 8, 2021 10:01 am
(@wfilipiak)
Eminent Member
Joined: 6 years ago

Scott, I have had to convert the "dates" in the function by using the CDate ()
Something like =DateAdd(CDate([FSSOEmployee.UsrIGAHWeekDay]),'h', DateDiff('h', CDate([FSSOEmployee.UsrIGAHWeekDay]), CDate([FSSOEmployee.UsrIGAHStartTime])))


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,533 Topics
  • 11 K Posts
  • 42 Online
  • 2,437 Members
Our newest member: Matt Butler
Latest Post: Nested SubReport Issue
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

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

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×