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...
1. Displaying Recor...
 
Notifications
Clear all

Questions 1. Displaying Record Created Date/Time - Summit 2019 Session Examples

 
Acumatica Generic Inquiries & Pivot Tables
Last Post by Tim Rodman 5 years ago
9 Posts
4 Users
1 Reactions
4,158 Views
RSS
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
Topic starter
January 28, 2019 8:55 am
(@timrodman)
Famed Member
Joined: 10 years ago

This post shows you how to create one of the examples from my presentation at Acumatica Summit 2019 in Houston, entitled C103: Getting Actionable Information with Self-Service Reports & Dashboards (click here for all of the examples).

In this Example #1, let's say you want to look at a list of Purchase Receipts to see both the Date and Time that they were created.

When you look at the regular Purchase Receipts (PO3020PL) inquiry screen in Acumatica, you can see the Created On Date, but not the Time.

 

What if you want to add the Time to the Created On field? There is a trick.

 

1. Go to CUSTOMIZATION -> Edit Generic Inquiry in the upper right-hand corner to edit the Generic Inquiry.

 

2. Add PX.Objects.CR.CRCase to the TABLES tab. The reason for this is that the POReceipt.CreatedDateTime Data Access Class in Acumatica is set to only display the Date, but the CRCase.CreatedDateTime Data Access Class is set to display both the Date and the Time.

 

3. Set the Schema Field column for the Created On field to CRCase.CreatedDateTime. The Schema Field column is only used for formatting/display purposes. We still want to show the POReceipt.CreatedDateTime value, but use the Data Access Class display format of CRCase.CreatedDateTime.

 

4. Now when we look at the Purchase Receipts (PO3020PL) inquiry screen in Acumatica we can see both the Date and Time displayed in the Created On field:

Want to join the conversation? Feel free to add a Post below to this Topic to continue the conversation.


Topic Tags
acumatica user group
8 Replies
Alisann Crough
Posts: 28
 Alisann Crough
August 22, 2019 11:39 am
(@alisann-crough)
Eminent Member
Joined: 7 years ago

This was great except for a result that I didn't expect and don't understand. 

I am displaying FSAppointment.ScheduledDateTimeBegin and it uses the default Caption "Scheduled Date"

When I put CRCase.CreatedDateTime, it changes the Caption to "Date Reported"

Why?

I did manually put in a Caption "Scheduled Date" to fix it, I'd just like to understand the logic behind the change.


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
August 22, 2019 3:45 pm
(@roycelithgo)
Honorable Member
Joined: 5 years ago

I wouldn't worry too much about how it defaults Captions. In most of my GIs, I manually assign all Captions and column widths to have a nicely formatted output.


Reply
Alisann Crough
Posts: 28
 Alisann Crough
August 23, 2019 9:22 am
(@alisann-crough)
Eminent Member
Joined: 7 years ago

True!  I'm guessing its the Caption for CRCase.CreatedDateTIme but I don't see why they would want the Caption to match the Schema rather than the Field


Reply
Royce Lithgo
Posts: 557
 Royce Lithgo
August 25, 2019 4:43 pm
(@roycelithgo)
Honorable Member
Joined: 5 years ago

Captions are inconsistently defined, hence my previous comment.


Reply
Tim Rodman reacted
Anna Borisova
Posts: 3
 Anna Borisova
March 10, 2020 3:32 pm
(@anna-borisova)
New Member
Joined: 5 years ago

Hi Tim,

I'm working on a GI that returns the date and time of a SOLine created. We need to look at the time based on the branch/warehouse location; which means that it might be ET or CT. Just realized that SOLine.DateTimeCreated returns the time in my time zone.

However, the Field Audit shows the ET.

What would you recommend to use for the time conversion, let say for the GI results to always return Eastern Time? 

 

Thanks,

Anna


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
Topic starter
March 24, 2020 8:24 pm
(@timrodman)
Famed Member
Joined: 10 years ago

I struggle with the time zones personally. I'm still not 100% clear how they get used throughout Acumatica.

There is the Login Time Zone on the Site Preferences (SM200505) screen. Then there is the Time Zone field on the PERSONAL SETTINGS tab of the Users (SM201010) screen. But it seems like they both get used to display dates/times depending on where you are in the system.

I also wonder if all Create Date and Last Modified Date values get stored in UTC format in the database, but I haven't confirmed.

Sorry, wish I could be more helpful.


Reply
Anna Borisova
 Anna Borisova
(@anna-borisova)
Joined: 5 years ago

New Member
Posts: 3
April 3, 2020 1:50 pm
Reply toTim RodmanTim Rodman

@timrodman Thank you, Tim! 

Here is what Acumatica Support says:

"The issue is related to the inability of Acumatica to display the time stamp in a user time zone in versions earlier that 2019R2 because the system stores audit date/times in the time zone of Sql server. Upgrade to 2019R2 should resolve the issue"

For the GI that we created in 2019 R1 they recommended us to use the SQL Server time for the formulas.


Reply
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
Topic starter
May 20, 2020 9:04 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Ah, interesting. Hopefully upgrading to Acumatica 2019 R2 solves the problem for you.


Reply
Forum Jump:
  Previous Topic
Next Topic  
Related Topics
  • 2. Banded Values (Small, Medium, Large) - Summit 2019 Session Examples
    7 years ago
Topic Tags:  acumatica user group (20) ,
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,526 Topics
  • 10.9 K Posts
  • 16 Online
  • 2,324 Members
Our newest member: Michael Kiley
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.

‹›×

    ‹›×