AUGForums.com

An Acumatica User Group

  • Forums
  • Podcast
  • Blog
  • Rolodex
  • Login
  • Start Here
  • Courses
  • Register
Acumatica Forums

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

  • Overview
  • Member List
  • All-Stars
  • Stats
  • Recent Posts
  • Help
Forums
AUG Forums
Everything Else
Import Scenario Pos...
 
Notifications
Clear all

Import Scenario Post Period based on Today's date  

    Last Post
RSS

kermit
Posts: 27
 kermit
July 22, 2017 1:54 am
(@kermit)
21-50 Posts
Joined: 4 years ago

Hi Everyone,

During an import scenario, has anyone attempted to calculate the Post Period based on today's system date?

5 Replies
Tim Rodman
Posts: 2468
 Tim Rodman     ★★ All-Star ★★
July 22, 2017 1:54 am
(@timrodman)
Over 200 Posts
Joined: 5 years ago

Hi Kermit,

I haven't, but have you tried the Today() formula?

Reply
kermit
Posts: 27
 kermit
July 22, 2017 1:55 am
(@kermit)
21-50 Posts
Joined: 4 years ago

I started to, but formatting around the Today() function is the issue. 

First, month, then year. But if month is less that 10, need to add the 0 plus right, 2 so it stays a 2 digit month.

Just thought I'd check. Thanks.

Reply
Tim Rodman
Posts: 2468
 Tim Rodman     ★★ All-Star ★★
July 22, 2017 1:56 am
(@timrodman)
Over 200 Posts
Joined: 5 years ago

Ah, I see what you mean. What about this formula?

=Format('{0:MMyyyy}',Today())

Reply
Jswartz
 Jswartz
(@jswartz)
Joined: 9 months ago

6-20 Posts
Posts: 13
January 6, 2021 12:18 pm
Reply toTim RodmanTim Rodman

@timrodman I just tried this on an import I was creating and it said 

"An error has occurred while the Format(Const({0:MMyyyy}), Today()) function was being executed: 'Input string was not in a correct format."

This was on a 2020r2 system. Any ideas?

 

Thanks in advance for your help!

Reply
kermit
Posts: 27
 kermit
July 22, 2017 1:56 am
(@kermit)
21-50 Posts
Joined: 4 years ago

Yes! That's exactly what I needed. Thank you!

Reply
Tim Rodman liked
  All forum topics
  Previous Topic
Next Topic  
  Forum Statistics
11 Forums
1,644 Topics
7,640 Posts
1 Online
1,099 Members

Latest Post: Adding bill description on check stub Our newest member: mlaraiv Recent Posts Unread Posts

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

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

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

‹›×

    ‹›×