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 Generic I...
Format any date to ...
 
Notifications
Clear all

Questions Format any date to 8 characters i.e. 10/5/2020 as 10052020 or 9/1/2020 as 09012020

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by JustPaul 4 years ago
4 Posts
3 Users
1 Reactions
767 Views
RSS
bob.beardsley
Posts: 3
 bob.beardsley
Topic starter
October 5, 2020 10:32 am
(@bob-beardsley)
Active Member
Joined: 5 years ago

I am trying to format a date for positive pay in 0 padded month and date value without slashes and striking out....any help?


3 Replies
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
October 5, 2020 10:20 pm
(@timrodman)
Famed Member
Joined: 10 years ago

@bob-beardsley Not pretty, but what about something like this?

=Right('0'+CStr(Month([SOOrder.OrderDate])),2)+Right('0'+CStr(Day([SOOrder.OrderDate])),2)+CStr(Year([SOOrder.OrderDate]))

Reply
JustPaul
Posts: 33
 JustPaul
June 24, 2021 1:25 pm
(@justpaul)
Trusted Member
Joined: 5 years ago

I have a similar need, also in a GI, except for the AMOUNT field. 

The amount field must show NO commas, but always include 2 decimal places.  When I un-format the field, it displays with 4 decimal places - Probably because of Company Config that shows pricing/amounts as 4 decimals.

But I can't seem to find the right combination to show 2 decimal places, without showing the commas.  Despite this being in a GI, I can't include a schema for the field.  here is the formula.

= IIf( [BT.DrCr] = 'C', -1*[BT.TranAmt], [BT.TranAmt] )

BT = PX.Objects.CA.CATran

the resulting AMOUNT field looks like this...

 

image

 While the commas are gone, the amounts are showing 4 decimal.  Any assistance would be helpful.

Thanks!


Reply
JustPaul
 JustPaul
(@justpaul)
Joined: 5 years ago

Trusted Member
Posts: 33
June 24, 2021 1:39 pm
Reply toJustPaulJustPaul

Post by @thomas-wilk provided the missing formula.

https://www.augforums.com/forums/postid/5566/

Thanks!


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
  • 35 Online
  • 2,338 Members
Our newest member: Shoaib Shafquat
Latest Post: Pick List report suddenly not splitting on Shipment
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.

‹›×

    ‹›×