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 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 5 years ago
4 Posts
3 Users
1 Reactions
1,080 Views
RSS
bob.beardsley
Posts: 3
 bob.beardsley
Topic starter
October 5, 2020 10:32 am
(@bob-beardsley)
Active Member
Joined: 6 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: 3204
 Tim Rodman
Admin
October 5, 2020 10:20 pm
(@timrodman)
Famed Member
Joined: 11 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: 6 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: 6 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,533 Topics
  • 11 K Posts
  • 43 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.

‹›×

    ‹›×